dear all, i have a little question, but it make me torment long time hope you can help me and give some advices , thanks i use smoothing spline in package gam the model> m1=gam(y~ost+wst+park10+sch50+comm+build+suite+y05+y06+y07+y99+y98+s(builarea)+s(age)+s(fl)+s(totfl)+s(cbd)+s(redl))and summary(m1) can show the "s"(smoothing) variables' Signif. codes. but i also want to know the Parametric coefficients and their Signif. codes. like ost, wst...etc. is that possible to get the Parametric coefficients' Signif. codes (in package gam) ? thanks~~ _________________________________________________________________ [[alternative HTML version deleted]]
Strangely, summary.gam(m1) should give you significance results of parametric terms such as ost, wst, park10, sch50, comm, build and suite. These results should be located above the summary results for smooth terms. Please using summary.gam(m1) to have a look if there is the information you need. Good luck! ? ?? wrote:> > > dear all, > > > > i have a little question, but it make me torment long time > > > > hope you can help me and give some advices , thanks > > > > > > i use smoothing spline in package gam > > > > the model > > > >> m1=gam(y~ost+wst+park10+sch50+comm+build+suite+y05+y06+y07+y99+y98+s(builarea)+s(age)+s(fl)+s(totfl)+s(cbd)+s(redl)) > > > and summary(m1) can show the "s"(smoothing) variables' Signif. codes. > > > > but i also want to know the Parametric coefficients and their Signif. > codes. like ost, wst...etc. > > > > is that possible to get the Parametric coefficients' Signif. codes (in > package gam) ? > > > > > > thanks~~ > > > > > > > > > > > > > > _________________________________________________________________ > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org 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. > >-- View this message in context: http://www.nabble.com/smoothing-spline-in-package-gam-tp23382805p23390437.html Sent from the R help mailing list archive at Nabble.com.
Sorry, I did not notice you were using GAM package. Most R users are using Simon Wood's MGCV package. I recommend you to use it. I have never used GAM package, so I cannot make further comments. Good luck! ? ?? wrote:> > > dear all, > > > > i have a little question, but it make me torment long time > > > > hope you can help me and give some advices , thanks > > > > > > i use smoothing spline in package gam > > > > the model > > > >> m1=gam(y~ost+wst+park10+sch50+comm+build+suite+y05+y06+y07+y99+y98+s(builarea)+s(age)+s(fl)+s(totfl)+s(cbd)+s(redl)) > > > and summary(m1) can show the "s"(smoothing) variables' Signif. codes. > > > > but i also want to know the Parametric coefficients and their Signif. > codes. like ost, wst...etc. > > > > is that possible to get the Parametric coefficients' Signif. codes (in > package gam) ? > > > > > > thanks~~ > > > > > > > > > > > > > > _________________________________________________________________ > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org 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. > >-- View this message in context: http://www.nabble.com/smoothing-spline-in-package-gam-tp23382805p23407611.html Sent from the R help mailing list archive at Nabble.com.