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
Sample size for equivalence trial for cluster randomized trialI want to calculate the required sample size for an equivalence trial, which is a sub-trial within t…
teffects ipwra and diff-in-diff with inverse probability weightingI am evaluating the impact of a project with NON-RANDOMIZED multiple interventions (3 treatment grou…
how to set exponential function restriction on coefficents?Dear all, I am trying to estimate the following equation: ln m_nc=α_n + ∑α_nk *C_c^k + β_nc^core …
Help with randomly scrambling the districtsDear all, I hope you are doing well. I wanted to run a placebo test where I rerun my main estimatio…
Harmonizing region codes across survey wavesI have four survey waves of data for individuals with a variable on the region they live in "region_…
Subscribe to:
Post Comments (Atom)
0 Response to Simulate correlated binary variables
Post a Comment