multi_group_fda: Multi-Group Bayesian FDA

Description Usage Arguments Details Value

View source: R/main.R

Description

Fits a multi-group Bayesian FDA using penalized P-splines

Usage

1
multi_group_fda(data_list, p = 20, niter = 10000, nburn = 1000)

Arguments

data_list

list of group matrices where columns correspond to observed curves

Details

Fits Bayesian P-splines model. The model can be given by:

y_{ij} \sim N(Hβ_{ij}, σ^2)\\ β_{ij} \sim N(β_j, τ^2P^{-1})\\ p(β_j) \propto 1; p(σ^2) \propto \frac{1}{σ^2}; p(τ^2) \propto \frac{1}{τ^2}

Value

List of MCMC chains. Primary interest may lie in analyzing beta_grp chains.


wzhorton/bayesFDA documentation built on Dec. 23, 2021, 6:15 p.m.