First shape parameter, specified as a positive scalar value or an array of positive
scalar values. If both a and b are arrays,
they must be the same size. If either a or b
is a scalar, then betastat expands the scalar argument into a
constant array of the same size as the other argument.
Data Types: single | double
Second shape parameter, specified as a positive scalar value or an array of positive
scalar values. If both a and b are arrays,
they must be the same size. If either a or b
is a scalar, then betastat expands the scalar argument into a
constant array of the same size as the other argument.
Mean for the beta distribution, returned as a numeric scalar or an array of numeric
scalars. m is the same size as a and
b. Each element in m is the mean of the beta
distribution specified by the corresponding elements in a and
b. If a(i) or b(i) is
less than or equal to zero, then m(i) is
NaN.
The mean of the beta distribution with parameters a and
b is a / (a +
b).
Variance for the beta distribution, returned as a numeric scalar or an array of
numeric scalars. v is the same size as a and
b. Each element in v is the variance of the
beta distribution specified by the corresponding elements in a and
b. If a(i) or b(i) is
less than or equal to zero, then v(i) is
NaN.
The variance of the beta distribution with parameters a and
b is
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.
Seleziona un sito web
Seleziona un sito web per visualizzare contenuto tradotto dove disponibile e vedere eventi e offerte locali. In base alla tua area geografica, ti consigliamo di selezionare: .
Puoi anche selezionare un sito web dal seguente elenco:
Come ottenere le migliori prestazioni del sito
Per ottenere le migliori prestazioni del sito, seleziona il sito cinese (in cinese o in inglese). I siti MathWorks per gli altri paesi non sono ottimizzati per essere visitati dalla tua area geografica.