Learn R Programming

⚠️There's a newer version (0.2.4.1) of this package.Take me there.

growcurves (version 0.2.3.6)

Bayesian semi and nonparametric growth curve models that additionally include multiple membership random effects.

Description

Employs a non-parametric formulation for by-subject random effect parameters to borrow strength over a constrained number of repeated measurement waves in a fashion that permits multiple effects per subject. One class of models employs a Dirichlet process (DP) prior for the subject random effects and includes an additional set of random effects that utilize a different grouping factor and are mapped back to clients through a multiple membership weight matrix; e.g. treatment(s) exposure or dosage. A second class of models employs a dependent DP (DDP) prior for the subject random effects that directly incorporates the multiple membership pattern.

Copy Link

Version

Install

install.packages('growcurves')

Monthly Downloads

30

Version

0.2.3.6

License

GPL (>= 2)

Maintainer

Terrance Savitsky

Last Published

January 6th, 2014

Functions in growcurves (0.2.3.6)

growthCurve

Within subject model-predicted growth curve
relabel

Relabel user vector input to sequential numerical
ddpMCMCplots

generate plots of posterior samples under ddpgrow model
samples.dpgrow

Produce samples of MCMC output
ddpPost

Run a Bayesian mixed effects model for by-subject random effects with DDP prior
XZcov

generate fixed and random design matrices, X and Z
summary.ddpgrow

S3 functions of dpgrow
samples

Produce MCMC samples for model parameters
trtplot

Plot comparison of Mean Effects for Any Two Treatments
plot.dpgrowmult

Produce model plots
mmIplusDpPost

Bayesian mixed effects model with a DP prior on by-subject effects and zero mean independent Gaussian priors on multiple membership effects
samples.dpgrowmult

Produce samples of MCMC output
dpPost

Run a Bayesian mixed effects model for by-subject random effects with DP prior
summary.dpgrow

S3 functions of dpgrow
dateduc

Student test scores and associated teachers for a single school in a large urban school district
growcurves-package

Bayesian semi and nonparametric growth curve models with employment of multiple membership random effects for longitudinal data.
mmmultPost

Bayesian mixed effects model with a DP prior on by-subject effects and more than one multiple membership random effects term
summary_quantiles

Produce quantile summaries of model posterior samples
datbrghtterms

BRIGHT BDI depressive symptom data with (G = 4) session groups divided into separate MM terms.
datbrghtmodterms

BRIGHT BDI depressive symptom data with (G = 4) module groups divided into separate MM terms.
datsimmult

Repeated measures for two groups of subjects with two multiple membership (MM) terms
datsimcov

Repeated measures for two groups of subjects drawn from mmcar model with 2 nuisance covariates
mcmcPlots

generate plots of model(s) posterior results
getmf

Produce fixed and random effects design matrices from single formula input
samples.ddpgrow

Produce samples of MCMC output
plot.ddpgrow

Produce model plots
dpgrowmult

Bayesian semiparametric growth curve models under employment of more-than-1 multiple membership random effects (block) term.
dpgrowmm

Bayesian semiparametric growth curve models with employment of multiple membership random effects.
summary.dpgrowmm

S3 functions of dpgrowmm
dpgrow

Bayesian semiparametric growth curve models.
mmIgroupDpPost

Bayesian mixed effects model with a DP prior on by-subject effects and use of group means for multiple membership effects
datsim

Repeated measures for two groups of subjects drawn from mmcar model with no nuisance covariates
mmCmvplusDpPost

Bayesian mixed effects model with a DP prior on by-subject effects and CAR prior on a multivariate set of multiple membership effects
ddpgrow

Bayesian semiparametric growth curve models.
ddpEffectsplot

Plot by-subject and by-treatment posterior mean values for dossage random effects
plot.dpgrow

Produce model plots
effectsplot

Plot comparison of Effect parameters of a Multiple membership (MM) term under varied prior formulations
summary.dpgrowmult

S3 functions of dpgrowmult
plot.dpgrowmm

Produce model plots
lgmPost

Run a Bayesian mixed effects model for by-subject random effects with an independent Gaussian prior
mmCplusDpPost

Bayesian mixed effects model with a DP prior on by-subject effects and CAR prior on a set of multiple membership effects
ddp_quantiles

Produce quantile summaries of model posterior samples
growplot

Plot by-subject and by-group growth curves