MC_neff_theoretical | R Documentation |
This is the theoretical effective sample size for a sample of size N
given parameters alpha
and p
.
MC_neff_theoretical(N, alpha, p)
N |
number of iterations |
alpha |
a transition probability (between 0 and 1) |
p |
(marginal) success probability |
effective sample size
MC_neff
p <- .25
MC_neff_theoretical(N = 100, alpha = p, p = p) ## independent sampling gives N_eff = N
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.