View source: R/14.2.4-strategy-bootstrap.R
| fit_fb4_bootstrap | R Documentation |
Coordinates the bootstrap fitting process: runs the resampling loop via
bootstrap_p_values, computes summary statistics and confidence
intervals, and runs a final detailed simulation with the mean p_value.
fit_fb4_bootstrap(
final_weights,
processed_simulation_data,
n_bootstrap = 1000,
oxycal = 13560,
confidence_level = 0.95,
sample_size = NULL,
compute_percentiles = TRUE,
parallel = FALSE,
n_cores = NULL,
upper_p = 1,
verbose = FALSE,
store_predicted_weights = TRUE
)
final_weights |
Vector of final observed weights |
processed_simulation_data |
Complete processed simulation data (contains initial_weight) |
n_bootstrap |
Number of bootstrap iterations, default 1000 |
oxycal |
Oxycalorific coefficient (J/g O2), default 13560 |
confidence_level |
Confidence level for intervals, default 0.95 |
sample_size |
Sample size for each bootstrap iteration (NULL = same as original) |
compute_percentiles |
Whether to compute additional percentiles, default TRUE |
parallel |
Whether to use parallel processing, default FALSE |
n_cores |
Number of cores for parallel processing (NULL = auto-detect) |
verbose |
Whether to show progress messages, default FALSE |
store_predicted_weights |
Whether to store predicted final weights, default TRUE |
List with bootstrap fitting results including consumption and predicted weights
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.