Learn R Programming

feisr (version 1.3.0)

model.response.feis: 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.

Value

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

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.

Examples

Run this code
# NOT RUN {
data("mwp", package = "feisr")
feis.mod <- feis(lnw ~ marry + enrol | year,
                 data = mwp, id = "id")
y_tilde <- model.response.feis(feis.mod)

# }

Run the code above in your browser using DataLab