legendre_polynomial function

legendre_polynomial

legendre_polynomial

legendre_polynomial gives the Legendre polynomial design matrix over the input node points.

legendre_polynomial(x, sm)

Arguments

  • x: input node points
  • sm: List of plde fit

Examples

# clean up rm(list = ls()) library(plde) x = seq(-1, 1, length = 200) L = legendre_polynomial(x, list(dimension = 10)) # Legendre polynomial basis for dimension 1 to 10 matplot(x, L, type = "l")

Author(s)

JungJun Lee, Jae-Hwan Jhong, Young-Rae Cho, SungHwan Kim, Ja-yong Koo

References

JungJun Lee, Jae-Hwan Jhong, Young-Rae Cho, SungHwan Kim and Ja-Yong Koo. "Penalized Log-density Estimation Using Legendre Polynomials." Submitted to Communications in Statistics - Simulation and Computation (2017), in revision.

  • Maintainer: JungJun Lee
  • License: GPL (>= 2)
  • Last published: 2018-07-01

Useful links