These functions are used to compute statistics required by the beta chart.

stats.beta(data, sizes)

Arguments

data

the observed data values.

sizes

sample sizes

Value

The function stats.beta returns a list with components statistics and center.

Details

Provides a list containing the centerline of the chart pbar and the data manipulated to be used in the construction of the chart data/sizes.

Examples

data(Montgomery2005) stats.beta(Montgomery2005$Defective, Montgomery2005$Sample)
#> $statistics #> [1] 0.24 0.30 0.16 0.20 0.08 0.14 0.32 0.18 0.28 0.20 0.10 0.12 0.34 0.24 0.44 #> [16] 0.16 0.20 0.10 0.26 0.22 0.40 0.36 0.48 0.30 0.18 0.24 0.14 0.26 0.18 0.12 #> #> $center #> [1] 0.2313333 #>