8000 Inconsistency / clarification required between field `fitted` and function `predict` · Issue #114 · PLN-team/PLNmodels · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Inconsistency / clarification required between field fitted and function predict #114

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

Closed
jchiquet opened this issue Dec 14, 2023 · 0 comments · Fixed by #115
Closed

Inconsistency / clarification required between field fitted and function predict #114

jchiquet opened this issue Dec 14, 2023 · 0 comments · Fixed by #115
Assignees

Comments

@jchiquet
Copy link
Member

I am reporting an Issue received by email regarding the inconsistent behavior between fitted and predict, already discussed with Mahendra:

Dear Julien,

I am trying PLN Models, I run the following example code:

data(trichoptera)
trichoptera <- prepare_data(trichoptera$Abundance, trichoptera$Covariate)
myPLN <- PLN(Abundance ~ 1 + offset(log(Offset)), data = trichoptera, control = PLN_param(covariance = "full"))

But I am bit confusing why do myPLN$fitted and myPLN$predict(newdata=trichoptera, type="response") return different results?

Thank you a lot in advance,

Kind Regards,
Khadija Musayeva

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

Successfully merging a pull request may close this issue.

2 participants
0