The moments of kernel density estimates are matched.
momKDE(beta, gamma, momy, kdeGaussMom, type)
Vector of regression parameters.
Design matrix.
A numerical vector of moments to be matched to (same length as beta
).
A R function object to be passed that calculates exact moments.
An integer specifying the bandwidth selection method used, see bw
.
Square root of sum of squared differences between gamma
*beta
and momy
(Eucledian distance).