Hi Douglas,

I just tested this out, if the conditional expectation function is E[Y|X] = 
F(X), and glm returns fitted F, then predict() returns fitted F evaluated 
at X.

Bradley



On Monday, September 1, 2014 10:24:07 AM UTC-5, Douglas Bates wrote:
>
> On Monday, September 1, 2014 9:48:46 AM UTC-5, Bradley Setzler wrote:
>>
>> Thanks Taylor, added predict method to documentation.
>>
>
> It may be useful to clarify the scale of the values returned by predict. 
>  Is it the scale of the linear predictor or the scale of the mean response? 
> For the "Normal" family it doesn't matter because the link is the identity 
> link.  For other families the mean response and the linear predictor are 
> different.  The predict function returns a mean response vector.
>
> It should also be possible to use
> fitted(m)
> to extract the fitted values on the scale of the mean response.
>

Reply via email to