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

Kenneth Frost kfrost at wisc.edu
Tue Apr 22 02:20:11 CEST 2014


Also, you might want to check out the gamm4 package.
Ken

On 04/21/14, Bert Gunter  wrote:
> See gam() and gamm() in the mgcv package.
> 
> Cheers,
> Bert
> 
> 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}}
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

--
Kenneth Frost
Postdoctoral Research Associate - Dept. of Plant Pathology
University of Wisconsin - Madison
Lab: (608) 262-9914
Mobile: (608) 556-9637
kfrost at wisc.edu




More information about the R-help mailing list