Description Usage Arguments Value Examples
Find the long run multiplier/propensity
1 |
yvar |
The regressand/dependent variable in the FDL model |
xvar |
The variable within the Finite Distributed Lag (FDL) model that will be the regressor. E.g. lpop |
lags |
The number of lags of the x variable |
other_vars |
variables to be included (not lagged). Input using a vector such as: c("lprice", "linvpc") |
df |
The dataframe which the model is based upon, e.g. my_data or NASA. |
time_var |
The variable in the dataset which marks the year of the observations. E.g. "year". |
It prints the LRM its standard error and returns the LRM
1 2 3 4 5 6 | #Sourcing the data from the user's computer
file <- system.file("extdata", "fertil3.txt", package="Kenometrics")
fertil3_data <- read.delim(file)
#Using the function
LR_prop <- LRM("gfr", "pe", 3, other_vars=c("ww2", "pill"), df=fertil3_data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.