Hello forum members<
I have panel data for many years, and I need to adjust the Dollar value (inflation) to make it constant to a particular year. I am multiplying the variable by the deflation index. However, in 2009, the deflation index is (-0.4). When I multiply it by the variable, it gives me a negative number.
syntax: replace variable = variablexxx *-0.4 if year == 2009
I am not sure if I am doing it in the right way.
Thank you in advance
A
Related Posts with Inflation inex
Exporting two way table to latexHi, I have two string variables Var1 and Var2 each with 7 categories. I want to create a two way ta…
CMP mata error 3900Hi all, I was trying to use State to run a CMP model with random coefficient. And I got the error b…
Importing data - 1st row (names) not correctlyHello, I want to import an excel spredsheet and use the first row as the name of the variable. For t…
Function HandlesIs there something similar to MATLAB's function handles in MATA? It seems like it would be similar t…
Generate a date variable from another date variable with an if conditionHere I am trying to create a start date (AESTDAT) and end date (AEENDAT) variables from the list bel…
Subscribe to:
Post Comments (Atom)
0 Response to Inflation inex
Post a Comment