search for: global_model

Displaying 1 result from an estimated 1 matches for "global_model".

2009 Sep 14
1
How to extract partial predictions, package mgcv
Dear package mgcv users, I am using package mgcv to describe presence of a migratory bird species as a function of several variables, including year, day number (i.e. day-of-the-year), duration of survey, latitude and longitude. Thus, the "global model" is: global_model<-gam(present ~ as.factor(year) + s(dayno, k=5) + s(duration, k=5) + s(x, k=5) + s(y, k=5), family = binomial(link = logit), data = presence, gamma =1.4) The model works fine, suggesting that all the variables have strong, non-linear, influences on the probability of detecting the species....