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
error opening .dta file created in sashello, I converted a sas data file into a stata .dta file ( or atleast i thought i did) and it will …
Problem with Difference in difference specificationHi all, I am sorry if this topic has been covered before. However, I did my research but failed. I…
Cluster analysis with longitudinal dataAre there commands in Stata that are similar to the kml3d package in R (see e.g. Genolini et al 2015…
Regress y on each variable each timeHi, I want to run regressions in the following way: reg y x1 i.year i.ind reg y x2 i.year i.ind re…
Generate a week from a data and "xtset" the dataDear Stata Users, I have the sample of data attached below. I need to create a “week” date that goes…
Subscribe to:
Post Comments (Atom)
0 Response to Simulate correlated binary variables
Post a Comment