Re: [R] interpretation of RCS 'coefs' and 'knots'

2009-10-24 Thread Kingsford Jones
Perhaps functional data analysis would be of interest. See, for example, package fda. Kingsford On Fri, Oct 23, 2009 at 4:46 PM, Dylan Beaudette wrote: > Hi, > > I have fit a series of ols() models, by group, in this manner: > > l <- ols(y ~ rcs(x, 4)) > > ... where the series of 'x' values in

Re: [R] interpretation of RCS 'coefs' and 'knots'

2009-10-24 Thread Frank E Harrell Jr
Dylan Beaudette wrote: On Friday 23 October 2009, Frank E Harrell Jr wrote: Dylan Beaudette wrote: Hi, I have fit a series of ols() models, by group, in this manner: l <- ols(y ~ rcs(x, 4)) ... where the series of 'x' values in each group is the same, however knots are not always identical b

Re: [R] interpretation of RCS 'coefs' and 'knots'

2009-10-23 Thread Dylan Beaudette
On Friday 23 October 2009, Frank E Harrell Jr wrote: > Dylan Beaudette wrote: > > Hi, > > > > I have fit a series of ols() models, by group, in this manner: > > > > l <- ols(y ~ rcs(x, 4)) > > > > ... where the series of 'x' values in each group is the same, however > > knots are not always identic

Re: [R] interpretation of RCS 'coefs' and 'knots'

2009-10-23 Thread Frank E Harrell Jr
Dylan Beaudette wrote: Hi, I have fit a series of ols() models, by group, in this manner: l <- ols(y ~ rcs(x, 4)) ... where the series of 'x' values in each group is the same, however knots are not always identical between groups. The result is a table of 'coefs' derived from the ols objects

[R] interpretation of RCS 'coefs' and 'knots'

2009-10-23 Thread Dylan Beaudette
Hi, I have fit a series of ols() models, by group, in this manner: l <- ols(y ~ rcs(x, 4)) ... where the series of 'x' values in each group is the same, however knots are not always identical between groups. The result is a table of 'coefs' derived from the ols objects, by group: group Inte