[19159] in s-news-athena

home help back first fref pref prev next nref lref last post

[S] GAM prediction

daemon@ATHENA.MIT.EDU (Viswanath Devanarayan)
Wed Sep 8 23:52:00 1999

Date: Wed, 08 Sep 1999 22:46:48 -0500
From: Viswanath Devanarayan <DEVANARAYAN_VISWANATH@lilly.com>
To: s-news@wubios.wustl.edu
Cc: Viswanath Devanarayan <DEVANARAYAN_VISWANATH@lilly.com>
Message-Id: <052567E7.0014C1A2.00@aammta1.d51.lilly.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline




Hello,

When using a GAM model from a training set to predict the test set containing,
I get the following warning message:
_________________________________________
> predict(Train.gam, newdata=test, type='response')
             1            2            3             4             5
 3.997737e-009 0.0004143466 7.94323e-007 2.220446e-016 2.513028e-006
             6           7            8             9            10
 8.042191e-013 6.6747e-012 0.0006943088 1.459154e-006 6.915884e-011
            11       12            13
 1.185343e-010 0.991457 1.472045e-007
Warning messages:
  There is a 0% discrepancy  between the original and the re-fit used to a
chieve 'safe' predictions in: safe.predict.gam(object, newdata, type, se.f
it, terms)
>
__________________________________________

I think I am using the correct syntax for predict.gam, and the columns in the
newdata correspond to the predictors that were used in the GAM model
for the training set. What does this warning message mean?

Thanks in advance for any help.

Devan


-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu.  To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message:  unsubscribe s-news

home help back first fref pref prev next nref lref last post