fit_data: Example Posterior Samples

fit_dataR Documentation

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)

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.

Source

The data is generated using the stan_gvar function on subsets of the ts_data time series data.


tsnet documentation built on June 20, 2025, 9:08 a.m.