Learn R Programming

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

growfunctions (version 0.12)

Bayesian Non-Parametric Dependent Models for Time-Indexed Functional Data

Description

Estimates a collection of time-indexed functions under either of Gaussian process (GP) or intrinsic Gaussian Markov random field (iGMRF) prior formulations where a Dirichlet process mixture allows sub-groupings of the functions to share the same covariance or precision parameters. The GP and iGMRF formulations both support any number of additive covariance or precision terms, respectively, expressing either or both of multiple trend and seasonality.

Copy Link

Version

Install

install.packages('growfunctions')

Monthly Downloads

267

Version

0.12

License

GPL (>= 3)

Maintainer

Terrance Savitsky

Last Published

November 13th, 2015

Functions in growfunctions (0.12)

fit_compare

Side-by-side plot panels that compare latent function values to data for different estimation models
cluster_plot

Plot estimated functions for experimental units faceted by cluster versus data to assess fit.
gen_informative_sample

Generate a finite population and take an informative single or two-stage sample.
MSPE

Compute normalized mean squared prediction error based on accuracy to impute missing data values
cps

Monthly employment counts from 1990 - 2013 from the Current Population Survey
gpdpPost

Run a Bayesian functional data model under a GP prior whose parameters employ a DP prior
predict_plot

Plot estimated functions both at estimated and predicted time points with 95% credible intervals.
predict_functions.gpdpgrow

Use the model-estimated GP covariance parameters from gpdpgrow() to predict the GP function at future time points. Inputs the gpdpgrow object of estimated parameters.
gpdpbPost

Run a Bayesian functional data model under a GP prior whose parameters employ a DP prior
gpPost

Run a Bayesian functional data model under a GP prior whose parameters employ a DP prior
informative_plot

Plot credible intervals for parameters to compare ignoring with weighting an informative sample
growfunctions-package

Bayesian Non-Parametric Models for Estimating a Set of Denoised, Latent Functions From an Observed Collection of Domain-Indexed Time-Series
samples.gmrfdpgrow

Produce samples of MCMC output
gmrfdpgrow

Bayesian instrinsic Gaussian Markov Random Field model for dependent time-indexed functions
gpdpgrow

Bayesian non-parametric dependent Gaussian process model for time-indexed functional data
predict_functions.gmrfdpgrow

Use the model-estimated iGMRF precision parameters from gmrfdpgrow() to predict the iGMRF function at future time points. Inputs the gmrfdpgrow object of estimated parameters.
plot_cluster

Plot estimated functions, facetted by cluster numbers, for a known clustering
predict_functions

Use the model-estimated covariance parameters from gpdpgrow() or gmrdpgrow to predict the function at future time points.
gmrfdpPost

Run a Bayesian functional data model under an instrinsic GMRF prior whose precision parameters employ a DP prior
gpBFixPost

Run a Bayesian functional data model under a GP prior with a fixed clustering structure that co-samples latent functions, bb_i.
gpFixPost

Run a Bayesian functional data model under a GP prior whose parameters employ a DP prior
samples

Produce samples of MCMC output