Dear R experts,

I am trying to simulate correlated binary data and have stumbled upon the
following problem:

With the help of "binarySimCLF" or "mvpBinaryEp" I have been able to
simulate correlating binary vectors given certain mean values and a desired
correlation. My problem is that these procedures do not allow you to specify
the exact vector for which you want to generate a correlated vector. Is
there anyway to do this?

Maybe I can clarify my question by explaining what my goal is:
I want to generate one Binary Vector (A), generate a correlated binary
Vector (B), then generate a third binary Vector (C) that is correlated to B
so that I can then see the occuring correlations between A and C.

Thank you in advance,
Marbles



--
View this message in context: 
http://r.789695.n4.nabble.com/Simulate-binary-correlated-data-tp4660366.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to