Hello everyone
I have a sample of 100 rnormal() in stata, am going to calculate this formula in stata
[IMG]file:///C:\Users\ben\AppData\Local\Temp\msohtmlclip1\01\cl ip_image001.png[/IMG]
Where r2k is squared autocorrelation up to k lag, h the maximum lag, n sample size, In my case, n=100, h=10 (I want to calculate 10 autocorrelation)
The purpose of this formula is to do monte carlo simulation with 1000 replication and derive the critical values (1%, 5%, 10%) for the Q*statistics for every 100 sample drawn
Related Posts with calculating a formula in stata
How Poisson pseudo-maximum Likelihood deals with overdispersion.Dear forum, My question is more theoretical, but I hope I can find an answer here. I am running a …
Excluding certain items/variables from queryHello, I have a big dataset and I am trying to analyse children with all congenital heart diseases(C…
2x3 categorical interactionHi Listers, I want to make sure I am correctly interpreting my 2*3 interaction following a logistic…
Readying My Data for Panelwise AnalysisHello Statalist, I have been working on a dataset in Stata for the past month or so, but have recen…
Converting monthly data into quarterly for a panel with multiple variablesHi all, I am working with a panel dataset which contains the following variables: wage bin (define…
Subscribe to:
Post Comments (Atom)
0 Response to calculating a formula in stata
Post a Comment