asn.curve: Compute the average sample number of a censored repetitive...

Description Usage Arguments Value Examples

View source: R/curves.plan.R

Description

This function calculates the ASN of the sampling plan coresponding to a quality level p

Usage

1
asn.curve(n, k, p, asvar)

Arguments

n

Sample size

k

Vector (k_r,k_a) of rejection and acceptance constants.

p

Single value or vector of nonconforming proportion

asvar

List with the asymptotical variance-covariance matrix of MLE estimators of location and scale lifetime distribution parameters. See asympt.var() for more details.

Value

The ASN of the sampling plan.

Examples

1
2
3
q<- 0.1
asvar<-asympt.var(q,"normal")
asn.curve(11,c(1.963213, 2.214167),0.067,asvar)

ULL-STAT/RepetPlan documentation built on Dec. 18, 2021, 5:15 p.m.