Learn R Programming

emdi (version 2.2.1)

intervals: Confidence Intervals on Coefficients of an emdi Object

Description

Methods intervals.ebp and intervals.fh provide the approximate confidence intervals on the coefficients (fixed effects) of an emdi object.

Usage

# S3 method for ebp
intervals(object, level = 0.95, parm = NULL, ...)

# S3 method for fh intervals(object, level = 0.95, parm = NULL, ...)

Value

A matrix with rows corresponding to the parameters and columns containing the lower confidence limits (lower), the estimated values (est.), and upper confidence limits (upper).

Arguments

object

an object of type "emdi", depending on the method either "ebp" or "fh".

level

an optional numeric value with the confidence level for the intervals. Defaults to 0.95.

parm

vector of names to specify which parameters are to be given confidence intervals. If NULL, all parameters are taken into account. Defaults to NULL.

...

additional arguments that are not used in this method.

Details

The generic function intervals is imported from package nlme and re-exported to make the S3-methods available, even though the nlme package itself is not loaded or attached. For default documentation, see intervals.

See Also

direct, ebp, fh, intervals

Examples

Run this code
# \donttest{
# Example for class ebp
emdi_model <- ebp(
  fixed = eqIncome ~ gender + eqsize + cash + self_empl +
    unempl_ben + age_ben + surv_ben + sick_ben + dis_ben + rent + fam_allow +
    house_allow + cap_inv + tax_adj, pop_data = eusilcA_pop,
  pop_domains = "district", smp_data = eusilcA_smp, smp_domains = "district",
  na.rm = TRUE
)

intervals(emdi_model)
# }

Run the code above in your browser using DataLab