Package: ciTools 0.6.1

John Haman

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

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.

Authors:John Haman [cre, aut], Matthew Avery [aut], Institute for Defense Analyses [cph]

ciTools_0.6.1.tar.gz
ciTools_0.6.1.zip(r-4.7)ciTools_0.6.1.zip(r-4.6)ciTools_0.6.1.zip(r-4.5)
ciTools_0.6.1.tgz(r-4.6-any)ciTools_0.6.1.tgz(r-4.5-any)
ciTools_0.6.1.tar.gz(r-4.7-any)ciTools_0.6.1.tar.gz(r-4.6-any)
ciTools_0.6.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION
card.svg |card.png
ciTools/json (API)

# Install 'ciTools' in R:
install.packages('ciTools', repos = c('https://edwindj.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/jthaman/citools/issues

On CRAN:

Conda:

7.32 score 4 packages 173 scripts 749 downloads 4 mentions 4 exports 32 dependencies

Last updated from:9f252bb1f2. Checks:9 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK174
source / vignettesOK230
linux-release-x86_64OK175
macos-release-arm64OK125
macos-oldrel-arm64OK117
windows-develOK135
windows-releaseOK115
windows-oldrelOK130
wasm-releaseOK114

Exports:add_ciadd_piadd_probsadd_quantile

Dependencies:abindarmbootclicodadplyrgenericsgluelatticelifecyclelme4magrittrMASSMatrixminqanlmenloptrpillarpkgconfigR6rbibutilsRcppRcppEigenRdpackreformulasrlangsurvivaltibbletidyselectutf8vctrswithr

Accelerated Failure Time Models with ciTools
The Accelerated Failure Time Model | Examples of AFTs | AFT Uncertainty Intervals | Example. | The Delta Method for Regression Models | Expected Values | Simulation Setup | Simulation for expected value CIs | Survivor Function | Simulations for Survivor Function | Prediction Intervals

Last update: 2020-10-22
Started: 2019-01-03

Introducing ciTools
Overview | Links | Using ciTools | Example | Confidence Intervals | Prediction Intervals | Response Probabilities | Response Quantiles | Scope of ciTools | Installation

Last update: 2020-10-22
Started: 2017-08-11

Generalized Linear Models with ciTools
The Generalized Linear Model | Overview of ciTools methods for GLMs | Confidence Intervals | Logistic Regression Example | Prediction Intervals | Poisson Example | Extension to Quasipoisson | Example | Simulation Study for Prediction Intervals | Poisson | Negative Binomial | Gamma | Gaussian with log link | Summary | Session

Last update: 2020-08-17
Started: 2017-12-02

Mixed models with ciTools
Introduction | Writing down our model | Types of intervals | Conditional vs. unconditional confidence intervals | Prediction intervals | Interval demonstration | Data | Confidence intervals | Prediction Intervals | Two intervals at once! | add_probs and add_quantile | Simulation | Unconditional confidence intervals | Conditional confidence intervals | Unconditional prediction intervals | Conditional prediction intervals

Last update: 2020-08-17
Started: 2017-08-22

Binomial Regression with ciTools
Logistic regression with binomial data | Binomial regression in R | Summary

Last update: 2020-08-17
Started: 2017-12-02

Readme and manuals

Help Manual

Help pageTopics
Add Confidence Intervals for Fitted Values to Data Framesadd_ci
Confidence Intervals for Generalized Linear Model Predictionsadd_ci.glm
Confidence Intervals for Generalized Linear Mixed Model Predictionsadd_ci.glmerMod
Confidence Intervals for Linear Model Predictionsadd_ci.lm
Confidence Intervals for Linear Mixed Model Predictionsadd_ci.lmerMod
Confidence Intervals for Negative Binomial Linear Model Predictionsadd_ci.negbin
Confidence Intervals for the Mean Survival Time of Accelerated Failure Time Models.add_ci.survreg
Add Prediction Intervals to Data Framesadd_pi
Prediction Intervals for Generalized Linear Modelsadd_pi.glm
Prediction Intervals for Generalized Linear Mixed Model Predictionsadd_pi.glmerMod
Prediction Intervals for Linear Model Predictionsadd_pi.lm
Prediction Intervals for Linear Mixed Model Fitted Valuesadd_pi.lmerMod
Prediction Intervals for Negative Binomial Linear Modelsadd_pi.negbin
Prediction Intervals for Accelerated Failure Time Modelsadd_pi.survreg
Add Regression Probabilities to Data Framesadd_probs
Response Probabilities for Generalized Linear Modelsadd_probs.glm
Response Probabilities for Generalized Linear Mixed Model Predictionsadd_probs.glmerMod
Response Level Probabilities for Linear Modelsadd_probs.lm
Response Probabilities for Linear Mixed Modelsadd_probs.lmerMod
Response Probabilities for Negative Binomial Modelsadd_probs.negbin
Confidence Intervals for the Survivor Function of Accelerated Failure Time Modelsadd_probs.survreg
Add Regression Quantiles to Data Framesadd_quantile
Quantiles for the Response of a Generalized Linear Modeladd_quantile.glm
Response Quantiles for Generalized Linear Mixed Model Predictionsadd_quantile.glmerMod
Quantiles for the Response of a Linear Modeladd_quantile.lm
Quantiles for the Response of a Linear Mixed Modeladd_quantile.lmerMod
Quantiles for the Response of a Negative Binomial Regressionadd_quantile.negbin
Confidence Intervals for Predicted Survival Time Quantiles of Accelerated Failure Time Modelsadd_quantile.survreg