cont_sensitivity | R Documentation |
Runs several iterations of a full COI sensitivity analysis with varying parameters.
cont_sensitivity(
repetitions = 10,
coi = 3,
max_coi = 25,
plmaf = runif(1000, 0, 0.5),
coverage = 200,
alpha = 1,
overdispersion = 0,
relatedness = 0,
epsilon = 0,
seq_error = 0.01,
bin_size = 20,
comparison = "overall",
distance = "squared",
coi_method = "variant",
use_bins = FALSE
)
A list of the following:
predicted_coi
: A dataframe of the predicted COIs. COIs are
predicted using compute_coi()
. Each column represents a separate set
of parameters. Each row represents a predicted COI. Predictions are done
many times, depending on the value of repetitions
.
probability
:A list of matrices containing the probability
that our model predicted each COI value. Each row contains the probability
for a different run. The first row contains the average probabilities over
all the runs.
param_grid
: The parameter grid. The parameter grid is all
possible combinations of the parameters inputted. Each row represents a
unique combination.
boot_error
: A dataframe containing information about the error
of the algorithm. The first column indicates the COI that was fed into the
simulation. The other columns indicate the mean absolute error (mae),
the lower and upper bounds of the 95% confidence interval and the bias.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.