Uses the previously calculated intercept and slope, and uses them to calculate the \(\Delta_{47}\) values.
apply_etf(
.data,
...,
intercept = intercept,
slope = slope,
raw = D47_raw,
out = D47_etf,
quiet = NULL
)
A tibble containing column D47.
These dots are for future extensions and must be empty.
The column name with the ETF intercept.
The column name with the ETF slope.
The column with raw values to apply the ETF to.
The new column name.
If TRUE
, print info messages. If NULL
(default) listens to options(clumpedr.quiet)
Note that the intercept and slope were calculated with the dependent and independent variables in the other direction, so we flip them here. i.e.: $$\Delta_{47etf} = - (\alpha / \beta) + (1 / \beta) \times \Delta_{47_raw}$$
Other empirical transfer functions:
append_expected_values()
,
calculate_etf()
,
empirical_transfer_function()