-
Notifications
You must be signed in to change notification settings - Fork 0
This repo contains code to create a simple Linear Regression model in 3 different ways: 1) Python - using statsmodels 2) Python - using sklearn and 3) R using the linear model (lm) function. This code demonstrates how each method returns the same variable coefficients, p-values and other valuable test statistics.
GabriellaCerrai/Simple-Linear-Regression-3-Ways-
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
About
This repo contains code to create a simple Linear Regression model in 3 different ways: 1) Python - using statsmodels 2) Python - using sklearn and 3) R using the linear model (lm) function. This code demonstrates how each method returns the same variable coefficients, p-values and other valuable test statistics.
Topics
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published