I have the dataframe like:
year Pa Qa Pb Qb Pc Qc ...
1
2
3
...
How do I create the Paasche index for each year. Particularly, I would like to know how to generate the weighted sum of Pit * Qit and Pit * Q0t at a particular year.
Related Posts with Paasche index
creating a new var: Type mismatchHi I am going to classify firms into regions. I have a variable that specifies the firm's locations…
Fixed effect with 2 time pointsI would like to examine the effect of the COVID-19 outbreak on social isolation using panel study (d…
Issue with creating STATA bar graphI have problem to create bar graph with my data. 1st image is my desired graph. 2nd table is my data…
How to create a weighted average for multiple observations for a variable by borrower_id and yearBorroer_id Year Loan amount Loan maturity Loan interest 1 2011 101 60 8.5 1 2011 95 55 5.7 2 2011 85…
Calculating differences between adjacent elementsDear all, I wonder if there is any easy solution available in Mata for calculating the difference be…
Subscribe to:
Post Comments (Atom)
0 Response to Paasche index
Post a Comment