[R] Spline regression (or any localized regression) in the setting of a random effects model.

Bert Gunter gunter.berton at gene.com
Tue Apr 22 00:38:57 CEST 2014

See gam() and gamm() in the mgcv package.


Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374

"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
H. Gilbert Welch

On Mon, Apr 21, 2014 at 3:25 PM, John Sorkin
<JSorkin at grecc.umaryland.edu> wrote:
> Colleagues,
> Is there any R program that will allow me to run a localized regression (e.g. smoothing spline) in the context of a random effects model? I have data on the growth of animals and want to create growth curves. I am not certain what shape the growth curve would take, so I would like to start with some sort of smoothed (but not "linear") regression to determine the shape of the growth curves. I would like to use a random effects model because I have multiple pairs of observations (age and weight) for each animal. If the shape of the growth curves appear to fit some parametric distribution, I will switch to a parametric model.
> Thank you,
> John
> John David Sorkin M.D., Ph.D.
> Professor of Medicine
> Chief, Biostatistics and Informatics
> University of Maryland School of Medicine Division of Gerontology and Geriatric Medicine
> Baltimore VA Medical Center
> 10 North Greene Street
> GRECC (BT/18/GR)
> Baltimore, MD 21201-1524
> (Phone) 410-605-7119
> (Fax) 410-605-7913 (Please call phone number above prior to faxing)
> Confidentiality Statement:
> This email message, including any attachments, is for ...{{dropped:14}}

More information about the R-help mailing list