Displaying 1 result from an estimated 1 matches for "28x104".
Did you mean:
28,104
2012 Aug 24
3
mgcv package, problems with NAs in gam
...bats, family = negbin) :
Not enough (non-NA) data to do anything meaningful*
Is there a specific reason it would do this? I have tried using various
actions on NAs, na.pass etc, as well as asking it to turn all NAs to 0 but
to no avail.
I would post the data here but its rather long, basically 28x104 matrix of
0/1 with headers 'v1:v28' .The summary for the data comes up fine, it's just
the model that isn't working.
However if I run using:
*model<-gam(v1~v2, data=bats, family=negbin)
*
it tends to work.
Any help is seriously appreciated as I have a deadline and have been...