Re: [R] gam.check() NA results (k-index, p-value) of a gam logistic regression model

2016-05-18 Thread Fotis Fotiadis
Dear Prof. Wood, Thank you for your reply! Best, Fotis On Wed, May 18, 2016 at 12:05 PM, Simon Wood wrote: > Dear Fotis, > > The test is a randomization test, based on comparing differences of > residuals, ordered with respect to the covariate of the smooth, to >

Re: [R] gam.check() NA results (k-index, p-value) of a gam logistic regression model

2016-05-18 Thread Simon Wood
Dear Fotis, The test is a randomization test, based on comparing differences of residuals, ordered with respect to the covariate of the smooth, to differences of residuals in randomized order. Random effect terms are excluded because there is not basis size to choose. Currently smooths with

[R] gam.check() NA results (k-index, p-value) of a gam logistic regression model

2016-05-17 Thread Fotis Fotiadis
Hello all I am using bam for a mixec-effects logistic regression model: b0<-bam(acc~ 1 + igc + s(ctrial, by=igc) + s(sbj, bs="re") + s(ctrial, sbj, bs="re") , data=data, family=binomial) >summary(b0) Family: binomial Link function: logit Formula: acc ~ 1 + igc + s(ctrial, by = igc) + s(sbj,