powered by
Calculate quantiles of marginal distributions of \(\hat{p}\) and \(\hat{k}\) for a pkm model object
pkm
qpk(p, model)
either a list of ncell
ncell
\(\times\)
length(p) matrices of quantiles for $p and $k for cells defined by the
length(p)
$p
$k
model object (if model$pOnly == FALSE) or a ncell
model
model$pOnly == FALSE
length(p) matrix of quantiles for p
p
vector of probabilities
A pkm object (which is returned from pkm())
pkm()
rpk, pkm
rpk
# 90% confidence intervals for \code{p} and \code{k} mod <- pkm(formula_p = p ~ Visibility * Season, formula_k = k ~ Season, data = wind_cleared$SE) qpk(p = c(0.05, 0.95), model = mod)
Run the code above in your browser using DataLab