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
Multilevel Modelling - Variance PartitioningDear Stata-listers, I hope you are all doing well. Before I ask my question, let me provide a brie…
Tobit or Fractional Regression?I have an index variable that I created meant to measure the sophistication of different military ai…
-teffects- detecting "non-integers", from a variable that has only positive valuesHello, I am using teffects to analyze the effect of individual patient variables on hospital length …
Calculating IRR - keep last observation of certain category by FundIDHi, I have private equity cashflow data from which I want to calculate the IRR for every fund. The…
Generate dummies with start and end dates, and convert data to long formatHi all, I have a panel dataset, monthly between 1998m12-2018m12 for 28 countries. Here is an exampl…
Subscribe to:
Post Comments (Atom)
0 Response to calculating a formula in stata
Post a Comment