Docsity

Statistical Analysis: Understanding the Relationship between Two Variables, Study notes of Data Analysis & Statistical Methods

Partial preview of the text

Download Statistical Analysis: Understanding the Relationship between Two Variables and more Study notes Data Analysis & Statistical Methods in PDF only on Docsity!

Chapter 3

Association

 Associations: relationship between two variables when one variable occurring at a certain level makes it more likely for the second variable to occur at a certain level.  Examples: ◦ (^) Amount of time you eat & weight gain ◦ (^) Time you study & exam score

Analyzing Two Variables at Once

Explanatory Response

Size of TV Price of TV

Level of Advertising Volume of Sales

Size of Sports team

payroll

Number of games

won

Gender Political Ideology

 Explanatory and response labels ARE NOT always appropriate.  Example: ◦ (^) Birth Month and whether you own a pet or not  Both Variables can be in the dataset, but don’t explain each other!

Lack of Explanatory and

Response Relationship

Gender Rep Dem Ind. Row Total Male 9 27 4 Female 8 12 4 Column Total Example 3.

Conditional Proportions : the proportion

restricted to, or conditional on, the level of

the explanatory variable under

consideration

Variables: Stat Majors and Women

Conditional Proportion could be:

◦ (^) What proportion of stat majors are women? Conditional Proportions

 Recall: Quantitative Variables: variables take on numeric values that convey the relative magnitude of the variable.  When examining the association between two quantitative variables we often denote the explanatory variable as x, and the response variable as y.

Section 3.2:

Two Quantitative Variables

 Scatterplot: A graphical display that plots a point for each subject with each variable on the appropriate axis. Graphical Display Explanatory Variable Response Variable

Rather strong, positive, linear trend

Strong quadratic pattern

Anomalies: Clustered Data

Correlation : quantifies (gives a number) the strength of the relationship between two sets of measurements (x & y)  Notation:

◦ρ—population correlation

◦ r –sample correlation

Examining Linear Data

 Clearly both variables must be quantitative  No information about curved relationships  Not robust More properties of r

 This formula involves computing the z-score for the data points

Formula Used for r

Notice why the variables must be quantitative and r is not robust! Scatterplots should be used in conjunction with r b/c you can get high correlation even with nonlinear data! y i y x i x n i x y s y y z s x x z where z z n r      

 1 1 1