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

Fatal error in Gls(B > 0) #128

Open
DrJerryTAO opened this issue Apr 21, 2023 · 1 comment
Open

Fatal error in Gls(B > 0) #128

DrJerryTAO opened this issue Apr 21, 2023 · 1 comment

Comments

@DrJerryTAO
Copy link

DrJerryTAO commented Apr 21, 2023

Hi @harrelfe, I used Gls() with longitudinal data for bootstrapping, as random effect variance was nearly zero. The example operation in the help document worked, but with my own data, every time I tried bootstrapping, I encountered a fatal error message that I had to restart R session. It may have something to do with the fitting stage, where a bootstrapped sample does not have convergence. But it did not depend on the number of replicate, so the error could also come from the bootstrap result summary stage. It was okay only one time when I tested with B = 1, but the next time with random sampling, it still resulted in fatal error even with B = 1.

Would you consider updating it so a model fitting of a bootstrapped replicate with an error will generate NA instead of a fatal error in the bootstrap records?

@harrelfe
Copy link
Owner

Please provide a minimal working example here, with simple simulated data and code.

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

2 participants