Weight, specified as one of:
- 0 — normalizes by the number of observations-1. If there is only one observation, the weight is 1.
- 1 — normalizes by the number of observations.
- a vector made up of nonnegative scalar weights corresponding to the dimension of A along which the variance is calculated.