confint.rasch: Confidence Intervals for Rasch Model Fits

Description Usage Arguments Details Value Author(s) Examples

View source: R/auxiliar_functions.r

Description

Computes confidence intervals for one or more parameters in a fitted model.

Usage

1
2
  ## S3 method for class 'rasch'
confint(object, parm, level = 0.95, type = 'wald', B = 99, ...)

Arguments

object

A fitted rasch model.

parm

A specification of which parameters are to be given confidence intervals. If missing, all parameters are considered.

level

The confidence level required.

type

A character string defining the method to be used. Pissible values are: wald, profile,booth.

B

Number of bootstrap replicates. Only applicable when type is booth.

...

Additional arguments.

Details

This method assumes asymptotic normality, and uses suitable coef and vcov methods. Type wald invert the well known Wald statistic. Type profile is based on the likelihood-ratio statistic. Type boot uses B replicates simulated from estimated parameters.

Value

A data.frame with columns giving lower and upper confidence limits for each parameter. These will be labelled as (1-level)/2 and 1 - (1-level)/2 in % (by default 2.5% and 97.5%).

Author(s)

Fernando Massa, fmassa@iesta.edu.uy

Examples

1
2
3
4
  n   <- 100
  X   <- sim_rasch(n)
  mod <- rasch(X)
  confint(mod)

nando11235813/raschreg documentation built on Oct. 2, 2021, 3:11 p.m.