Dear Statalist,
Following is the code for firm and year fixed effect using xtreg
[CODE] xtset companyid year_
xtreg Y X1 X2 X3 i. year, fe [CODE]
May I know how can I change this model to etimate it using wls (weighted Least Squares) ?
I know I can use ..., be wls instead of fe. But, I what to know how can I keep ....,fe and still use wls in the same xtreg
Related Posts with xtreg fixed effect and estimate using wls
Problems with Merge 1:1 using unique id numberGood morning all, I am a PhD student and relative newcomer to Stata and was hoping you might be able…
PstestHi, I'm using Stata 16 for my analysis. I've run the pstest command to obtain results for the balan…
Interpreting the economic significance of regression coefficientsDear Stata members, For replicating a paper, I have chosen 2 variables, cash divided by total assets…
Fixed effects for IV using cross section dataDear Statlist users, I am studying the impact of parental investments in early childhood, as record…
Generating elasticities for individual cases using the 'aidsills' commandDear Statalisters, I'm using the 'aidsills' command for estimating demand systems developed by Lecoq…
Subscribe to:
Post Comments (Atom)
0 Response to xtreg fixed effect and estimate using wls
Post a Comment