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
Question about chi-square testHello, I posted a question earlier today, but didn't get any reply. So I'm trying to rephrase my que…
Lo-Mackinlay variance ratio testHi everyone, I am using the Lomackinlay command to test for predictability in stock index returns (…
Query about ebalance commandHi team, I am trying to develop cross-sectional weight for all baseline participants (for wave1) in…
Travel cost method combining RP and SPHi I have a dataset with info on #trips for each individual (a total of 200) to a particular recreat…
using not allowed stata imputation hotdeckvarHi, I have a problem with my imputing syntaxs. hotdeckvar pasajeros1 using p, store by(marca clase2…
Subscribe to:
Post Comments (Atom)
0 Response to Inconsistency with corr2data command
Post a Comment