Core Functionality for Simulating Quantities of Interest from Generalised Linear Models

Core functions for simulating quantities of interest from generalised linear models (GLM). This package will form the backbone of a series of other packages that improve the interpretation of GLM estimates.


Version 0.2.4

  • Admissions example data now included with package to avoid breaking URL.

Version 0.2.3

  • Internal cleanup of function tests.

Version 0.2.2

  • Allow users to supply mu and Sigma values to b_sim.

  • Documentation and internal code improvements.

Version 0.2.1

  • Can find polynomial splines using b-splines basis. Note: apart from the degree of the piecewise polynomial, the default behaviour for bs is assumed.

  • Internal code improvements.

Version 0.2

  • b_sim has been incorporated into qi_builder so that the simulated coefficients and QI calculations can be accomplished in one function call.

  • Handles categorical variables entered as newdata either in their original format or matching the coefficient name output.

  • Can find polynomially transformed terms if entered in the model fit function with there base term + the I function. Note, currently only supports up to x^9.

  • Can find natural logarithmically transfromed terms if entered in the model fit function with the log function.

  • Added original_order to qi_builder. If TRUE then the values are returned in the original simulation order. Only relevant if slim = TRUE.

Version 0.1

  • Minimal working version.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.2.4 by Christopher Gandrud, 4 years ago

Report a bug at

Browse source code at

Authors: Christopher Gandrud [aut, cre]

Documentation:   PDF Manual  

GPL (>= 3) license

Imports dplyr, MASS

Suggests car, splines, survival, testthat

Imported by pltesim.

See at CRAN