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
)

Arguments

.data

A tibble containing column D47.

...

These dots are for future extensions and must be empty.

intercept

The column name with the ETF intercept.

slope

The column name with the ETF slope.

raw

The column with raw values to apply the ETF to.

out

The new column name.

quiet

If TRUE, print info messages. If NULL (default) listens to options(clumpedr.quiet)

Details

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}$$

See also

Other empirical transfer functions: append_expected_values(), calculate_etf(), empirical_transfer_function()