I am using Stata/SE 12.1 for Mac. I have a sample of mother-birth pairs, including data from each month in the year before and after the birth (N ~= 150,000 mother-birth-month observations). The dependent variable is a month-level variable giving the percent change in family income from the pre-pregnancy period.
I want to regress the dependent variable on 24 dummy variables indicating the distance (in months) from the birth month. Because the dependent variable has many extreme values, I want to use quantile regression to estimate the median percent change in family income associated with each month. Here’s my code:
qreg pcg_faminc $monthdummies, wlsiter(100)
When I run this code, I get the error message:
convergence not achieved.
VCE cannot be computed possibly due to a small sample size; try bsqreg
r(498);
Increasing the wlsiter option to 500 gives the same error. bsqreg gives the error "convergence not achieved"
Any suggestions would be very helpful. Thank you!
I want to regress the dependent variable on 24 dummy variables indicating the distance (in months) from the birth month. Because the dependent variable has many extreme values, I want to use quantile regression to estimate the median percent change in family income associated with each month. Here’s my code:
qreg pcg_faminc $monthdummies, wlsiter(100)
When I run this code, I get the error message:
convergence not achieved.
VCE cannot be computed possibly due to a small sample size; try bsqreg
r(498);
Increasing the wlsiter option to 500 gives the same error. bsqreg gives the error "convergence not achieved"
Any suggestions would be very helpful. Thank you!
Comment