Type: SystemDouble The array of observations to fit the model against.
The array elements can be either of type double (for univariate data) or type
double[] (for multivariate data).
weights
Type: SystemDouble The weight vector containing the weight for each of the samples.