Description Usage Arguments Examples
Takes csv with columns date, gdp.log, inflation, inflation.expectations, interest.rate as input. The sample must be at least 98 quarters. Saves two output files to specified folder and you should specify country name
1 2 |
input_file |
the csv to perform the HLW estimation on. Please see elp file for required column names |
country_name |
a string for the country you are performing the estimates on - this is used in the output file name |
output_folder |
String |
niter |
Integer. Sets the number of iterations for Monte Carlo Simulation. default is set to 5000 |
run.se |
logical. default is TRUE, set to FALSE if you do not want to compute standard errors for the estimation |
1 2 3 4 5 6 7 8 9 10 11 | input_file <- "data/input/rstar.data.us.test.csv" # location of input file
country_name <- "US.test" #country name for output file
output_folder <- "data/output/" # output folder for estimation
run.se <- FALSE # turn on standard errors
niter <-5000 #iterations for monte carlo simulation
hlw_nri(input_file = input_file,
country_name = country_name,
output_folder = output_folder,
run.se = run.se,
niter = niter)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.