summary.multinbmod: Summary of a multinbmod object

Description Usage Arguments Value Author(s) See Also Examples

View source: R/multinbmod.r

Description

It displays the output of multinbmod

Usage

1
2
## S3 method for class 'multinbmod'
summary(object,...)

Arguments

object

The multinbmod object.

...

Any other arguments

Value

A short summary of the object is printed

Author(s)

Ivonne Solis-Trapala

See Also

multinbmod

Examples

1
2
3
4
5
id <- factor(rep(1:20, rep(5, 20)))
y <- rnbinom(100, mu = rexp(100,1)+rep(rexp(20,.3),rep(5,20)),size=2.5)
x<-rbinom(100,1,.5)
dat <- data.frame(y = y, x = x, id = id)
summary(myfit<-multinbmod(y~x,data=dat,id=id,control=list(iter.max=100)))

Example output

$call
multinbmod(formula = y ~ x, data = dat, id = id, control = list(iter.max = 100))

$converged
[1] TRUE

$coefficients
               Estimate   ModelSE  RobustSE   Robust.t
(Intercept)  1.42895421 0.1870216 0.1605229  8.9018701
x           -0.09277863 0.1101906 0.1535262 -0.6043179

$MLE_of_phi
[1] 0.6023875

$SE_of_phi
[1] 0.2032169

$minus2.loglik
[1] 537.8236

$iterations
[1] 15

attr(,"class")
[1] "summary.multinbmod"

multinbmod documentation built on May 29, 2017, 5:47 p.m.