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? 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@sfsu.edu San Francisco, CA 94132 web: http://userwww.sfsu.edu/~efc ---------- [[alternate HTML version deleted]]
"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
On Sun, 23 Feb 2003, 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.What is `the manual'? If this is an accurate transcription then `the manual' is incorrect.> I want to write a script to bootstrap the estimate of > the dispersion parameter, but cannot seem to access that value. > > Any suggestions?Ask on S-news about S-PLUS questions! You may have meant summary(glmobject)$dispersion but as glm is one area where S-PLUS and R differ considerably it does help to ask in the correct forum. -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595