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?
example for merge m:mDear All, It is advised in the forum that, when possible possible, do not use Code: merge m:m ... …
invalid error using nwcommandsHi everyone! I want to use the nwcommands to do some social network analysis and encountered a prob…
Creating variable to capture before/after effect using panel dataHi everyone, I have a panel dataset where I follow individuals for 12 waves (new_waves). What I am …
Combining treatment units for synthetic control methodHello, I am thinking about using the synthetic control method to evaluate an intervention that took …
Spatial matrix user definesDear All, I would like to generate a spatial matrix defined by myself. I have the following data: …
Subscribe to:
Post Comments (Atom)
0 Response to Price Elasticity of Demand - referring to last weeks sales?
Post a Comment