Hello to everybody: Im starting to work with GAM using mgcv in R. When I plot a gam object using gam.plot, the y axes is labelled s(cov,edf), but I dont undertand what means the units of y axes (is related with the predictor variable?). Thanks in advance -- David Nogu?s Bravo Functional Ecology and Biodiversity Department Pyrenean Institute of Ecology Spanish Research Council Av. Monta?ana 1005 Zaragoza - CP 50059 976716030 - 976716019 (fax)
> Im starting to work with GAM using mgcv in R. When I plot a gam object > using gam.plot, the y axes is labelled s(cov,edf), but I dont undertand > what means the units of y axes (is related with the predictor variable?).- The y axes are on the scale of the linear predictor of your model. i.e. The units are link(response units). [Note that smooths are "centred" to ensure model identifiability - they sum to 0 over the covariate values]. best, Simon _____________________________________________________________________> Simon Wood simon at stats.gla.ac.uk www.stats.gla.ac.uk/~simon/ >> Department of Statistics, University of Glasgow, Glasgow, G12 8QQ >>> Direct telephone: (0)141 330 4530 Fax: (0)141 330 4814
To me, the "s( )" suggests "spline". The relationship
between the outcome variable (dependent variable) y
and the linear predictor will depend on what link function
is used in the fitting. See help("gam"), help("plot.gam").
- tom blackwell - u michigan medical school - ann arbor -
On Tue, 13 May 2003, [ISO-8859-1] David Nogués wrote:
> Hello to everybody:
>
> Im starting to work with GAM using mgcv in R. When I plot a gam object
> using gam.plot, the y axes is labelled s(cov,edf), but I dont undertand
> what means the units of y axes (is related with the predictor variable?).
>
> Thanks in advance
> --
> David Nogués Bravo