Description Usage Arguments Value
Posterior probabilities Pr(Z = 1)
Confusion table for posterior probabilities
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ## S3 method for class 'EM'
posterior_probs(object)
## S3 method for class 'EM'
confusion_table(object, cutoff = 0.5)
## S3 method for class 'gibbs'
posterior_probs(object, burn = getOption("gBurn"),
thin = getOption("gThin"))
## S3 method for class 'gibbs'
confusion_table(object, cutoff = 0.5,
burn = getOption("gBurn"), thin = getOption("gThin"))
posterior_probs(object, ...)
confusion_table(object, cutoff = 0.5, ...)
|
object |
a |
cutoff |
cutoff in probability for Z = 1 |
burn |
number or percent of iterations to discard |
thin |
thinning interval. Keep every |
... |
additional arguments to be passed to or from methods |
posterior_prob returns a tibble with the observed
type and posterior probability of being of type 1. confusion_table
returns a table comparing predicted probabilities and types for
those municipalities whose type is observed using the cutoff set in
cutoff.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.