logisticregression_precomputation | R Documentation |
This function takes the canonical elements defining the logistic regression problem (the vector of outcome Y, covariate matrix X, the prior mean b and the prior variance B), and precomputes some quantities repeatedly used in the Polya-Gamma sampler and variants of it. The precomputed quantities are returned in a list, which is then meant to be passed to the samplers.
logisticregression_precomputation(Y, X, b, B)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.