Title: | Model Wrappers for Multi-Level Models |
---|---|
Description: | Bindings for hierarchical regression models for use with the 'parsnip' package. Models include longitudinal generalized linear models (Liang and Zeger, 1986) <doi:10.1093/biomet/73.1.13>, and mixed-effect models (Pinheiro and Bates) <doi:10.1007/978-1-4419-0318-1_1>. |
Authors: | Max Kuhn [aut] , Hannah Frick [aut, cre] , Posit Software, PBC [cph, fnd] |
Maintainer: | Hannah Frick <[email protected]> |
License: | MIT + file LICENSE |
Version: | 1.0.0.9000 |
Built: | 2024-11-16 06:22:30 UTC |
Source: | https://github.com/tidymodels/multilevelmod |
Simulated longitudinal Poisson counts
These are simulated data of 100 subjects each with 10 time points and an additional numeric covariate. The linear predictor has a random standard normal intercept per subject, a time coefficient of 1.50, and a covariate coefficient of 0.25.
longitudinal_counts |
a tibble |
data(longitudinal_counts) str(longitudinal_counts)
data(longitudinal_counts) str(longitudinal_counts)
Measurement systems analysis data
A biological assay (i.e. a lab test) was run on 56 separate samples twice. The goal is to measure what percentage of the total variation in the results is related to the measurement system and how much is attributable to the true systematic difference (sample-to-sample).
msa_data |
a tibble |
data(msa_data) str(msa_data)
data(msa_data) str(msa_data)
Imipramine longitudinal data
These data are from a longitudinal clinical trial for depression.
The outcome is the change in depression scores week-to-week. The endogenous
column is an indicator for whether the subject fit the WHO Depression Scale
classification of endogenous. The imipramine
and desipramine
columns are
measurements of plasma levels for both substances.
riesby |
a tibble |
Reisby, N., Gram, L.F., Bech, P. et al. Imipramine: Clinical effects and pharmacokinetic variability. Psychopharmacology 54, 263-272 (1977).
data(riesby) str(riesby)
data(riesby) str(riesby)