efast_run_Analysis_from_DB: Runs the eFAST Analysis for a set of results stored in a...

Description Usage Arguments

View source: R/efast_analysis.R

Description

Produces a file summarising the analysis; partitioning the variance between parameters and providing relevant statistics. These include, for each parameter of interest, first-order sensitivity index (Si), total-order sensitivity index (STi), complementary parameters sensitivity index (SCi), and relevant p-values and error bar data calculated using a two-sample t-test and standard error respectively. For a more detailed examination of this analysis, see the references in the R Journal paper. For ease of representation, the method also produces a graph showing this data for each simulation output measure. In this case, this function works with spartanDB to analyse data stored in a database

Usage

1
2
3
efast_run_Analysis_from_DB(efast_sim_results, number_samples, parameters,
  number_curves, measures, OUTPUTMEASURES_TO_TTEST = 1:length(measures),
  TTEST_CONF_INT = 0.95)

Arguments

efast_sim_results

Set of simulation results mined from the database, put into the format required by spartan

number_samples

Number of samples taken per parameter

parameters

Array containing the names of the parameters of which parameter samples have been generated

number_curves

The number of 'resamples' to perform (see eFAST documentation) - recommend using at least 3

measures

Array containing the names of the output measures which are used to analyse the simulation

OUTPUTMEASURES_TO_TTEST

Which measures in the range should be tested to see if the result is statistically significant. To do all, and if there were 3 measures, this would be set to 1:3

TTEST_CONF_INT

The level of significance to use for the T-Test (e.g. 0.95)


spartan documentation built on May 2, 2019, 9:39 a.m.