Code covered by the BSD License  

Highlights from
Discriminant Analysis Programme

image thumbnail
from Discriminant Analysis Programme by Bartolomeu Rabacal
Discrimination and Classification of data to and from groups with classical/robust estimation

displayLikelihoodRatioTest(pValue, testStatistic, df);
function displayLikelihoodRatioTest(pValue, testStatistic, df);

disp('Chi Squared Test Statistic for the Likelihood Ratio Test')
disp(testStatistic)
disp('Degrees of freedom of the Test Statistic for the Likelihood Ratio Test')
disp(df)
disp('Probability for rejecting Null Hypothesis')
disp(1 - pValue)
disp('p-value for the Likelihood Ratio Test')
disp(pValue)

Contact us at files@mathworks.com