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
userwritten command for Stata (based on powershell) does not work , but the equivalent in Powershell does workDear all, I am trying to personalize a user written ado, winmail by Iain Soddy, ado and help file a…
Mark observations selected in sampleHi, I want to randomly select 40 observations from a dataset for INSURED (1=yes, 0=no) by each CITY…
Heckman not concave, but probit converge in the same log likelihoodHi I have a strange problem. When I try to run a model using heckman my model is not concave, howeve…
Formatting a StringHi. This will likely be a banal and rudimentary question. Apologies in advance, but I am stuck never…
Creating a Dummy Variable in Stata for Panel DataHello all, I want to create a dummy variable that removes the effects of the financial crisis. I ha…
Subscribe to:
Post Comments (Atom)
0 Response to xtreg fixed effect and estimate using wls
Post a Comment