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

"dispparam" for "gaussian" family is empty #18

Open
ch16S opened this issue Jun 19, 2022 · 0 comments
Open

"dispparam" for "gaussian" family is empty #18

ch16S opened this issue Jun 19, 2022 · 0 comments

Comments

@ch16S
Copy link

ch16S commented Jun 19, 2022

The main stackedsdm function calls the gaussian distribution dispersion parameter as follows:
out_params$dispparam <- summary(fit_init)$sigma^2
But using the $sigma does not called the std error column of the lm and thus returns an empty list value.

This needs to be adjusted to something such as:
out_params$dispparam <- summary(fit_init)$coefficients[1,2]

Cheers
Chris

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