LOST-STATS / lost-stats.github.io

Source code for the Library of Statistical Techniques
https://lost-stats.github.io/
GNU General Public License v2.0
257 stars 166 forks source link

Interaction terms and polynomials in Julia #206

Closed gabriel-fallen closed 11 months ago

gabriel-fallen commented 11 months ago

I've added Julia examples that closely follow R and Python ones.

Once again I would greatly appreciate it if you'd add the hacktoberfest-accepted label to the PR. 😸

NickCH-K commented 11 months ago

Thank you! Looks good.

gabriel-fallen commented 11 months ago

@NickCH-K Thanks a lot!

Have you looked at the comments I wrote in the code snipped? Are the style and the content OK? I tried to explain some finer points for someone not intimately familiar with Julia or stats, but I have no idea if I make sense...

NickCH-K commented 11 months ago

I read the whole thing - looks fine to me! Curious about the differences in how collinear variables are dropped or not.

gabriel-fallen commented 11 months ago

Curious about the differences in how collinear variables are dropped or not.

That's some default built-in behaviour of the GLM Julia package. I don't think I can explain it any better than I already did at this point... 😅