Setting intercept to 0
Is it possible to set the intercept to 0? I tried using GLM.jl to do the same but i get a collinearity error. I was wondering if there was a way to do it in this package since it does exactly what i want.
Best, W
Travelling and not at the computer: have you tried to add a data point corresponding to the intercept (the origin in your case) and with a very large weight (=0 error) ?
I tried using GLM.jl to do the same but i get a collinearity error.
For GLM, please check this Discourse post.
Sorry I never replied to your first comment. I have not tried doing what you suggested in the first comment but will try the GLM fix.
That seems to be different from how I was setting the intercept.