[R] Question about bindata lib in high dimensions

إيمان إسماعيل محمد em@n|@m@||@92 @end|ng |rom gm@||@com
Mon Feb 11 10:51:40 CET 2019


I need to simulate data for 2000 binary variables given a vector of
marginal probabilities and a correlation matrix. I used bindata library,
but it give me

 Not all probabilities are between 0 and 1.
Error in Element ( i , j ): Admissible values are in [.....].
Error in commonprob2sigma(commonprob, simulvals) :
  Matrix commonprob not admissible.

 and I tried to get the elements within range but still have the same problem

How can I fix the correlation matrix or how to track error ??

Thanks
Eman

	[[alternative HTML version deleted]]



More information about the R-help mailing list