pwLRT


 p = pwLRT(chisq1, numPars1, chisq2, numPars2)

 Calculates the probability, that in comparison with model 2,
 model 1 is sufficient to explain the data.
 A small p value indicates, that model 2
 should be preferred (which still may not be sufficient).

 Model 2 must be an extension of model 1.

 

Arguments for pwLRT

 chisq1/2:   Chi-square value of model 1 or 2
 numPars1/2: Number of fitted parameters of model 1 or 2