getInits | R Documentation |
getinits
returns initial values for CI search, c(lower, upper)
getInits(model, trtname, runit, strat, data, initmethod, alpha, obs1)
If initmethod = "asymp"
, initial bounds are based on asymptotic
approximation (e.g. Wald CI for GLM). If initmethod = "perm"
, initial
bounds are based on the permutation approach used in Garthwaite (1996) with
\hat{\theta}\pm \{(t_2 - t_1)/2\}
, where t_1
and t_2
denote
the second smallest and second largest estimates from the permutation test.
This is a general utility function used within permci
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.