You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thanks for this super useful package. I noticed running ots_inflation_adjustment() shrank the original dataset and then realized this was due to the reference year being dropped. If this is desired behaviour, it would be good to add it to the function documentation. I would argue though that if the data for the reference year are found in the original data.frame, it should simply be left there unchanged.
The text was updated successfully, but these errors were encountered:
hi Michael
so sorry for the delay (writing thesis here, but still inexcusable)
please @ me when you have questions
and yes, for my uses I drop the reference year since the factor for it is 1
I'll change that for the next version
@michalovadek Hi!! I have updated the function, but more important than it: I've tested the update and it works properly
I've also changes the input data for the discount rate, and now I'm using the weighted median, as I noticed that some years with hiper-inflation in some countries really distorted the mean
Hi, thanks for this super useful package. I noticed running ots_inflation_adjustment() shrank the original dataset and then realized this was due to the reference year being dropped. If this is desired behaviour, it would be good to add it to the function documentation. I would argue though that if the data for the reference year are found in the original data.frame, it should simply be left there unchanged.
The text was updated successfully, but these errors were encountered: