ali_protocol
2011-Dec-18 12:26 UTC
[R] Smoothing spline with smoothing parameters selected by "generalized maximum likelihood"
Hi there, How may I smooth spline two vectors with the smoothing parameter selected by generalized maximum likelihood (GML) .? Thanks a lot. -- View this message in context: http://r.789695.n4.nabble.com/Smoothing-spline-with-smoothing-parameters-selected-by-generalized-maximum-likelihood-tp4210679p4210679.html Sent from the R help mailing list archive at Nabble.com.
Simon Wood
2012-Jan-02 16:04 UTC
[R] Smoothing spline with smoothing parameters selected by "generalized maximum likelihood"
something like library(mgcv) gam(y~s(x,k=50),method="REML") is one option for spline smoothing y w.r.t. x and choosing the smoothing parameter by GML (GML and REML do the same thing). On 18/12/11 12:26, ali_protocol wrote:> Hi there, > > How may I smooth spline two vectors with the smoothing parameter selected > by generalized maximum likelihood (GML) .? > > Thanks a lot. > > -- > View this message in context: http://r.789695.n4.nabble.com/Smoothing-spline-with-smoothing-parameters-selected-by-generalized-maximum-likelihood-tp4210679p4210679.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > 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. >-- Simon Wood, Mathematical Science, University of Bath BA2 7AY UK +44 (0)1225 386603 http://people.bath.ac.uk/sw283
Seemingly Similar Threads
- What is the function for "smoothing splines with the smoothing parameter selected by generalized maximum likelihood?
- How to choose a proper smoothing spline in GAM of mgcv package?
- Constrained cubic smoothing spline
- How to read or write Geolocation (RFC6442) data in SIP/PJSIP messages ?
- matrix indexing (igraph ?)