[R] Extracting the dispersion parameter

Uwe Ligges
Sun, 23 Feb 2003 10:29:03 -0000

"Edward F. Connor" wrote:
>
> I have been unsuccessful in extracting the dispersion parameter in SPLUS
> 6.1 using
>
> summary or summary.glm(modelobj$dispersion)
>
> from a glm object in which the family was set to quasi. This is the syntax
> given in the manual. I want to write a script to bootstrap the estimate of
> the dispersion parameter, but cannot seem to access that value.
>
> Any suggestions?


summary() calculates it, hence it's part of the summary object:

  summary(modelobj)$dispersion


Uwe Ligges

> Thanks,
>
> Ed
>
> ----------
>
> Edward F. Connor                                Office Phone
415-338-6997
> Department of Biology                           Lab Phone
415-338-3873
> San Francisco State University                  Fax
415-405-0306
> 1600 Holloway Avenue                            email:          efc at
sfsu.edu
> San Francisco, CA 94132                 web: http://userwww.sfsu.edu/~efc
>
> ----------
>
>         [[alternate HTML version deleted]]
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> http://www.stat.math.ethz.ch/mailman/listinfo/r-help