Hi all,
I am having some trouble with replicability using the corr2data command to simulate autocorrelated data.
Basically, I want to perform 100 replications of simulated datasets with autocorrelated variables, each replication using a seed going from 1 to 100. However, I have noticed that corr2datais obtaining exactly the same data from consecutive even-odd seeds (i.e. the data from seed=2 is the same as the data from seed=3, and this happens with seeds 4-5, 6-8, ...etc). I attach a photo with the pvalue of a variable in a regression to illustrate this case, along with the number of repetition and the corresponding seed.
Has anyone noticed this and/or why does this occur? The obvious solution for me is to use other seed structure, but I still don't find this normal and want to figure out if its a programming error.
Thanks,
Christian
Array
Related Posts with Inconsistency with corr2data command
Problem with the option xline with the user-written command coefplotDear all, I am currently working with Stata 16.1 on an event study analysis. I am having troubles w…
estpost correlate command for time series operatorsDear Stata members I would like to do a correlation analysis with some lag values and -estpost corre…
RDD H-ATE with RDROBUSTDear STATALISTs, I am intereset to find a h-ate in a RDD model. In particular, I would like to know…
ODBC, *Stata 16 and Big SurHello, After updating to MacOS BigSur 11.1.3, i am now facing the following problem with Stata 16 a…
Post-estimation of ordered logit regression.Hi All, I am currently working on a project for my degree using Stata 16. In my research I am attem…
Subscribe to:
Post Comments (Atom)
0 Response to Inconsistency with corr2data command
Post a Comment