Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 73268

How to include state and year effects for random effects?

$
0
0
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?

Viewing all articles
Browse latest Browse all 73268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>