Learn R Programming

tsnet (version 0.1.0)

fit_data: Example Posterior Samples

Description

This dataset contains posterior samples of beta coefficients and partial correlations for two individuals. It was generated by fitting a GVAR model using [stan_gvar()] with three variables from the [ts_data] dataset.

Usage

data(fit_data)

Arguments

Format

## `fit_data` A list with two elements, each containing posterior samples for one individual.

Details

The list contains two elements, each containing posterior samples for one individual. The samples were extracted using the [stan_fit_convert()] function. For each individual, the list elements contain the posterior means of the beta coefficients ("beta_mu") and the posterior means of the partial correlations ("pcor_mu"). The "fit" element contains all 1000 posterior samples of the beta coefficients and partial correlations.