Re: [R] Zero-dose constraint in modeling dose-response curves with gam

2014-03-07 Thread Simon Wood
Looking back at my post (Mar 26, 2013; 7:28am Re: [R] Use pcls in "mgcv" package to achieve constrained cubic spline), it seems to me that you could use the same trick, but omit the `-1' from the model formula. i.e. you set up a bunch of smooths constrained to pass through zero at zero, but lea

[R] Zero-dose constraint in modeling dose-response curves with gam

2014-03-06 Thread Bleary
I wish to compare several "products" in terms of their dose-response functions as estimated by smooths via the gam function. Included in the experimental evaluations are zero-dose ("blank") measurements. I want to set up the gam estimation so that the fitted smooths for the several products converg