sdo.ParameterSpace
Specify probability distributions for model parameters
Description
Use sdo.ParameterSpace to specify the probability distributions
for model parameters that define a parameter space for sensitivity
analysis. You use the sdo.ParameterSpace object as an input
to the sdo.sample command and generate samples of the model parameters.
The software generates these samples using the distributions specified for each parameter. You
evaluate the cost function for each of these samples using the
sdo.evaluate command and analyze how the model parameters influence the
cost function.
The parameters in the space defined by a sdo.ParameterSpace object are
all randomly sampled. To define a gridded parameter space for sampling parameters at specified
values, use sdo.GriddedSpace.
Creation
Description
creates an ps = sdo.ParameterSpace(p)sdo.ParameterSpace object for the specified
model parameters. The software assigns the parameter names to the
ParameterNames property and default values to the remaining
properties, including ParameterDistributions. The software specifies
the uniform distribution for each parameter in p and sets the values
of the Lower and Upper parameters of the uniform
distribution as follows:
Lower— Set top.Minimum. Ifp.Minimumis equal to-Inf, then the software setsLowerto either0.9*p.Valueifp.Valueis nonzero, or to –1.Upper— Set top.Maximum. Ifp.Maximumis equal toInf, then the software setsUpperto either1.1*p.Valueifp.Valueis nonzero, or to 1.
Input Arguments
Properties
Object Functions
setDistribution | Set distribution of parameter in
sdo.ParameterSpace
object |
addParameter | Add parameter to sdo.ParameterSpace or
sdo.GriddedSpace object |
removeParameter | Remove parameter from sdo.ParameterSpace or
sdo.GriddedSpace object |
sdo.sample | Generate parameter samples for sensitivity analysis |
combine | Combine parameter spaces defined for sensitivity analysis |
Examples
Version History
Introduced in R2014a
See Also
addParameter | sdo.sample | sdo.getParameterFromModel | makedist | sdo.GriddedSpace | combine