doe: Compute the DoE (Degrees of Extremeness) of an observation

Description Usage Arguments Value References

View source: R/t21.R

Description

Compute the DoE (Degrees of Extremeness) of an observation

Usage

1
doe(y, y_pred, ref_lower, ref_upper)

Arguments

y

The observed value

y_pred

This is the model based expected value

ref_lower

Lower value of the reference band, i.e. the 5th percentile value

ref_upper

Upper value of the reference band, i.e. the 95th percentile value

Value

the degree of extremeness, i.e. the number of times the observation is above or below the distance between the mean and the nearest reference band, respectively.

References

Merz, E., C. Thode, B. Eiben, and S. Wellek. 2016. "Prenatal Risk Calculation (PRC) 3.0: An Extended Doe-Based First-Trimester Screening Algorithm Allowing for Early Blood Sampling." Ultrasound International Open 2: E19–E26. doi:10.1055/s-0035-1569403.


hoehleatsu/trisomy21risk documentation built on Sept. 19, 2020, 8:44 p.m.