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
Comparison of predicted values after OLS regressionDear all, I am interested in predicted values after an OLS regression. Moreover, I am curious how t…
Superscript and subscriptDear Stata users, I have a variable with both superscript and subscript. When I wrote both superscr…
Piecewise multilevel modellingHi All, I am trying to do piecewise multilevel modelling for a continuous outcome (say pain score) a…
'No observations' errorDear all, I'm trying to conduct a unit root test to my variables using the following code: Code: …
Reshaping Datastream DataHello community. first of all I would like to thank you for the inclusion in this really instructive…
Subscribe to:
Post Comments (Atom)
0 Response to Inconsistency with corr2data command
Post a Comment