On Thu, 7 Aug 2003, orkun wrote:

[quoting me without attribution]

> >Those are not predicted values, they are fitted values.  Try predicting on 
> >the same set of variables as you printed.

Precisely!  From ?predict.glm

 newdata: optionally, a new data frame from which to make the
          predictions.  If omitted, the fitted linear predictors are
          used.

[...]

> If  predict(glm.obj,type="resp") does not give predicted vals, How can I 
> get predicted values ?

Try reading the help page?  It is quite explicit, and has examples, as do 
all good books on S/R.

-- 
Brian D. Ripley,                  [EMAIL PROTECTED]
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

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to