est_proj_coef: One dimensional projection estimator coefficients

Description Usage Arguments Value

View source: R/est_proj_coef.R

Description

Given a sample of i.i.d. real rand. variables with a common density f and a basis of class Basis. This function calculates the coefficients of the projection estimator of the density f.

Usage

1
est_proj_coef(basis, data, j)

Arguments

basis

an object of class Basis

data

a sample of i.i.d. real random variables with common density

j

a natural number between 1 and the dimension of basis

Value

the jth estimated coefficient of the estimated density based on the basis and data


nschaefer1211/OSE documentation built on Dec. 31, 2020, 12:59 a.m.