adjusting costs, from different yrs, for inflation
Posted: Tue Feb 21, 2023 2:41 am
Hi all,
New to Jamovi and wondering if anyone might be able shed light on the following data clean-up challenge I'm facing. In brief I'm working with cost data related to medical care from different points in time. The points in time are broken down by year and quarter (2018 Q1, 2019 Q3, etc.) and I am currently trying to adjust all the cost to Q1 2021 dollars. Is there any way using transformed or computed variables I can establish logic that essentially creates my new corrected cost variable based on the year.
For example: if encounter period == 2018 Q1 then corrected cost == original cost multiplied by X, if encounter period == 2019 Q1 then corrected cost == original cost multiplied by Z, and so forth and so on.
Thanks for any help. Hoping to avoid going back to doing this all in excel.
New to Jamovi and wondering if anyone might be able shed light on the following data clean-up challenge I'm facing. In brief I'm working with cost data related to medical care from different points in time. The points in time are broken down by year and quarter (2018 Q1, 2019 Q3, etc.) and I am currently trying to adjust all the cost to Q1 2021 dollars. Is there any way using transformed or computed variables I can establish logic that essentially creates my new corrected cost variable based on the year.
For example: if encounter period == 2018 Q1 then corrected cost == original cost multiplied by X, if encounter period == 2019 Q1 then corrected cost == original cost multiplied by Z, and so forth and so on.
Thanks for any help. Hoping to avoid going back to doing this all in excel.