I am running a simple weighted regression as follows:
reghdfe y i.treatment [weight=size], noa vce(robust)
My treatment variable has 4 categories, and I would like to test if the pairwise mean differences in y are different for each of the pairs (1 vs. 4, 2 vs. 4, etc.). Normally, I would do something like this:
test 1.treatment = 2.treatment
I am wondering if this command is still valid with weighted least squares. If not, is there another way to do this test?
Related Posts with Test with weighted regression
reghdfe for multi- clusteringHi all, I have a panel data for 477 firms for 2006 to 2016 and need to use two way fixed effects at…
Creating start and stop time-variables for continuous time dependent exposure and running a Cox modelHi All I hope you can help me with this query. I have attached a simplified dataset with all the va…
Two way clustering at Sector and Year level with two fixed effects at Firm and YearHi all, I have a panel dataset for 477 firms in one Country for 2007 to 2017. The following is the …
Export Correlation Matrix to Excel: Putexcel No Longer WorkingHi Statalisters, I know this sounds quite trivial. I am surprised as well. I currently use Stata16 a…
putdocxfreqtable updated: decimals percentages, value labels not truncatedThe package putdocxfreqtable has been updated after user input. 1. The number of decimals in percen…
Subscribe to:
Post Comments (Atom)
0 Response to Test with weighted regression
Post a Comment