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

lift missings in response, fitted, residuals? #650

Open
kolia opened this issue Oct 5, 2022 · 2 comments
Open

lift missings in response, fitted, residuals? #650

kolia opened this issue Oct 5, 2022 · 2 comments

Comments

@kolia
Copy link

kolia commented Oct 5, 2022

Currently, data rows that containmissings in the model inputs are silently dropped, so the output vector is shorter than the input by however many rows had missings. I think it would be more user-friendly to lift missings and return a vector with the same number of elements as the input has rows, with missings at indices that had missings in the inputs.

@kleinschmidt
Copy link
Member

THis is a long-standing issue in statsmodels land: JuliaStats/StatsModels.jl#202 (and see this WIP PR from @palday JuliaStats/StatsModels.jl#153) and should probably be handled at that level. But it's definitely on the road map there.

@ararslan
Copy link
Member

ararslan commented Oct 5, 2022

Not the same but see also JuliaStats/GLM.jl#496

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