[R] weights and prior.weights

From: Paul Baverel <Paul.Baverel_at_farmbio.uu.se>
Date: Thu, 15 May 2008 13:57:20 +0200

Dear all,
I have a problem finding how to use properly prior.weights and weights options when performing a stepwise GAM analysis (gam and step.gam functions of GAM package) for covariate inclusions. The code I use is coming from the documentation and I do not get any error messages but not expected results. Just want to know if some people have experience using these 2 options in GAM package (or even in glm).

Thanks beforehand for references or help on how to handle these 2 options.

Paul Baverel, MSc,
PhD student
Div. of Pharmacokinetics and Drug Therapy,
Dept. of Pharmaceutical Biosciences,
Faculty of Pharmacy 
Uppsala University

R-help_at_r-project.org mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Thu 15 May 2008 - 16:21:49 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 15 May 2008 - 17:30:38 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive