Skip to content
Prev 378538 / 398502 Next

Question about bindata lib in high dimensions

even I tried to use another library mipfp to generate multivariate Bernoulli
*using the following:*
probs[1:10])
*it Shows:*
Problematic pairs:
     row col
[1,]  10   9
[2,]   9  10
Warning messages:
1: In Corr2PairProbs(corr, marg.probs) :
  Correlation exceeds constrains set by marg.probs, i.e. pair.proba[i, j]
<= marg.probs[i]

2: In Ipfp(seed = seed, target.list = target.list, target.data =
target.data,  :
  Missing values allowed in the target margins.
             Computation of the covariance matrices set to FALSE!
3: In Ipfp(seed = seed, target.list = target.list, target.data =
target.data,  :
  IPFP did not converged after 1000 iteration(s)!
            This migh be due to 0 cells in the seed, maximum number
            of iteration too low or tolerance too small

*and even if I fix the problematic pair (9,10) with the following:*
max(0,probs[10]+probs[9]-1))
[1] 0.8551618
*it still give me the same error.*
probs[1:10])
Problematic pairs:
     row col
[1,]  10   9
[2,]   9  10
Warning messages:
1: In Corr2PairProbs(corr, marg.probs) :
  Correlation exceeds constrains set by marg.probs, i.e. pair.proba[i, j]
<= marg.probs[i]

2: In Ipfp(seed = seed, target.list = target.list, target.data =
target.data,  :
  Missing values allowed in the target margins.
             Computation of the covariance matrices set to FALSE!
3: In Ipfp(seed = seed, target.list = target.list, target.data =
target.data,  :
  IPFP did not converged after 1000 iteration(s)!
            This migh be due to 0 cells in the seed, maximum number
            of iteration too low or tolerance too small
Could anyone help me please?

?On Mon, 11 Feb 2019 at 13:10, ?????? ??????? ?????? <
emanismail.92 at gmail.com> wrote:?