summary.elrm | R Documentation |
Summary method for class elrm
that formats and prints out the results of an elrm
object.
## S3 method for class 'elrm'
summary(object, ...)
object |
an object of class |
... |
additional arguments to the summary function (currently unused). |
The following results are formatted and printed to the screen: the matched call, coefficient estimates and confidence intervals for each model term of interest, estimated p-value for jointly testing that the parameters of interest are simultaneously equal to zero, full conditional p-values from separately testing each parameter equal to zero, length of the Markov chain that inference was based on, and the Monte Carlo standard error of each reported p-value.
David Zamar, Jinko Graham, Brad McNeney
Zamar David. Monte Carlo Markov Chain Exact Inference for Binomial Regression Models. Master's thesis, Statistics and Actuarial Sciences, Simon Fraser University, 2006.
Zamar D, McNeney B and Graham J. elrm: Software Implementing Exact-like Inference for Logistic Regression Models. Journal of Statistical Software 2007, 21(3).
update.elrm
, plot.elrm
, elrm
.
# Drug dataset example with both sex and treatment as the variables of interest
data(drugDat);
drug.elrm = elrm(formula=recovered/n~sex+treatment, interest=~sex+treatment, r=4,
iter=50000, burnIn=1000, dataset=drugDat);
# Summarize the results:
summary(drug.elrm);
# Urinary tract dataset example with dia as the variable of interst
data(utiDat);
uti.elrm = elrm(uti/n~age+current+dia+oc+pastyr+vi+vic+vicl+vis, interest=~dia, r=4,
iter=30000, burnIn=100, dataset=utiDat);
# Summarize the results:
summary(uti.elrm);
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.