s-news
[Top] [All Lists]

Re: GAM p-values

To: Wensui Liu <liuwensui@gmail.com>
Subject: Re: GAM p-values
From: kate.bassil@utoronto.ca
Date: Fri, 08 Feb 2008 09:26:31 -0500
Cc: s-news@lists.biostat.wustl.edu
In-reply-to: <1115a2b00802071152n71c7f8e8gd969db373349af19@mail.gmail.com>
References: <20080207144343.0285u0yjkk04kc0k@webmail.utoronto.ca> <1115a2b00802071152n71c7f8e8gd969db373349af19@mail.gmail.com>
User-agent: Internet Messaging Program (IMP) H3 (4.1.4)

Hi Wendy,

I need the p-values for the linear terms also, to see if they are significantly associated with the outcome.

Kate

Quoting Wensui Liu <liuwensui@gmail.com>:

what kind of p-value are you after? p-value for t-statistics or
p-value for chi-square statistics of nonlinear terms, or p-value for
something else?

On Feb 7, 2008 2:43 PM,  <kate.bassil@utoronto.ca> wrote:
I am using S-plus 7.0 to run GAM models in my analysis.
An example of the model is:
model<-gam(Def1~T.Max+day+lo(RH)+lo(time)+offset(log(All.Calls)),family=poisson(link=log),na.action=na.omit).
To get the coefficients I enter:
coefficients(summary.glm(model,c=F,dispersion=0).

However, this only produces the value, std error, and t-value. I would
also like p-values for the GAM models. Any suggestions on how to do
this?

Thanks,
Kate Bassil

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




--
===============================
WenSui Liu
ChoicePoint Precision Marketing
Phone: 678-893-9457
Email : wensui.liu@choicepoint.com
Blog   : statcompute.spaces.live.com
===============================





<Prev in Thread] Current Thread [Next in Thread>