Learn R Programming

gamlss.demo (version 4.3-3)

demo.Locmean: Demos for local polynomial smoothing

Description

Those are four demos to show weighed and unweighed local mean and polynomial smoothing.

Usage

demo.Locmean(y = NULL, x = NULL, ...) demo.Locpoly(y = NULL, x = NULL, ...) demo.WLocpoly(y = NULL, x = NULL, ...) demo.WLocmean(y = NULL, x = NULL, ...)

Arguments

y
the response variable. If null it generates its own data
x
explanatory variable
...
for extra argument in the plot

Value

References

Bowman, Bowman, Gibson and Crawford (2008) rpanel, CRAN

Eilers, P. H. C. and Marx, B. D. (1996). Flexible smoothing with B-splines and penalties (with comments and rejoinder). Statist. Sci, 11, 89-121.

Rigby, R. A. and Stasinopoulos D. M. (2005). Generalized additive models for location, scale and shape, (with discussion), Appl. Statist., 54, part 3, pp 507-554.

Stasinopoulos D. M., Rigby R.A. and Akantziliotou C. (2006) Instructions on how to use the GAMLSS package in R. Accompanying documentation in the current GAMLSS help files, (see also http://www.gamlss.org/).

Stasinopoulos D. M. Rigby R.A. (2007) Generalized additive models for location scale and shape (GAMLSS) in R. Journal of Statistical Software, Vol. 23, Issue 7, Dec 2007, http://www.jstatsoft.org/v23/i07.

See Also

demo.PSplines

Examples

Run this code
 demo.Locmean()

Run the code above in your browser using DataLab