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
A Problem with Creating Standardized Variables for Each VariableDear all, I am trying to create new variables based on some specific variables ending with "dac2a".…
direct and indirect effects GSEMGood morning to everybody, I am running a GSEM (that for empirical needs cannot be a SEM). I am a li…
Error r(134) in roccompHi everyone. I am trying to compare the AUCs of two tests, y1 and y2. The outcome variable (true dia…
Creating a graph by groupHi, I can't figure out how to make a really simple graph, and I hope someone is able to help me out…
combine observations under conditionsHi there, I am seeking help to combine rows into one under a certain ID. The conditions are as below…
Subscribe to:
Post Comments (Atom)
0 Response to calculating a formula in stata
Post a Comment