Estatstica e Modelos Probabilsticos - COE241 Aula passada Aula de - - PowerPoint PPT Presentation

estat stica e modelos probabil sticos coe241
SMART_READER_LITE
LIVE PREVIEW

Estatstica e Modelos Probabilsticos - COE241 Aula passada Aula de - - PowerPoint PPT Presentation

Estatstica e Modelos Probabilsticos - COE241 Aula passada Aula de hoje Goodness of fit: v.a. Regresso linear discreta Goodness of fit: v.a. contnua Kolmogorov- Smirnov Rosa Leo 2013 Scatter Diagrams A scatter plot scatter


slide-1
SLIDE 1

Rosa Leão – 2013

Estatística e Modelos Probabilísticos - COE241

Aula de hoje Regressão linear Aula passada Goodness of fit: v.a. discreta Goodness of fit: v.a. contínua Kolmogorov- Smirnov

slide-2
SLIDE 2

Rosa Leão – 2013

X n−1

2

=n−1S

2

0

2

Scatter Diagrams

A scatter plot scatter plot is a graph that may be used to represent the relationship between two variables. Also referred to as a scatter scatter diagram diagram.

slide-3
SLIDE 3

Rosa Leão – 2013

Dependent and Independent Variables

A dependent variable dependent variable is the variable to be predicted or explained in a regression model. This variable is assumed to be functionally related to the independent variable.

slide-4
SLIDE 4

Rosa Leão – 2013

Dependent and Independent Variables

An independent variable independent variable is the variable related to the dependent variable in a regression equation. The independent variable is used in a regression model to estimate the value

  • f the dependent variable.
slide-5
SLIDE 5

Rosa Leão – 2013

Two Variable Relationships

X Y

(a) Linear (a) Linear

slide-6
SLIDE 6

Rosa Leão – 2013

Two Variable Relationships

X Y

(b) Linear (b) Linear

slide-7
SLIDE 7

Rosa Leão – 2013

Two Variable Relationship

X Y

(c) Curvilinear (c) Curvilinear

slide-8
SLIDE 8

Rosa Leão – 2013

Two Variable Relationships

X Y

(d) Curvilinear (d) Curvilinear

slide-9
SLIDE 9

Rosa Leão – 2013

Two Variable Relationships

X Y

(e) No (e) No Relationship Relationship

slide-10
SLIDE 10

Rosa Leão – 2013

Correlation

The correlation coefficient correlation coefficient is a quantitative measure of the strength

  • f the linear relationship between two
  • variables. The correlation ranges

from + 1.0 to - 1.0. A correlation of ± 1.0 indicates a perfect linear relationship, whereas a correlation of 0 indicates no linear relationship.

slide-11
SLIDE 11

Rosa Leão – 2013

Correlation

CORRELATION COEFFICIENT CORRELATION COEFFICIENT

where:

ρ = correlation coefficient σx = standard deviation of X σy = standard deviation of Y

ρ= E[(X−E[X])(Y −E[Y ])] σ XσY

slide-12
SLIDE 12

Rosa Leão – 2013

Correlation

SAMPLE CORRELATION COEFFICIENT SAMPLE CORRELATION COEFFICIENT

where:

r = Sample correlation coefficient n = Sample size x = Value of the independent variable y = Value of the dependent variable

∑ ∑ ∑

− − − − = ] ) ( ][ ) ( [ ) )( (

2 2

y y x x y y x x r

slide-13
SLIDE 13

Rosa Leão – 2013

Simple Linear Regression Analysis

Simple linear regression analysis Simple linear regression analysis analyzes the linear relationship that exists between a dependent variable and a single independent variable.

slide-14
SLIDE 14

Rosa Leão – 2013

Simple Linear Regression Analysis

SIMPLE LINEAR REGRESSION MODEL SIMPLE LINEAR REGRESSION MODEL

where: y = Value of the dependent variable x = Value of the independent variable a = Population’s y-intercept b = Slope of the population regression line = Error term, or residual

y=a+bx +ε

ε

slide-15
SLIDE 15

Rosa Leão – 2013

Simple Linear Regression Analysis

REGRESSION COEFFICIENTS REGRESSION COEFFICIENTS In the simple regression model, there are two coefficients: the intercept and the slope.

slide-16
SLIDE 16

Rosa Leão – 2013

Simple Linear Regression Analysis

The interpretation of the regression regression slope coefficient slope coefficient is that it gives the average change in the dependent variable for a unit increase in the independent variable. The slope coefficient may be positive or negative, depending on the relationship between the two variables.

slide-17
SLIDE 17

Rosa Leão – 2013

Simple Linear Regression Analysis

The least squares criterion least squares criterion is used for determining a regression line that minimizes the sum of squared residuals.

slide-18
SLIDE 18

Rosa Leão – 2013

Simple Linear Regression Analysis

A residual

residual is the difference between the actual value of the dependent variable and the value predicted by the regression model.

y y ˆ −

slide-19
SLIDE 19

Rosa Leão – 2013

Simple Linear Regression Analysis

X Y

4

300 20 100 400

x y 60 150 ˆ + =

Years with Company Sales in Thousands 390 390 312 312

Residual = 312 - 390 = -78