Skip to contents

Perfom uncerrtainty and sensitivity analysis.

Usage

analyze_uncertainty(
  input,
  sobol_analysis = c("sobolmartinez", "sobol2002", "sobolSalt", "sobol2007",
    "soboljansen", "soboltouati"),
  verbose = getOption("floodam.cba.sa")[["verbose"]]
)

Arguments

input

list of data.frame, inputs needed to perform analysis.

sobol_analysis

character, method used to perform sensitivity analysis.

verbose

logical, should the function be verbose.

Value

List with two slots. The first slot named "u_a" contains a data.frame of uncertainty analysis, the second slot named "s_a" contains the result of the sensitivity analyis.

Details

analyze_uncertainty() performs uncertainty analysis and sensitivity analysis. It takes informations from input to first draw to set of values for each parameters.

Those two sets are combined in one to create a set uncertainty indicators using model_npv().

Sobol analysis is performed by using a function from sensitivity library. Default method is sobolmartinez, but this can be changed with the parameter sobol_analysis of the function. Basically, the two sets of values are used by the function chosen.

From the sensitivity function only the value for first and total indices, and the normalized variances of the Conditional Expectations are kept.

Those results and graphical analysis are saved.

Author

Frédéric Grelot, frederic.grelot.1994_cran@m4x.org