Stata 15 help for mf__gauss_hermite_nodes

Title

[M-5] _gauss_hermite_nodes() -- Gauss-Hermite quadrature

Syntax

real matrix _gauss_hermite_nodes(real scalar k)

Description

_gauss_hermite_nodes() returns a 2 x k matrix. The first row contains the abscissa, and the second row contains the corresponding weights for use in performing Gauss-Hermite quadrature.

Conformability

_gauss_hermite_nodes(k): k: 1 x 1 result: 2 x k

Diagnostics

_gauss_hermite_nodes() aborts with error if k is not an integer in the range 1 to 195.

Source code

Function is built in.


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index