A Gibbs Sampler of a Bayesian Weibull Hidden Markov Model

sample_et_st | Sample environment process and state process of a subject |

sample_intercept | Sample intercept effects |

sample_log_scale | Sample Weibull log scale parameter |

sample_log_shape | Sample Weibull log shape parameter |

sample_p | Sample transition matrices of state process |

sample_q | Sample transition matrix of environment process |

sample_ref_std | Sample the standard deviation of subject random effects |

sample_std_logscale | Sample standard deviation of Weibull log scale parameters in... |

sample_subj_ref | Sample subject random effects |

stat_dist | Compute stationary distributions of environment process and... |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.