Hello,
I am trying to simulate autocorrelated data with P(x_t = x_t-1) = .5. I was trying to use something similar to the runiform() or rnormal() commands, but they don't allow for autocorrelation. For some reason, sim_arma is also not working for me.
Thanks!
Related Posts with Simulating Autocorrelated data via Monte Carlo
Generate variable of ratios of consecutive observations, by subgroupHello. I am working with a panel dataset as characterized below. Code: * Example generated by -da…
How to place coefficient at a certain value in “coefplot”Dear All, I come across an error when using the 'coefplot' command. I want to plot the coefficient o…
What are the advantage of adding interactive variable over subsampling in drawing conclusions?There are two main advantages of adding interaction variables over subsampling are: (1) having highe…
xtivreg2 warning that covariance matrix is not of full rank. Detecting singletons?Dear all, I am running the following code: . xtset id year . xi: xtivreg2 `t' (`z'=instrument_p) …
How to identify parents not co-residing with their children using household dataDear all, I need to create a variable which identifies, for each individual, the following statuses:…
Subscribe to:
Post Comments (Atom)
0 Response to Simulating Autocorrelated data via Monte Carlo
Post a Comment