Revision d14cbd1a73b18f3b220155004d0d81a475932fd6 authored by Bernhard Steiert on 15 July 2014, 15:11:50 UTC, committed by Bernhard Steiert on 15 July 2014, 15:11:50 UTC
1 parent 255c2f1
arLRT.m
% LRT
%
% [pval,q] = arLRT(DeltaChi2, DeltaDF, alpha)
% pval = 1-chi2cdf(DeltaChi2, DeltaDF);
% q = pval > alpha;
%
% q = TRUE: accept H0, the smaller model can not be dismissed
% q = FALSE: reject H0, dismiss smaller model in favour of larger model
function [pval,q] = arLRT(DeltaChi2, DeltaDF, alpha)
pval = 1-chi2cdf(DeltaChi2, DeltaDF);
q = pval > alpha;
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...