laresbernardo / lares

Analytics & Machine Learning R Sidekick
https://laresbernardo.github.io/lares/
233 stars 49 forks source link

Terminology: Independent or dependent variable? #51

Closed shleeneu closed 11 months ago

shleeneu commented 12 months ago

In the lares package, I noticed what you mean by "independent" variable is the outcome variable. However, in most textbooks, the outcome variable is commonly referred to as the "response" or "dependent" variable, whereas the "independent" variable mostly refers to "predictors" or "features". See the textbook "An Introduction to Statistical Learning with Applications in R", page 16.

I'd suggest updating the terminology wherever it appears.

laresbernardo commented 12 months ago

Thanks for your feedback @shleeneu Can you share a couple of examples of where this is happening in the code/documentation? We can fix whatever is wrong and consider improving the wording for parameters if needed.

shleeneu commented 11 months ago

Here are a few instances:

Please note there are a few other places. I want to make sure I am not misunderstanding your code.

laresbernardo commented 11 months ago

Ah yes, you're absolutely right @shleeneu Don't know why it took so long for someone (including me) to notice. Will fix it ASAP! Thanks for reporting it

laresbernardo commented 11 months ago

I've fixed the documentation. There was no need to change any parameter name so it was an easy fix. Feel free to close this issue if you agree

shleeneu commented 11 months ago

Awesome, glad to have helped. Just one more:

https://github.com/laresbernardo/lares/blob/897269ccf8b0911b979f5faf336e945da8fce383/vignettes/h2o_automl.Rmd#L29

laresbernardo commented 11 months ago

Fixed, thanks!!