Description Usage Arguments Value Examples
View source: R/bias_correction.R
Using different methods to calibrate the systematic bias between observed and true data.
1 | bias_correction(train.obs, train.true, test.obs, method = "empirical_quantile")
|
train.obs |
a numeric vector of training observed data to build the bias correction model. |
train.true |
a numeric vector of training true data to build the bias correction model. |
test.obs |
a numeric vector of test observed data to be calibrated. |
method |
a character indicating the chosen bias correction method;
|
a numeric vector that contains the corrected test.obs
data.
1 2 3 4 | bc_train_obs = c(0:8,9,9,9,9)
bc_test_obs = c(1:9,10,10,10,10)
bc_train_true = c(3:11,15,15,15,15)
bc_test_corrected = bias_correction(bc_train_obs, bc_train_true, bc_test_obs)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.