model.response.feis: A function to extract the model.response

View source: R/utility_functions.R

model.response.feisR Documentation

A function to extract the model.response

Description

Returns the de-trended response variable of a feis object.

Usage

model.response.feis(x, ...)

Arguments

x

an object of class feis.

...

further arguments.

Details

The function provides a convenient way to return the model.response of a feis object. This is the transformed (de-trended) variable which is used for estimation of the final model.

Value

A "numeric" of the transformed response variable of the estimation model.

Examples

data("mwp", package = "feisr")
feis.mod <- feis(lnw ~ marry + enrol | year,
                 data = mwp, id = "id")
y_tilde <- model.response.feis(feis.mod)


feisr documentation built on April 1, 2022, 5:06 p.m.