I am working for my thesis with panel data where N> T (N~700, T=4 as the attached file ). I carried out random - effect, OLS, fixed- effect and then did hausman test to know which model is better for my data. As the result i chose fixed defect ( P value <0.005)
After this, I applied some tests to verify problems of heteroskedasticity, autocorrelation such as:
collin
xttest3 (heteroskedasticity)
xtserial (autocorrelation)
The result is that my models present problems of heteroskedasticity, autocorrelation but I don't know exactly the way to fix these problems in stata 14
I intended to use the option xtreg .... fe, cluster (country)
+ is this ok to fix my data?
Actually, I have seen some of article in which the instruction is that first run fe cluster and re cluster then run xtoverid to choose the better . But when I ran xtoverid command, the screen became like this " xtoverid Error - must have ivreg2/ivreg29/ivreg28 version 2.1.15 or greater installedr(601)" so I think that xtoverid did not work in stata 14
I will be very grateful for your opinion regarding what I am doing, it will be a great help.
Related Posts with how to fix heteroskedasticity, autocorrelation in stata 14.2
Calculating Mean by every 100 observations?Hi , I have a huge dataset with 12000 observations with sample ID running in sequence (1-12000). I …
Stata takes the first group in categorical variables as the reference group?Hi, I happened to use a categorical variable without recoding it in a logit regression and found Sta…
Converting quarterly string to Stata date formatDear all, I have a string variable "quarter" in the following format. How do I convert into the Stat…
file miest.ster already exists I have been trying to run some imputation modelling and am running into this error code when I try …
Matching methodHi all, I have a cross-sectional dataset which contains info on 417 different funds. These funds be…
Subscribe to:
Post Comments (Atom)
0 Response to how to fix heteroskedasticity, autocorrelation in stata 14.2
Post a Comment