Hello,
I am trying to work out store level price elasticity of demand for a product. I will have 104 weekly observations of price and sales per store.
I am doing this to teach a simple class (not in statistics).
In order to work out the PED (PED= % change in quantity demanded over % change in price) I need to refer to last weeks price and last weeks sales, but I don't know how.
At the moment the data is in long format, with the variables storecode sales price week.
I have considered creating 2 new variables: lastweekprice and lastweeksales but I'm not sure how to do that!
Many thanks for suggestions.
Rosie
Related Posts with Price Elasticity of Demand - referring to last weeks sales?
General regression helpHi, I am having some problems with the basics of regressions. I have panel data, similar to what is…
datatypes and Logistic regressionGeneral question Do I have a special data format when performing logistic regression? What I mean i…
Help Fixing Bar Graph of GDP and Dummy VariablesDear all, I am using Stata 16, on mac. I used the following command in Stata: reg lnGDP lnagedpop l…
myqreg vs qregI'm working with a code (from a published paper) and it defines the following program: Code: progr…
Episode splittingHi, I am trying to split my time-varying education variable, didn't figure out something. In my data…
Subscribe to:
Post Comments (Atom)
0 Response to Price Elasticity of Demand - referring to last weeks sales?
Post a Comment