Dear All,
I have a question regarding WLS regression using Stata commands regwls and regress and would kindly ask for your help.
For your information, The general idea is I want to use WLS regression with the monthly number of firms for each observation as weights (I created the weight column on excel and imported into Stata since I do not know how to generate it on Stata). Additionally, the "avg" variable is the equal-weighted monthly returns on each portfolio this is my dependent variable.
Firstly, I used the command "regwls avg MktRF SMB HML [aw=1/ Weight]" for the WLS regression with the analytical weight (However this command does not work on my Stata 13 version). Lately, I tried the command "regress avg MktRF SMB HML [aw=1/ Weight]" and it worked.
Could someone please let me know if the two commands are the same and whether my approach is correct?
Many thanks for your help!
Best regards,
Chi
Related Posts with WLS regression using regwls and regress
malmq.ado could not work with the save(filename) option, anyone know what's wrong with the ado file? ado file and datasets attached I use malmq.ado to calculate malmquist index in stata 15, it works OK.But when I want to save resul…
How can I overlay Weibull survival curves and Kaplan-Meier curves?Dear Statalist users, I am trying to plot a Weibull survival curve together with a Kaplan Meier cur…
Pseudo-R^2 and t-statistics after stratification matchingDear all, I am currently trying to apply different propensity score matching estimators to my data.…
Using*two*inputs variable*in*measuring*Malmquist*Productivity*IndexHi I am trying to calculate malmquist productivity index with two inputs (Farming Grain) , but when…
Error 301After I run the following regression: bysort FYEAR SIC: regress TACCATw ATLAGINVw REVATLAGw PPEATLAG…
Subscribe to:
Post Comments (Atom)
0 Response to WLS regression using regwls and regress
Post a Comment