Hello!
I'm attempting to make some prediction on the relationship between life expectancy and (mainly) access to improved water sources and sanitation facilities.
I am using panel data and the dataset consists of 69 cross sectional observations (countries) and 8 time series observations (years; 2007-2014) on lifeexpectancy, wateraccess, sanitationaccess, totalhealth and ruralpop, for a total of 552 pooled observations. The countries are middle-low and low income countries.
I've noticed that the variation in the residuals seem to decrease as the independent variables increase, for example:
And so I thought perhaps transforming variables would be the right way to go, but for example:
And it's the same for -ladder sanitationaccess- etc.
So basically what I'm wondering is if there is anything I can do, or should I just disregard the results of the -xtreg- as they're seemingly untrustworthy?
I'm clustering the standard errors on the country level, if that matters.
If you made it this far, thanks for the attention, any and all help is greatly appreciated. If there is anything I can provide which may make things more clear let me know.
I'm attempting to make some prediction on the relationship between life expectancy and (mainly) access to improved water sources and sanitation facilities.
I am using panel data and the dataset consists of 69 cross sectional observations (countries) and 8 time series observations (years; 2007-2014) on lifeexpectancy, wateraccess, sanitationaccess, totalhealth and ruralpop, for a total of 552 pooled observations. The countries are middle-low and low income countries.
- Descriptive statistics:
- Predicting the overall residual after -xtreg- (-predict res, e)
- -kdensity res-
- -sktest res-
- -qnorm res-
I've noticed that the variation in the residuals seem to decrease as the independent variables increase, for example:
- -reg $ylist $xlist-
- -rvfplot, mlabel($id)-
And so I thought perhaps transforming variables would be the right way to go, but for example:
- -ladder wateraccess-
And it's the same for -ladder sanitationaccess- etc.
So basically what I'm wondering is if there is anything I can do, or should I just disregard the results of the -xtreg- as they're seemingly untrustworthy?
I'm clustering the standard errors on the country level, if that matters.
If you made it this far, thanks for the attention, any and all help is greatly appreciated. If there is anything I can provide which may make things more clear let me know.
Comment