Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModelComparison_AIC_BIC error in unexpected input type #31

Open
J2K101000101 opened this issue Oct 7, 2021 · 1 comment
Open

ModelComparison_AIC_BIC error in unexpected input type #31

J2K101000101 opened this issue Oct 7, 2021 · 1 comment

Comments

@J2K101000101
Copy link

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

@J2K101000101
Copy link
Author

J2K101000101 commented Oct 7, 2021

I commented off the Validate interval censored data & Remove any NaN values & validateInputTypes in mle.m but would not recommend doing it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant