Hi,
I would like to simulate correlated binary variables.
Theoretically, I should have been able to do the simulation from the following paper
https://journals.sagepub.com/doi/pdf...867X1501500118
and use the command proposed in the aforementioned paper
rbinary
Unfortunately, this command does not work. I get an error message
file "rbinary_simudata.dta" not found
r(601);
Do you have any suggestions? How can I overcome the problem of this command? Or, do you have any recommendation of an alternative way to simulate correlated binary variables?
Many Thanks,
Michalis
Related Posts with Simulate correlated binary variables
Why is Stata calculating percentiles in the way it does, and who has said that this is the way to calculate percentiles?The definition of a percentile I have been taught, is (1) Q(p) = F^(-1)(p) = inf{x: F(x)>=p}, 0&…
Program Graph: Allowing for Varying Number of VariablesDear Statalisters, I would like to write a program that automatically plots the means of variables …
Multiple imputation using endogenous covariatesHallo, my topic is rather of econometric nature than a pure Stata question: When applying regressio…
Fixed Effects Regression with Panel Data N>TI am doing a fixed effects regression with 5465 N and 5 T on Stata. I have used the fixed effects re…
Joint modelling of binary longitudinal outcomes in using random effects approachHi everyone, I would like to jointly model two binary repeated outcomes in STATA using the random ef…
Subscribe to:
Post Comments (Atom)
0 Response to Simulate correlated binary variables
Post a Comment