Skip to content

Example Code Model Structure Errors #358

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

Open
katherinekurth opened this issue Jan 9, 2023 · 0 comments
Open

Example Code Model Structure Errors #358

katherinekurth opened this issue Jan 9, 2023 · 0 comments

Comments

@katherinekurth
Copy link

Both example and original code that worked on Friday are now generating model structure errors. I have reinstalled all related packages and reextracted the example code but errors persist. Is anyone else having this issue?

Example Code Used:
example = load_example(data_set="EBS_pollock")

settings <- make_settings( n_x = 100,
Region = example$Region,
purpose = "index2",
bias.correct = FALSE )

fit <- fit_model( settings = settings,
Lat_i = example$sampling_data[,'Lat'],
Lon_i = example$sampling_data[,'Lon'],
t_i = example$sampling_data[,'Year'],
b_i = example$sampling_data[,'Catch_KG'],
a_i = example$sampling_data[,'AreaSwept_km2'] )

Error:
Check bounds for the following parameters:
Param starting_value Lower MLE Upper final_gradient
2 ln_H_input 0 -5 -5 5 0.01932963

Error: Please change model structure to avoid problems with parameter estimates and then re-try; see details in ?check_fit

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