Dear R Users,

I am interested in generating contingency tables from bivariate normal
distribution using different correlation coefficient values.

I am experimenting numerous ways of generating contingency tables, and one
possible way is to generate from multinomial distribution.

I wonder how to generate the count variables from a continuous distribution
using correlation structure. Generating bivariate normal variables can be
easily done using mvrnorm() in R. I am struggling to write R code for
generating count from continuous variables.

Any suggestions is very much appreciated.

Thanks.
Sripriya.

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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