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
Combining locals that contain whitespaceI have a series of locals of the form: Code: local list1 "June 2004" local list2 "July 2004" …
Odds Ratios instead of Coefficients using teffects?I'm running a series of models using teffects psmatch, teffects ra, and teffects ipw and comparing a…
T-Test between two varibles with dummy conditionHey, I woul like to know how I could do the t-test between 2 variables if I calculated the mean with…
Combining plots in StataDear all, I wonder if anyone knows how to combine plots in Stata, considering a case when both figur…
Importing CSV file with surrounding single quotesI'm attempting to import data in a CSV file, where almost all variable values are surrounded by sing…
Subscribe to:
Post Comments (Atom)
0 Response to xtreg fixed effect and estimate using wls
Post a Comment