Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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.

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

Estimating Fixed Effects Individual Slope Models

v1.2.0
GPL (>= 2)
Authors
Tobias Ruettenauer [aut, cre] (<https://orcid.org/0000-0001-5747-9735>), Volker Ludwig [aut] (<https://orcid.org/0000-0003-3118-3172>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.