I am getting an error message when running the asdoc command. The first code works fine, but the second code returns:
Code:
func_nested_reg(): 3200 conformability error <istmt>: - function returned error r(3200);
Code:
asdoc reg lrhourlywage c.ltotalexports_china#i.schoolinglevel1 ltotaltrade_china ltotaltrade_eu15 ltotaltrade_usa ltotaltrade_mca ltotaltrade_row i.schoolinglevel1 female age agesq married rural i.region i.occupationgroup i.isic1 i.establishmentsize i.year [fweight = factor], vce(cluster region) nest replace add(Year dummies, YES, Industry Dummies, Yes, Region Dummies, Yes, Occupation Dummies, Yes, Establishment Dummies, Yes) drop(i.region i.occupationgroup i.year i.isic1 i.establishmentsize)
Code:
asdoc reg lrhourlywage c.ltotalexports_china#i.schoolinglevel1 ltotaltrade_china ltotaltrade_eu15 ltotaltrade_usa ltotaltrade_mca ltotaltrade_row i.schoolinglevel1 female age agesq married rural i.region i.occupationgroup i.isic1 i.establishmentsize [fweight = factor], vce(cluster region) nest add(Year Dummies, YES, Industry Dummies,Yes, Region Dummies, Yes, Occupation Dummies, Yes, Establishment Dummies, Yes) drop(i.region i.occupationgroup i.isic1 i.establishmentsize )
However, to understand what was going on, I ran the first regression twice changing 'nest replace' to 'nest append' for the second regression and the same error is presented even though nothing changed.
I hope you can help!
Thank you in advance
Ray
0 Response to Asdoc "conformability error"
Post a Comment