Gauss-Hermite

Description

Calculates the zeros and weights needed for Gauss-Hermite quadrature.

Usage

1
ghq(n.points = 1, modified = TRUE)

Arguments

n.points

Number of points.

modified

Multiply by exp(zeros**2)? Default is TRUE.

Details

Based on a Fortran 66 subroutine written by professor Jianming Jin.

Value

A list vith components

zeros

The zeros (abscissas).

weights

The weights

Note

The code is modified to suit the purpose of glmmML, with the permission of professor Jin.

Author(s)

Jianming Jin, Univ. of Illinois, Urbana-Campaign

References

Gauss-Hermite

See Also

glmmML

Examples

1
ghq(15, FALSE)