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
Filling in unobserved dates with past valuesI have data that looks something like this: Array It is market cap data for different companies, s…
csvconvert (SSC)Hello - I am using csvconvert to import and append multiple CSV files and it worked fine with those …
Panel VAR and Granger CausalityHello, I am using Stata 17.0 and I am trying to run a panel vector autoregression followed by a Gra…
How to make A new Id'sHello everyone, I need help with making a new Id that will solve my table so basically, I have data…
Tobit or OLS?when a variable is an index, it's from zero to one, and around one-third of observations is zero, sh…
Subscribe to:
Post Comments (Atom)
0 Response to xtreg fixed effect and estimate using wls
Post a Comment