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
I wonder why the OLS results and sys gmm results can be so different. Code: xtabond2 changeofEDTA_win l.EDTA_equity_asset_ratio_win weightdamageratio30d lnTA_win NLDTA_…
Trying to combine two files that are linked by a common ID#Hi all, I'm new to Stata and would appreciate any direction here! I'm currently working with two fi…
test how to post# HTML Code: reg …
How to do a Monte Carlo simulation using Stata command?Hello Everyone, I would like to do a Monte Carlo simulation of the following process y_t using Stat…
Recognize datasetHello all together, I am new here and I am happy to join the Stata cummunity. Currently I'm writing…
Subscribe to:
Post Comments (Atom)
0 Response to calculating a formula in stata
Post a Comment