[R] glm$effects

Bert Gunter bgunter.4567 at gmail.com
Fri Jan 12 20:03:30 CET 2018

See ?effects


Bert Gunter

"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )

On Fri, Jan 12, 2018 at 10:44 AM, Cade, Brian <cadeb at usgs.gov> wrote:

> I know I must be missing something obvious, but checking help and googling
> a bit did not turn up a useable answer.  When I've estimated a glm() model
> object (my example is with just identity link with gaussian family so I
> could have used lm() instead), one of the terms returned in the model
> object is listed as $effects.  What are these quantities?  I have not been
> able to relate them to the $coefficients, $fitted.values, $resid, or $y
> completely.  For example, if I estimate the simplest model with just an
> intercept term, the $effects for the n observations differ from $y by a
> constant quantity except for one of the values.
> Brian
> Brian S. Cade, PhD
> U. S. Geological Survey
> Fort Collins Science Center
> 2150 Centre Ave., Bldg. C
> Fort Collins, CO  80526-8818
> email:  cadeb at usgs.gov <brian_cade at usgs.gov>
> tel:  970 226-9326
>         [[alternative HTML version deleted]]
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/
> posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

	[[alternative HTML version deleted]]

More information about the R-help mailing list