dot-inv_ci_pred: Calculate Confidence Intervals for Predictions from...

Description Usage Arguments Value

Description

Calculates confidence intervals of predicted outcomes by applying inverse-link function of GLMs to endpoints of confidence intervals of linear predictor

Usage

1
2
3
4
5
6
7
.inv_ci_pred(
  m = NULL,
  newdata = NULL,
  Sigma = NULL,
  level = 0.95,
  m_class = c("glm", "lm")
)

Arguments

m

regression model

newdata

dataset to make predictions

Sigma

variance-covariance matrix of estimator; if NULL, vcov(m) is used

level

confidence level; defaults to .95

m_class

model class; either glm or lm

Value

Confidence interval of predicted response calculated at values specified in newdata.


baruuum/btoolbox documentation built on Aug. 17, 2020, 1:29 a.m.