print.summary.BIreg: Print a summary.BIreg class model.

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/BIreg.R

Description

print.summary.BIreg is the summary.BIreg specific method fot the generic function print which prints objects returned by modelling functions.

Usage

1
2
## S3 method for class 'summary.BIreg'
print(x, ...)

Arguments

x

a summary.BIreg class model.

...

for extra arguments.

Value

Prints a summary.BIreg object.

Author(s)

J. Najera-Zuloaga

D.-J. Lee

I. Arostegui

References

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

See Also

BIreg, summary.BIreg

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
  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)))
  outcome <- rBI(k,m,p)
  
  model <- BIreg(outcome~covariate,m,disp=FALSE)
  sum.model <- summary(model)
  print(sum.model) # or just sum.model
  

PROreg documentation built on July 1, 2020, 7:02 p.m.