Learn R Programming

smam (version 0.7.2)

approxNormalOrder: Auxiliary for Preparing Discrete Distribution used to approximating Standard Normal Distribution

Description

Auxiliary for preparing discrete distribution used to approximate standard normal. This function generates order statistics of standard normal with same probability assigned. Then, the discrete distribution is standardized to variance one and mean zero.

Usage

approxNormalOrder(m)

approxNormalOrder2(m, width)

Value

A numeric matrix with first column is support of discrete distribution and second column is corresponding p.m.f..

Arguments

m

int, the number of order statistics used

width

the width between two consecutive grid points.

Author

Chaoran Hu

Details

This function use EnvStats::evNormOrdStats to get the order statisics of standard normal distribution. The same probability is assigned for each order statistics.

See Also

EnvStats::evNormOrdStats for order statisics of standard normal. fitMRMEapprox for fit MRME with approximated measurement error.