Grid points for group sequential design numerical integration
Source:R/gridpts_h1_hupdate_rcpp_interface.R
gridpts.Rd
Points and weights for Simpson's rule numerical integration from
p 349 - 350 of Jennison and Turnbull book.
This is not used for arbitrary integration, but for the canonical form of Jennison and Turnbull.
mu is computed elsewhere as drift parameter times sqrt of information.
Since this is a lower-level routine, no checking of input is done; calling routines should
ensure that input is correct.
Lower limit of integration can be -Inf
and upper limit of integration can be Inf
Arguments
- r
Integer, at least 2; default of 18 recommended by Jennison and Turnbull
- mu
Mean of normal distribution (scalar) under consideration
- a
lower limit of integration (scalar)
- b
upper limit of integration (scalar
> a
)