I want to test for asymmetric pricing in my regression, but don't know the stata command.
I want to regress ''Inflation'' on ''gas prices'' but measure an increase in gas prices seperately from a decrease in gas prices. (That means I want 2 coefficients for the same independent variable).
My regression would look like this;
Inflation = B1*(Gas price increase) + B2*(Gas price decrease)
My data on gas prices;
(1) 139.54
(2) 145.74
(3) 161.18
(4) 189.65
(5) 206.87
(6) 237.68
(7) 227.11
(8) 339.82
(9) 314.68
(10) 273.63
(11) 241.73
For example from (1) to (2) is an increase in the gas price, and from (8) to (9) is a decrease.
How do I run a regression in stata where every increase in gas prices is measured seperately from every decrease in gas prices?
I want to regress ''Inflation'' on ''gas prices'' but measure an increase in gas prices seperately from a decrease in gas prices. (That means I want 2 coefficients for the same independent variable).
My regression would look like this;
Inflation = B1*(Gas price increase) + B2*(Gas price decrease)
My data on gas prices;
(1) 139.54
(2) 145.74
(3) 161.18
(4) 189.65
(5) 206.87
(6) 237.68
(7) 227.11
(8) 339.82
(9) 314.68
(10) 273.63
(11) 241.73
For example from (1) to (2) is an increase in the gas price, and from (8) to (9) is a decrease.
How do I run a regression in stata where every increase in gas prices is measured seperately from every decrease in gas prices?
Comment