| Statistics Toolbox | Search  Help Desk |
| betastat | Examples |
Mean and variance for the beta distribution.
Syntax
[M,V] = betastat(A,B)
Description
For the beta distribution:Examples
If the parameters are equal, the mean is 1/2.a = 1:6;
[m,v] = betastat(a,a)
m =
0.5000 0.5000 0.5000 0.5000 0.5000 0.5000
v =
0.0833 0.0500 0.0357 0.0278 0.0227 0.0192