I'm working on a project investigating the impact of childhood malnutrition on scholastic performance using a panel dataset of 5 survey rounds, 2000 households distributed in 5 regions. I am trying to conduct a Chow test after my analysis to work out whether all coefficient slopes should be estimated separately for the 5 regions separately. One way to do this would be to add interaction terms for each variable and test a joint significance test that all the interaction terms are equal to 0. However, as I have quite a few variables (30-40), this is quite unwieldy with 5 regions and would require 4 separate interaction terms per variable in my regression. Another way to do this for cross-sectional analysis is to estimate the equations separately, and then obtain the respective RSS (residual sum of squares) for each equation, which, when summed, would give the total RSS of the unrestricted model RSS. I could then compare this to the restricted model where all regions are pooled via an F test.
I am using a panel random effects model with instrumental variables and clustered robust standard errors. (XTIVREG, re, vce(cluster panelid)) I am using the 'small' command as this allows me to obtain T and F statistics instead of Z and chi-squared values. However, on trying out the 'etreturn list' command, I have not been able to identify the RSS with panel random effects and instrumental variables (XTIVREG) and can only obtain the R^2 value. Is there a way to obtain the RSS for panel random effects?
Related Posts with How to compute RSS and TSS from xtivreg
How to find the matched observation with nearest Mahalanobis distance?Hi everyone, I am wondering how to find the matched observation with nearest Mahalanobis distance. …
Graph: couldn't get the looking of apostrophe rightHi list, I need to include an apostrophe in my figure. Someone asked me to change the looking of th…
Graph: display negative sign using en-dash instead of hyphenHi list, Code: webuse auto,clear replace rep78=-1*rep78 if foreign==1 scatter rep78 trunk,ysc(r(-5…
Aggregating Weekly Data to MonthlySuppose I have a time series that has weekly realizations, but I want to average each week of a give…
Cox-Model with very few observationsHello everybody, I am researching peace agreements and their durability if they include gender prov…
Subscribe to:
Post Comments (Atom)
0 Response to How to compute RSS and TSS from xtivreg
Post a Comment