sdo.AnalyzeOptions
Analysis options for sdo.analyze
Description
Specify analysis method and method options for sensitivity analysis
using sdo.analyze
.
Creation
Description
opt = sdo.AnalyzeOptions
creates an sdo.AnalyzeOptions
object and assigns default
values to the properties.
opt = sdo.AnalyzeOptions(Method=method_name)
sets the
Method
property as the value
method_name
.
Before R2021a, use the equivalent syntax opt =
sdo.AnalyzeOptions("Method",
.method_name
)
To change a property value after you create the object, use dot notation. For example:
opt = sdo.AnalyzeOptions; opt.Method = "StandardizedRegression"; opt.MethodOptions = "Ranked";
Properties
Method
— Analysis method
"Correlation"
(default) | "PartialCorrelation"
| "StandardizedRegression"
| "All"
| array of strings | cell array of character vectors
Analysis method used by sdo.analyze
, specified as one of the
following, or a string array or cell array of character vectors containing a subset
of the following:
"Correlation"
— Calculates the correlation coefficients, R. Use to analyze how a model parameter and the cost function outputs are correlated.R is calculated as follows:
x and y are the input arguments of
sdo.analyze
.R values are in the [-1, 1] range. The (i,j) entry of R indicates the correlation between x(i) and y(j).
R(i,j) > 0
— Variables have positive correlation. The variables increase together.R(i,j) = 0
— Variables have no correlation.R(i,j) < 0
— Variables have negative correlation. As one variable increases, the other decreases.
"PartialCorrelation"
(Requires a Statistics and Machine Learning Toolbox™ license) — Calculates the partial correlation coefficients, R. Use to analyze how a model parameter and the cost function are correlated, adjusting to remove the effect of the other parameters.R is calculated using
partialcorri
(Statistics and Machine Learning Toolbox) in the Statistics and Machine Learning Toolbox software."StandardizedRegression"
— Calculates the standardized regression coefficients, R. Use when you expect that the model parameters linearly influence the cost function.R is calculated as follows:
Consider a single sample (x1,...,xNp) and the corresponding single output, y. bx is the regression coefficient vector calculated using least squares assuming a linear model . R standardizes each element of bx by multiplying it with the ratio of the standard deviation of the corresponding x sample (σx) to the standard deviation of y (σy).
"All"
— The software calculates results for all applicable combinations ofMethod
andMethodOptions
. This option may be time consuming if you have a large sample set with many parameters and many different cost/constraint outputs.
For x (Ns-by-Np) and y (Ns-by-Nc), all the methods calculate R as an Np-by-Nc table. Here Ns is the number of samples, Np is the number of model parameters, and Nc is the number of cost/constraint function evaluations.
Example: Method="StandardizedRegression"
or
Method='StandardizedRegression'
calculates the standardized
regression coefficients
Example: Method=["Correlation","StandardizedRegression"]
or
Method={'Correlation','StandardizedRegression'}
calculates
both the correlation coefficients and the standardized regression
coefficients
Data Types: char
| string
MethodOptions
— Analysis method option
"Linear"
(default) | "Ranked"
| "Kendall"
| "AllApplicable"
Analysis method option that sdo.analyze
uses, specified as one of the following values:
"Linear"
— Pearson analysis.Applicable for all methods.
"Ranked"
— Ranked transformation or Spearman analysis.Applicable for all methods.
"Kendall"
— Kendall’s tau.Applicable when
Method
is specified as"Correlation"
."AllApplicable"
— Calculates each applicable combination ofMethod
andMethodOptions
.Applicable when
Method
is specified as"All"
.
For more information about these options, see Analyze Relation Between Parameters and Design Requirements.
Example: MethodOptions="Ranked"
or
Method='Ranked'
specifies the ranked transformation
option.
Data Types: char
| string
Examples
Specify Analysis Options
Create an sdo.AnalyzeOptions
object.
opt = sdo.AnalyzeOptions;
Set object properties using dot notation.
opt.Method = "PartialCorrelation"; opt.MethodOptions = "Ranked";
Version History
Introduced in R2014a
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)