Re: [R] Problem with binomial gam{mgcv}

2015-10-13 Thread Simon Wood
Following up on Duncan's answer... You can see that the model doesn't fit with a little bit of residual checking. For example gam.check(Model) shows that the binomial assumption is just wrong here: there is massive overdispersion, for example. Even the crudest response to this, of using

Re: [R] Problem with binomial gam{mgcv}

2015-10-10 Thread Duncan Murdoch
On 09/10/2015 8:00 PM, Erin Conlisk wrote: > Hello, > > I am having trouble testing for the significance using a binomial model in > gam{mgcv}. Have I stumbled on a bug? I doubt I would be so lucky, so > could someone tell me what I am doing wrong? > > Please see the following code: >

[R] Problem with binomial gam{mgcv}

2015-10-09 Thread Erin Conlisk
Hello, I am having trouble testing for the significance using a binomial model in gam{mgcv}. Have I stumbled on a bug? I doubt I would be so lucky, so could someone tell me what I am doing wrong? Please see the following code: # PROBLEM USING cbind x1 <-