Learn R Programming

plmm (version 0.1-1)

summary.bs.plmm: Summary of the bootstrap estimates of the sampling distribution.

Description

Provide summary statistics of the estimated sampling distributions of the fixed regression coefficient estimators and the random effects variance estimator.

Usage

"summary"(object, probs = c(0.005, 0.025, 0.05, 0.95, 0.975, 0.995), ...)

Arguments

object
an object returned from plmm.bs
probs
a vector of quantiles.
...
other arguments.

Value

mean
a vector of the means.
sd
a vector of the standard deviations.
quantiles
vectors of the quantiles specified for probs.

Details

For an object of the bs.plmm class, summary provides the mean, the standard deviation and quantiles of the estimated marginal sampling distributions of the coefficient estimators and the random effects variance estimator.

Examples

Run this code
data(plmm.data)
h0 <- select.h0(y0~x1+x2+x3|t1, data=plmm.data)
model <- plmm(y0~x1+x2+x3|t1, h0=h0, random=cluster, data=plmm.data)
## Not run: 
# bs <- plmm.bs(model, B=500, data=plmm.data, h0=h0)
# summary(bs, probs=c(0.025, 0.975)) ## End(Not run)

Run the code above in your browser using DataLab