stan_practical_data: Data for the practical: The Stan programming language.

Description Usage Value Examples

Description

A data set containing the list to pass as the data argument to the stan function in the practical: The Stan programming language.

Usage

1

Value

A list with 9 named elements:

y

The response variable (log PSA).

n

The sample size.

q

The number of explanatory variables, plus one.

X

The design matrix.

x_pred

The explanatory variables for predicting an extra patient.

m_beta

The prior means for beta.

s_beta

The prior standard deviations for beta.

m_sigma_sq

The prior mean for log(sigma_sq).

s_sigma_sq

The prior standard deviations for log(sigma_sq).

Examples

1
2

nclSLR documentation built on May 2, 2019, 5:17 p.m.