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
Drop Duplicates comparing two variables and keep one of themHi everyone, I am trying to drop duplicates in my dataset and keep one of them. I know the command…
Merge on organization number & month, collapse data to organization and month levelHi everyone, I have a datalist where I want to count the number of men working in an organization i…
I need help with marginsplotHi. I want to use marginsplot after FRM regression. I don't want to see all variables, but only one …
Graph Bar: Wrong bar-labels when sorting stacked barsHello! Hope you can help me. When creating stacked bars - and sort it - the labels somehow get messe…
Combine Time-series and Cross-sectional data for Diff-in-DiffHello everyone, I'm trying to answer the question if election poll standings influenced the stock p…
Subscribe to:
Post Comments (Atom)
0 Response to calculating a formula in stata
Post a Comment