Learn R Programming

plmm (version 0.1-1)

coef: Extract Fixed Regression Coefficients

Description

Extract the fixed regression coefficient estimates of a model fitted using a model fitting function plmm or wplmm. coefficients is an alias.

Usage

"coef"(object,...) "coef"(object,...) "coefficients"(object,...) "coefficients"(object,...)

Arguments

object
a model fitted with plmm or wplmm.
...
other arguments.

Value

Fixed regression coefficients estimates.

Details

When the object is of the ‘plmm’ class, the estimates from the final iteration are returned unless the model was fitted without iteration. The returned value coef.iter of a ‘plmm’ class object contains all the estimates computed in the iterations.

See Also

plmm, wplmm

Examples

Run this code
data(plmm.data)
model <- plmm(y0~x1+x2+x3|t1, random=cluster, data=plmm.data)
coef(model)
model$coef.iter

Run the code above in your browser using DataLab