Skip to content

Stata routine to uprate monetary variables according to inflation indicies

License

Notifications You must be signed in to change notification settings

mjbloemer/uprateit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stata package uprateit

Uprates monetary variables from source years to common base or target years. The program can be extended easily to incorporate different inflation definitions and/or different countries. First, uprating tables have to be created once via uprateit_create_table. These tables can be used furtheron to uprate any data set.

Installation

You can install the latest version of mvcollapse via Stata:

. net from https://mloeffler.github.io/stata/
. net install uprateit

Done.

Use

First you have to create the relevant uprating table

. uprateit_create_table datapath/uprate_de_cpi, country(de) account(cpi)

Then you can use the uprateit command to uprate monetary variables in your data set

. uprateit gdp income using datapath/uprate_de_cpi, from(year) to(2010)

That's it. Variables gdp and income will now be in values as of 2010.

Data sources

Info

Copyright (C) 2014-2020, Max Löffler and Sebastian Siegloch

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

About

Stata routine to uprate monetary variables according to inflation indicies

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Stata 100.0%