Skip to content

Added method for vector of dependent variable #453

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

Conversation

KronosTheLate
Copy link

In this PR, inspired by this discussion, I have added methods to make a linear fit with a vector of inputs and a vector of inputs. Feedback is VERY welcome.

In this PR, inspired by [this discussion](https://discourse.julialang.org/t/the-simplest-linear-fit-with-glm/71316/3), I have added methods to make a linear fit with a vector of inputs and a vector of inputs.
Even though one can simply find the proportionallity coefficient between input X and output y from `X\y`, I think that adding the argument `through_origin` makes sense, in order to a) get an output with confidence-intervals etc, and b) to make GLM able to handle this case as well, making GLM capable of everything new users might expect. It also reduces the need for another package to implement the same thing, should they want this functionality.
@KronosTheLate
Copy link
Author

I am closing this, based on the continued discussion at https://discourse.julialang.org/t/the-simplest-linear-fit-with-glm/71316/11

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 this pull request may close these issues.

1 participant