model.response.feis {feisr} | R 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 |
... |
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)
[Package feisr version 1.3.0 Index]