residual_diag | R Documentation |
Plots the emulator residuals.
residual_diag(emulator, histogram = FALSE, ...)
emulator |
The emulator to consider. |
histogram |
Should a histogram or a scatter plot be shown? Default: FALSE |
... |
Any additional arguments (used internally) |
An emulator is composed of two parts: a global regression surface, and a local correlation structure. It can sometimes be informative to examine the residuals of the regression surface on the training set, to determine the extent to which the regression surface is being ‘corrected for’ by the correlation structure.
A set of residuals, standardised by the regression surface residual standard error.
Other diagnostic functions:
analyze_diagnostic()
,
classification_diag()
,
comparison_diag()
,
get_diagnostic()
,
individual_errors()
,
standard_errors()
,
summary_diag()
,
validation_diagnostics()
residual_diag(SIREmulators$ems$nS)
residual_diag(SIREmulators$ems$nI, TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.