print.BIreg | R Documentation |
print.BIreg
is the BIreg specific method fot the generic function print which prints objects returned by modelling functions.
## S3 method for class 'BIreg' print(x, ...)
x |
a BIreg class model. |
... |
for extra arguments. |
Prints a BIreg object.
J. Najera-Zuloaga
D.-J. Lee
I. Arostegui
Pawitan Y. (2001): In All Likelihood: Statistical Modelling and Inference Using Likelihood, Oxford University Press
Williams D. A. (1982): Extra-Binomial Variation in Logistic Linear Regression, Journal of the Royal Statistical Society. Series C, 31, 144-148
BIreg
set.seed(1234) # We simulate a covariable and construct the outcome variable applying # an inverse logit link function on it. m <- 10 k <-100 covariate <- rnorm(k,2,0.5) beta <- c(-6,4) p <- 1/(1+exp(-(beta[1]+beta[2]*covariate))) # without dispersion parameter outcome <- rBI(k,m,p) model <- BIreg(outcome~covariate,m,disp=FALSE) print(model) # or just model
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.