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.
Seleccione un país/idioma
Seleccione un país/idioma para obtener contenido traducido, si está disponible, y ver eventos y ofertas de productos y servicios locales. Según su ubicación geográfica, recomendamos que seleccione: .
También puede seleccionar uno de estos países/idiomas:
Cómo obtener el mejor rendimiento
Seleccione China (en idioma chino o inglés) para obtener el mejor rendimiento. Los sitios web de otros países no están optimizados para ser accedidos desde su ubicación geográfica.