I'm trying to restrict my regression to observations where the variable wageindex does not equal 26.82. for some reason stata is not registering any observations with wage index of 26.82 though I know they are there cause I'm looking at them in the edit browser. they are in numeric form (float) so I don't understand why its not working. when I try to drop observations with wageindex ==26.82 it also doesn't register any observations. heres the code for the regression
xtset District year
xtreg ninthgradrate lngradPPE grad_min twelvefourPPEmin i.year if wageindex != 26.82, fe vce( cluster District)
here is a sample of the variable
xtset District year
xtreg ninthgradrate lngradPPE grad_min twelvefourPPEmin i.year if wageindex != 26.82, fe vce( cluster District)
here is a sample of the variable
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input float wageindex . . . . . . . . . . . . 24.46 24.46 24.46 24.46 24.46 24.46 24.46 24.46 24.46 24.46 . . . . . . . . . . . . 24.46 24.46 24.46 24.46 24.46 24.46 24.46 24.46 24.46 24.46 . . . . . . . . . . . . 24.46 24.46 24.46 24.46 24.46 24.46 24.46 24.46 24.46 24.46 . . . . . . . . . . . . 24.46 24.46 24.46 24.46 24.46 24.46 24.46 24.46 24.46 24.46 . . . . . . . . . . . . end
Comment