Hi!
I'm trying to perform a regression analysis in Stata where I need to apply different expansion factors to my dependent and independent variables. Specifically, I want to use the "weight" command but assign distinct expansion factors: one for the dependent variable and another for the independent variables.
I understand that using "weights" applies the same expansion factor to all variables in the regression. How can I assign separate expansion factors—one for the dependent variable and a different one for the independent variables? In particular, I want to use the "fweight" command.
Any guidance or syntax examples on how to achieve this in Stata would be greatly appreciated.
Thank you!
Agustin.
I'm trying to perform a regression analysis in Stata where I need to apply different expansion factors to my dependent and independent variables. Specifically, I want to use the "weight" command but assign distinct expansion factors: one for the dependent variable and another for the independent variables.
I understand that using "weights" applies the same expansion factor to all variables in the regression. How can I assign separate expansion factors—one for the dependent variable and a different one for the independent variables? In particular, I want to use the "fweight" command.
Any guidance or syntax examples on how to achieve this in Stata would be greatly appreciated.
Thank you!
Agustin.
Comment