for example,
AIC = ModelComparison_AIC_BIC(MemDataset(3), {SwapModel(), StandardMixtureModel()})
would report:
Error using mle>validateInputTypes (line 769)
Expected input to be one of these types:
single, double
Instead its type was struct.
Error in mle (line 258)
validateInputTypes(data, cens, freq, alpha, ntrials, theta, mu, truncation, start);
Error in MLE (line 42)
vals{c} = mle(data, 'logpdf', model.logpdf, 'start', model.start(c,:), ...
Error in ModelComparison_AIC_BIC (line 69)
[params, logLike(md)] = MLE(data, models{md});