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
Dummy variable for neonatal Mortality, Infant mortality and Child mortalityHi, I am working on the Demographic health survey (DHS) data. I have to compute the neonatal Mortali…
Destring with many decimal issueHi I am fairly new to Stata, and have searched a lot on my issue but have not yet found a solution.…
Loop over multiple arrays via foreachHello together! trying now since a few hours to fix my problem - I am not able to come up with an a…
-margins- after -xtlogit,fe-Dear Statalist This is a question about interpreting the results from a panel data fixed-effects lo…
SEM model group analysis not concaveHello there ! I am trying to use Stata and check my SEM model for measurement in-variance among two…
Subscribe to:
Post Comments (Atom)
0 Response to calculating a formula in stata
Post a Comment