Skip to content

ModelComparison_AIC_BIC error in unexpected input type #31

@J2K101000101

Description

@J2K101000101

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});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions