RESTK_training {RESTK} | R Documentation |
RESTK Training
Description
RESTK_training
function used to project the maxk line into the probabilities of interest
Usage
RESTK_training(
training_data = NULL,
probs = NULL,
probs_interest = NULL,
bootstrap_size = NULL,
bootstrap_training_sims = NULL
)
Arguments
training_data |
training data |
probs |
Probabilities where maxk was evaluated |
probs_interest |
Probabilities of interest to estimate |
bootstrap_size |
size of bootstrap simulations on the training data |
bootstrap_training_sims |
number of bootstrap simulations on the training data |
Value
Returns the estimated maxk line from the probabilities of interest
Examples
training_data <- rnorm(1e3, mean = 100, sd = 10)
probs <- c(1-1e-1, 1-0.5e-1, 1-1e-2)
probs_interest <- c(1-1e-6, 1-1e-7)
bootstrap_size <- 1000
bootstrap_training_sims <- 100
maxk_line <- RESTK_training(training_data = training_data,
probs = probs,
probs_interest = probs_interest,
bootstrap_size = bootstrap_size,
bootstrap_training_sims = bootstrap_training_sims)
[Package RESTK version 1.0.0 Index]