confidenceInterval: Calculate confidence interval

Description Usage Arguments

Description

Confidence intervals are determined as percentiles (default 10 and 90). If the correcpsonding average value is less than the low point then we set the lower point to the minimum value. Conversely if the average value is higher than the upper limit then we set the upper limit to the max value.

Usage

1
2
confidenceInterval(calcMethod = "weighted", dataValue = as.numeric(),
  dataWeights = as.numeric(), pValues = c(0.1, 0.9), na.rm = FALSE)

Arguments

calcMethod

Calculation method. Can be one of "weighted", "robust" or "average"

dataValue

Vector of values to calculate confidence interval for

dataWeights

Vector of weights for weighted calculation

pValues

Vector of percentiles for the confidence interval. Defaults to c(0.1, 0.9) for 10 and 90 percentiles.


dadrivr/ffanalytics documentation built on May 14, 2019, 3:12 p.m.