My dependent variable is price per kg (price_kg). My observations are orders, each order is defined by the volume ordered (kg) for a specific price per kg. I attach weights to each data point to give prices a weighting that corresponds to the quantity (kg) ordered for that price. I include several explanatory variables driving price changes (x1, x2, x3). Standard errors are heteroscedasticity-robust.
I run the following regression:
Code:
reg price_kg x1 x2 x3 aweight = kg, robust
2) Do you agree that the command is right given the context provided?
Thanks for your response and help in advance!!!
Christian
0 Response to WLS = reg + aweights?
Post a Comment