search for: disbinary

Displaying 3 results from an estimated 3 matches for "disbinary".

2007 Dec 13
1
Probelms on using gam(mgcv)
Dear all, Following the help from gam(mgcv) help page, i tried to analyze my dataset with all the default arguments. Unfortunately, it can't be run successfully. I list the errors below. #m.gam<-gam(mark~s(x,y)+s(lstday2004)+s(slope)+s(ndvi2004)+s(elevation)+s(disbinary),family=binomial(logit),data=point) m.gam<-gam(mark~s(x,y,k=10)+s(lstday2004,k=10)+s(slope,k=10)+s(ndvi2004,k=10)+s(elevation,k=10)+s(disbinary,k=10),family=binomial(logit),data=point) > m.gam<-gam(mark~s(x.1,y.1,k=10)+s(lstday2004,k=10)+s(slope,k=10)+s(ndvi2004,k=10)+s(elevation,k=10)+s...
2007 Dec 12
0
Hep on using GAM() in R
...ated. # My programs and problems are list below# library(splines) library(gam) point<-read.csv("d:/gam.csv",sep=",",header=TRUE) #read the data gam.opt<-gam(mark~lo(x,y,span=0.2)+lo(lstday2004,span=0.2)+lo(slope,span=0.2)+lo(ndvi2004,span= 0.2)+lo(elevation,span=0.2)+disbinary, family=binomial(logit),data=point) #span is 0.2 #when you run the above codes, 30 warnings() appear > warnings() Warning message$B!'(B 1: In lo.wam(x, z, wz, fit$smooth, which, fit$smooth.frame, ... : lo.wam convergence not obtained in 30 iterations 2: In lo.wam(x, z, wz, fit$s...
2007 Dec 13
1
Two repeated warnings when runing gam(mgcv) to analyze my dataset?
Dear all, I run the GAMs (generalized additive models) in gam(mgcv) using the following codes. m.gam <-gam(mark~s(x)+s(y)+s(lstday2004)+s(ndvi2004)+s(slope)+s(elevation)+disbinary,family=binomial(logit),data=point) And two repeated warnings appeared. Warnings$B!'(B 1: In gam.fit(G, family = G$family, control = control, gamma = gamma, ... : Algorithm did not converge 2: In gam.fit(G, family = G$family, control = control, gamma = gamma, ... : fitted probabilities...