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

Return fitting statistics and/or residuals #55

Open
ntthung opened this issue Mar 1, 2021 · 2 comments
Open

Return fitting statistics and/or residuals #55

ntthung opened this issue Mar 1, 2021 · 2 comments

Comments

@ntthung
Copy link

ntthung commented Mar 1, 2021

Hi Steffen,

Thanks for this great package which greatly facilitates imputations.

This is a feature request. Would it be possible to return the fitting statistics and/or residuals from the subroutines? For example, na_kalman() uses stats::StructTS() and forecast::auto.arima(), both of which return the log-likelihood and the residuals. These can be useful to compare fitting methods.

Thank you very much.

Best,
Hung

@SteffenMoritz
Copy link
Owner

Hi @ntthung,

thanks for opening an issue. Always good to know what users actually need 👍 Very good suggestion indeed.

Here is a (not so super great) workaround if you want to somehow get this information currently: #45

As you see, you are not alone with your request and it is definitely on the to-do list!

But you probably can't expect it soon. I'd like to do a bigger update and change the output for all na_ functions to provide more information. Doing a quick update only for na_kalman now would mean double work - since later on all na_ functions should provide output in a consistent / similar manner.

So thanks again for letting me know - there are so many things on my To-Do list - this is great input for prioritizing things.

@LittleHealth
Copy link

Looking forward to such changes!

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

3 participants