I have panel data set. To be able to do random effects regression, I am using the following code:
"xtreg psipct phy_emplmt1 i.phygp i.jntph i.ownership i.system i.teach_status i.bedcode i.rural_urban_codes percapita_inc_2013 Sigma_mkt_shr_sq mcr_pct mcd_pct RN_staffing, i(newproviderid) robust re"
by using the above code, am I automatically accounting for year and state effects? If not, how can I account for year and state effects?
"xtreg psipct phy_emplmt1 i.phygp i.jntph i.ownership i.system i.teach_status i.bedcode i.rural_urban_codes percapita_inc_2013 Sigma_mkt_shr_sq mcr_pct mcd_pct RN_staffing, i(newproviderid) robust re"
by using the above code, am I automatically accounting for year and state effects? If not, how can I account for year and state effects?