Bayesian Logistic Regression with Polya-Gamma latent variables

generate_from_simple_logistic_model | Simulate data from a simple logistic model |

get_predictions | Predict the y value for all data points, given and the sample... |

gibbs_sampler | Gibbs two-step sampling procedure for parameter vector beta... |

plot.PG | Traceplot and autocorrelation plot for the beta chain |

print.PG | Print a summary of the MCMC chains |

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.