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
ROC curves after cox models ideal cut offHi! Does anyone know how to create ROC curves after Cox models? Basically, here is what I am workin…
Multiple comparisonsHi everyone, I am working on minor revision of a manuscript and I have been asked to correct for mu…
Iteratively export and reshapeHi all, I have a database made as follows, where there are basically Molecules observed for a set o…
Help on ICC / dice scoreDear Stata community, I have some data for which I want to calculate intraclass correlation coeffic…
Aggregate data based on two variablesHello Stata Community, I am new to Stata and have a question regarding the aggregation of a dataset…
Subscribe to:
Post Comments (Atom)
0 Response to Inconsistency with corr2data command
Post a Comment