Re: [R] gam error message: matrix not +ve definite

2012-10-08 Thread Simon Wood
Hi Dan, Any chance that you could send me the data offlist and I'll take a look (under the understanding that I'll only use the data for de-bugging of course)? Could you also let me know which linux distribution you are using, whether it's 64bit or 32 bit, and, if possible, what BLAS R is us

Re: [R] gam error message: matrix not +ve definite

2012-10-07 Thread R. Michael Weylandt
On Sun, Oct 7, 2012 at 3:00 PM, garth wrote: > Hello, > > I'm running a multimodel analysis which involves fitting several GAM models > as implemented in package mgcv. The issue I'm having is that when I try to > fit my model, gam gives me the following error message: 'Error in > initial.sp(w * X

[R] gam error message: matrix not +ve definite

2012-10-07 Thread garth
Hello, I'm running a multimodel analysis which involves fitting several GAM models as implemented in package mgcv. The issue I'm having is that when I try to fit my model, gam gives me the following error message: 'Error in initial.sp(w * X, S, off) : S[[2]] matrix is not +ve definite.' The stra

Re: [R] gam error

2010-06-03 Thread Joris Meys
This doesn't tell us much either. What does the variable "incline" represent, and what does the variable "ToC" represent? I could guess your data looks something like : ToC Incline x1-90 x2-60 x3-30 x4 0 x5 30 x6 60 x7 90 x8 -90 ... ... Or incline could be the

Re: [R] gam error

2010-06-03 Thread natalieh
Data? The data are measures of energy use (continuous variable) for running on 7 inclines between -90 and +90 degrees (n=7-21). -- View this message in context: http://r.789695.n4.nabble.com/gam-error-tp2241518p2241608.html Sent from the R help mailing list archive at Nabble.com. _

Re: [R] gam error

2010-06-03 Thread Jannis
ieh schrieb am Do, 3.6.2010: > Von: natalieh > Betreff: [R] gam error > An: r-help@r-project.org > Datum: Donnerstag, 3. Juni, 2010 11:24 Uhr > > Hi all, > > I'm trying to use a gam (mgcv package) to analyse some data > with a roughly U > shaped curve. My model is v

Re: [R] gam error

2010-06-03 Thread Gavin Simpson
On Thu, 2010-06-03 at 04:24 -0700, natalieh wrote: > Hi all, > > I'm trying to use a gam (mgcv package) to analyse some data with a roughly U > shaped curve. My model is very simple with just one explanatory variable: > > m1<-gam(CoT~s(incline)) > > However I just keep getting the error message

Re: [R] gam error

2010-06-03 Thread Joris Meys
Data? On Thu, Jun 3, 2010 at 1:24 PM, natalieh wrote: > > Hi all, > > I'm trying to use a gam (mgcv package) to analyse some data with a roughly > U > shaped curve. My model is very simple with just one explanatory variable: > > m1<-gam(CoT~s(incline)) > > However I just keep getting the error m

[R] gam error

2010-06-03 Thread natalieh
Hi all, I'm trying to use a gam (mgcv package) to analyse some data with a roughly U shaped curve. My model is very simple with just one explanatory variable: m1<-gam(CoT~s(incline)) However I just keep getting the error message "Error in smooth.construct.tp.smooth.spec(object, dk$data, dk$kno