informativeDropout.bayes.splines: Fit a varying coefficient model for longitudinal studies with...

Description Usage Arguments

View source: R/bayesianSplineFit.R

Description

Fit a varying coefficient model for longitudinal studies with informative dropout. Uses a Bayesian approach with a spline fit to model the relationship between dropout times and slope

Usage

1
2
3
informativeDropout.bayes.splines(data, ids.var, outcomes.var, groups.var,
  covariates.var, times.dropout.var, times.observation.var, dist,
  model.options)

Arguments

data

the data set

ids.var

column of the data set containing the participant id

outcomes.var

column of the data set containing the outcome variable

groups.var

column of the data set indicating treatment group

covariates.var

list of columns of the data set containing covariates

times.dropout.var

column of the data set containing dropout times

times.observation.var

column of the data set containing observation times

dist

distribution of the outcome (either "gaussian" or "binary")

model.options

the bayes.spines.model.options object (@seealso bayes.spines.model.options)


kreidles/informativeDropout documentation built on Sept. 13, 2020, 12:15 a.m.