Arguments

Description

"The most efficient design is to make all samples the
same size n. However when this is nor feasible, it
still is possible to modify the ANOVA calculations."

Note that the definition of xbarbar is no longer
mean(xbar), but rather a weighted average with weights
ni. Additionally it gives (in p) the p-value of the
computed Fisher ratio.

Given a number a of samples each of them composed of n_i
(i from 1 to a) observations this function computes in f
the Fisher ratio (it is the ratio between nr times the
variance of the means of samples and the mean of the
variances of each sample).

f=ftest(samples) computes the Fisher ratio of the
nc samples whose values are in the columns of the matrix
samples. Each one of these samples is composed of nr
values. (The Fisher ratio is the ratio between nr times
the variance of the means of samples and the mean of
variances of each sample)

[f,p]=ftest(samples) gives in p the p-value of the
computed Fisher ratio f.