bootjack {gumboot} | R Documentation |
Bootstrap-jacknife of flow calibration statistics
Description
Bootstrap-jacknife of flow calibration statistics
Usage
bootjack(
flows,
GOF_stat = c("NSE", "KGE"),
nSample = 1000,
waterYearMonth = 10,
startYear = NULL,
endYear = NULL,
minDays = 100,
minYears = 10,
returnSamples = FALSE,
seed = NULL,
bootYearFile = NULL
)
Arguments
flows |
Required. Data frame containing the date, observed and simulated
flows. The variable names must be date, obs, and sim,
respectively. The |
GOF_stat |
Required. Name(s) of simulation goodness of fit statistic(s)
to be calculated. Currently both |
nSample |
Required. Number of samples for bootstrapping. |
waterYearMonth |
Required. Month of beginning of water year. Default
is |
startYear |
Optional. First year of data to be used. If |
endYear |
Optional. Last year of data to be used. If |
minDays |
Required. Minimum number of days per year with valid (i.e. greater than 0) flows. Default is 100. |
minYears |
Required. Minimum number years to be used. Default is 10. |
returnSamples |
Optional. Default is |
seed |
Optional. If |
bootYearFile |
Optional. If |
Value
Returns a data frame containing the goodness of fit statistic name
(i.e. NSE and/or KGE), and seJack
= standard error of
jacknife, seBoot
= standard error of bootstrap, p05, p50, p95
,
the 5th, 50th and 95th percentiles of the estimates, score
= jackknife
score, biasJack
= bias of jackknife, biasBoot
= bias of bootstap,
seJab
= standard error of jackknife after bootstrap.
Author(s)
Martyn Clark and Kevin Shook
See Also
Examples
NSE_stats <- bootjack(flows_1030500, "NSE")