survival, graphics, stats, utils, cmprsk

graphics, stats, utils, survival, cmprsk
We provide tools to estimate two prediction accuracy metrics,
the average positive predictive values (AP) as well as the well-known AUC
(the area under the receiver operator characteristic curve) for risk scores.
The outcome of interest is either binary or censored event time.
Note that for censored event time, our functions' estimates, the AP and the
AUC, are time-dependent for pre-specified time interval(s). A function that
compares the APs of two risk scores/markers is also included. Optional
outputs include positive predictive values and true positive fractions at
the specified marker cut-off values, and a plot of the time-dependent AP
versus time (available for event time data).

Developed for use by those tasked with the routine detection,
characterisation and quantification of discrete changes in air
quality time-series, such as identifying the impacts of air quality
policy interventions. The main functions use signal isolation then
break-point/segment (BP/S) methods based on 'strucchange' and
'segmented' methods detect and quantify change events (Ropkins &
Tate, 2021, <doi:10.1016/j.scitotenv.2020.142374>).
c(person(given = "Karl", family = "Ropkins", role = c("aut",
"cre"), email = "k.ropkins@its.leeds.ac.uk", comment = c(ORCID =
"0000-0002-0294-6997")), person(given = "Anthony", family = "Walker",
role = c("ctb"), email = "anthony.walker@defra.gov.uk", comment =
c(ORCID = "0000-0003-3979-0989")), person(given = "James", family =
"Tate", role = c("ctb")))
openair, dplyr, loa, ggplot2, strucchange, segmented, mgcv,
tidyr, lubridate, purrr, ggtext, stats
Karl Ropkins [aut, cre] (<https://orcid.org/0000-0002-0294-6997>),
Anthony Walker [ctb] (<https://orcid.org/0000-0003-3979-0989>),
James Tate [ctb]

Functions are included for recalling AQL (Acceptable Quality Level or Acceptance Quality Level)
Based single, double, and multiple attribute sampling plans from the Military Standard (MIL-STD-105E) - American
National Standards Institute/American Society for Quality (ANSI/ASQ Z1.4) tables and for retrieving variable
sampling plans from Military Standard (MIL-STD-414) - American National Standards Institute/American Society
for Quality (ANSI/ASQ Z1.9) tables. The sources for these tables are listed in the URL: field. Also included
are functions for computing the OC (Operating Characteristic) and ASN (Average Sample Number) coordinates
for the attribute plans it recalls, and functions for computing the estimated proportion nonconforming and
the maximum allowable proportion nonconforming for variable sampling plans. The MIL-STD AQL Sampling schemes
were the most used and copied set of standards in the world. They are intended to be used for sampling a stream
of lots, and were used in contract agreements between supplier and customer companies. When the US military
dropped support of MIL-STD 105E and 414, The American National Standards Institute (ANSI) and the International
Standards Organization (ISO) adopted the standard with few changes or no changes to the central tables. This
package is useful because its computer implementation of these tables duplicates that available in other
commercial software and subscription online calculators.