Learn R Programming

ciTools (version 0.6.1)

Confidence or Prediction Intervals, Quantiles, and Probabilities for Statistical Models

Description

Functions to append confidence intervals, prediction intervals, and other quantities of interest to data frames. All appended quantities are for the response variable, after conditioning on the model and covariates. This package has a data frame first syntax that allows for easy piping. Currently supported models include (log-) linear, (log-) linear mixed, generalized linear models, generalized linear mixed models, and accelerated failure time models.

Copy Link

Version

Install

install.packages('ciTools')

Monthly Downloads

820

Version

0.6.1

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

John Haman

Last Published

October 25th, 2020

Functions in ciTools (0.6.1)

add_ci.lm

Confidence Intervals for Linear Model Predictions
add_ci.negbin

Confidence Intervals for Negative Binomial Linear Model Predictions
add_pi.glmerMod

Prediction Intervals for Generalized Linear Mixed Model Predictions
add_pi

Add Prediction Intervals to Data Frames
add_pi.glm

Prediction Intervals for Generalized Linear Models
add_ci.survreg

Confidence Intervals for the Mean Survival Time of Accelerated Failure Time Models.
add_ci.lmerMod

Confidence Intervals for Linear Mixed Model Predictions
add_ci

Add Confidence Intervals for Fitted Values to Data Frames
add_ci.glmerMod

Confidence Intervals for Generalized Linear Mixed Model Predictions
add_ci.glm

Confidence Intervals for Generalized Linear Model Predictions
add_probs.lmerMod

Response Probabilities for Linear Mixed Models
add_pi.lmerMod

Prediction Intervals for Linear Mixed Model Fitted Values
add_quantile.survreg

Confidence Intervals for Predicted Survival Time Quantiles of Accelerated Failure Time Models
add_pi.lm

Prediction Intervals for Linear Model Predictions
add_quantile.negbin

Quantiles for the Response of a Negative Binomial Regression
add_pi.negbin

Prediction Intervals for Negative Binomial Linear Models
add_pi.survreg

Prediction Intervals for Accelerated Failure Time Models
add_quantile.lm

Quantiles for the Response of a Linear Model
add_quantile.lmerMod

Quantiles for the Response of a Linear Mixed Model
add_probs.negbin

Response Probabilities for Negative Binomial Models
add_probs

Add Regression Probabilities to Data Frames
add_probs.glmerMod

Response Probabilities for Generalized Linear Mixed Model Predictions
add_quantile

Add Regression Quantiles to Data Frames
add_probs.survreg

Confidence Intervals for the Survivor Function of Accelerated Failure Time Models
add_probs.lm

Response Level Probabilities for Linear Models
add_probs.glm

Response Probabilities for Generalized Linear Models
add_quantile.glm

Quantiles for the Response of a Generalized Linear Model
add_quantile.glmerMod

Response Quantiles for Generalized Linear Mixed Model Predictions