Regression analysis using Python - Risk Engineering

Regression analysis using Python

Eric Marsden

Some individuals use statistics as the drunken man uses lamp posts: for support rather than for illumination. ? attributed to Andrew Lang

Regression analysis

Linear regression analysis means "fitting a straight line to data" ? also called linear modelling

It's a widely used technique to help model and understand real-world phenomena ? easy to use ? easy to understand intuitively

Allows prediction

0.8 0.6 0.4 0.2

0 0 0.5 1 1.5 2 2.5 3 3.5 4

2 / 67

Regression analysis

A regression problem is composed of ? an outcome or response variable ? a number of risk factors or predictor variables that affect

? also called explanatory variables, or features in the machine learning community ? a question about , such as How to predict under different conditions?

is sometimes called the dependent variable and the independent variables ? not the same meaning as statistical independence ? experimental setting where the variables can be modified and changes in can be observed

3 / 67

Regression analysis: objectives

Prediction

Model inference

We want to estimate at some specific values of

We want to learn about the relationship between and , such as the combination of predictor variables which has the most effect on

4 / 67

Univariate linear regression

(when all you have is a single predictor variable)

5 / 67

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download