a numeric vector of coefficients of length degree+1
Details
Fits a Hermite wave function density of degree degree. The values will
maximize the likelihood under the density specified under
dwavefunction. A more accurate representation is obtained for a
low degree if the sample is standardized to have mean zero and
variance one-half. There are diminishing returns to degree greater
than 20 or so due to floating point limitations.