Maria:
- in large N, small T panel dataset heteroskedasticity might be an issue, whereas autocorrelation seldom bites;
- you can visually inspect the distribution of the idiosyncratic error term and see whether an heteroskedastic pattern comes alive;
- there's nothing wrong in making categorical variables by hand: it's simply inefficient;
- as per your code, you can use -label- (after a minor tweaking)then:
- in large N, small T panel dataset heteroskedasticity might be an issue, whereas autocorrelation seldom bites;
- you can visually inspect the distribution of the idiosyncratic error term and see whether an heteroskedastic pattern comes alive;
- there's nothing wrong in making categorical variables by hand: it's simply inefficient;
- as per your code, you can use -label- (after a minor tweaking)then:
Code:
replace agecat=999 if age==. label define agecat 21 "<=21" 38 "21-38" 64 "39-64" 75 ">64" 999 "Missing" label val agecat agecat
Comment