[R] Fitting a model to a test set

From: Des Callaghan <descall_at_blueyonder.co.uk>
Date: Sun, 24 Jun 2007 20:48:34 +0100


Dear Forum members,  

I have created a quasi-poisson model from a training dataset and now wish to use the model to estimate y values for a test dataset, in order to validate the model. The trouble is I can't figure out how to estimate y values for the test set using the model derived from the training set. I've been fiddling about with predict(), but can't seem to get the desired result. Could somebody help please? Thanks very much in advance.  

Best wishes,
Des  

        [[alternative HTML version deleted]]



R-help_at_stat.math.ethz.ch mailing list
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. Received on Sun 24 Jun 2007 - 19:54:54 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 24 Jun 2007 - 23:32:31 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.