sample_size_hint_ostit: Suggest sample-size for one-sided tolerance intervall test

Description Usage Arguments Details Value

Description

Calculates a sample-size to achieve a desired probabilty to pass the ostit for specified lower tolerance-limit and (hypothized) process-mean and process-sd and tolerance-intervall parameters coverage-probability and alpha.

Usage

1
2
sample_size_hint_ostit(p_success, process_mean, process_sd, spec_limit,
  spec_type, p_min, power)

Arguments

p_success

desired minimal probability to pass the ostit

process_mean

assumed process mean (estimated from Vorentwicklungs-Versuchen)

process_sd

assumed process sd (estimated from Vorentwicklungs-Versuchen)

spec_limit

spec limit for variable

spec_type

("lsl" or "usl") specification-type, i.e. lower or upper one-sided spec-limit

p_min

geforderte minimale i.o. rate des prozesses

power

geforderte Power des Tests

Details

sample-size wird bestimmt indem die Nullstelle der Funktion: p_reject_ostit(sample_size) - (1-p_success) für sample_size zwischen 2 und 1000 gesucht wird. Ist der Prozess so gut das p_reject ~ 0 für alle n=2..1000 so wird sample_size = 3 zurückgegeben

Ist der Prozess i.o. aber dicht an der Grenze, so kann p_success maximal (1-power) sein.

Value

sample-size


stephanGit/leistungstests documentation built on May 30, 2019, 3:14 p.m.