coef.plmm: Extract Fixed Regression Coefficients

Description Usage Arguments Details Value See Also Examples

View source: R/coef.plmm.R

Description

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

Usage

1
2
3
4
5
6
7
8
## S3 method for class 'plmm'
coef(object,...)
## S3 method for class 'wplmm'
coef(object,...)
## S3 method for class 'plmm'
coefficients(object,...)
## S3 method for class 'wplmm'
coefficients(object,...)

Arguments

object

a model fitted with plmm or wplmm.

...

other arguments.

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.

Value

Fixed regression coefficients estimates.

See Also

plmm, wplmm

Examples

1
2
3
4
data(plmm.data)
model <- plmm(y0~x1+x2+x3|t1, random=cluster, data=plmm.data)
coef(model)
model$coef.iter

plmm documentation built on May 2, 2019, 7:29 a.m.