Description Usage Arguments Value
Bayesian weibull function with Stan, including cross validation, with random effects
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | w_CV_RE_stan(
mT,
mT_test,
m0,
m0_test,
time,
time_test,
sp,
J,
X_alpha,
X_alpha_test,
X_beta,
X_beta_test,
...
)
|
mT |
Mass remaining of training data |
mT_test |
Mass remaining of test data |
m0 |
Initial mass of training data |
m0_test |
Initial mass of test data |
time |
Vector of time values for training data |
time_test |
Vector of time values for test data |
sp |
Numeric group identifier |
J |
Number of groups |
X_alpha |
Model matrix for alpha for training data |
X_alpha_test |
model matrix for alpha for test data |
X_beta |
Model matrix for beta for training data |
X_beta_test |
model matrix for beta for test data |
... |
Arguments passed to |
An object of class stanfit
returned by rstan::sampling
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.