Rohmad Hidayat's Blog


My Notes on Mobile Technology, Python GUI, Python Web Framework, Software Development, Database, Server, Embedded System, Mini Computer

Using Python (and R) to calculate Linear Regressions

his page demonstrates three different ways to calculate a linear regression from python:

* Pure Python – Gary Strangman’s linregress function
* R from Python – R’s lsfit function (Least Squares Fit)
* R from Python – R’s lm function (Linear Model)

Now, With Python and R-software, we can build more complex data analytics sistem for supporting decission maker.

PLease visit


Filed under: Bussiness Intelligence, Data Analytics, Python

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: