Summarizing Data Graphical Methods
Histogram Stem-Leaf Diagram Grouped Freq Table Box-whisker Plot
Measure of Central Location 1.Mean 2.Median
Measure of Variability (Dispersion, Spread) 1.Range 2.Inter-Quartile Range 3.Variance, standard deviation 4.Pseudo-standard deviation
Descriptive techniques for Multivariate data In most research situations data is collected on more than one variable (usually many variables)
Graphical Techniques The scatter plot The two dimensional Histogram
The Scatter Plot For two variables X and Y we will have a measurements for each variable on each case: x i, y i x i = the value of X for case i and y i = the value of Y for case i.
To Construct a scatter plot we plot the points: ( x i, y i ) for each case on the X-Y plane. ( x i, y i ) xixi yiyi
Data Set #3 The following table gives data on Verbal IQ, Math IQ, Initial Reading Acheivement Score, and Final Reading Acheivement Score for 23 students who have recently completed a reading improvement program InitialFinal VerbalMathReadingReading StudentIQIQAcheivementAcheivement
(84,80)
Some Scatter Patterns
Circular No relationship between X and Y Unable to predict Y from X
Ellipsoidal Positive relationship between X and Y Increases in X correspond to increases in Y (but not always) Major axis of the ellipse has positive slope
Example Verbal IQ, MathIQ
Some More Patterns
Ellipsoidal (thinner ellipse) Stronger positive relationship between X and Y Increases in X correspond to increases in Y (more freqequently) Major axis of the ellipse has positive slope Minor axis of the ellipse much smaller
Increased strength in the positive relationship between X and Y Increases in X correspond to increases in Y (almost always) Minor axis of the ellipse extremely small in relationship to the Major axis of the ellipse.
Perfect positive relationship between X and Y Y perfectly predictable from X Data falls exactly along a straight line with positive slope
Ellipsoidal Negative relationship between X and Y Increases in X correspond to decreases in Y (but not always) Major axis of the ellipse has negative slope slope
The strength of the relationship can increase until changes in Y can be perfectly predicted from X
Some Non-Linear Patterns
In a Linear pattern Y increase with respect to X at a constant rate In a Non-linear pattern the rate that Y increases with respect to X is variable
Growth Patterns
Growth patterns frequently follow a sigmoid curve Growth at the start is slow It then speeds up Slows down again as it reaches it limiting size
Measures of strength of a relationship (Correlation) Pearson’s correlation coefficient (r) Spearman’s rank correlation coefficient (rho, )
Assume that we have collected data on two variables X and Y. Let ( x 1, y 1 ) ( x 2, y 2 ) ( x 3, y 3 ) … ( x n, y n ) denote the pairs of measurements on the on two variables X and Y for n cases in a sample (or population)
From this data we can compute summary statistics for each variable. The means and
The standard deviations and
These statistics: give information for each variable separately but give no information about the relationship between the two variables
Consider the statistics:
The first two statistics: are used to measure variability in each variable they are used to compute the sample standard deviations and
The third statistic: is used to measure correlation If two variables are positively related the sign of will agree with the sign of
When is positive will be positive. When x i is above its mean, y i will be above its mean When is negative will be negative. When x i is below its mean, y i will be below its mean The product will be positive for most cases.
This implies that the statistic will be positive Most of the terms in this sum will be positive
On the other hand If two variables are negatively related the sign of will be opposite in sign to
When is positive will be negative. When x i is above its mean, y i will be below its mean When is negative will be positive. When x i is below its mean, y i will be above its mean The product will be negative for most cases.
Again implies that the statistic will be negative Most of the terms in this sum will be negative
Pearsons correlation coefficient is defined as below:
The denominator: is always positive
The numerator: is positive if there is a positive relationship between X ad Y and negative if there is a negative relationship between X ad Y. This property carries over to Pearson’s correlation coefficient r
Properties of Pearson’s correlation coefficient r 1.The value of r is always between –1 and If the relationship between X and Y is positive, then r will be positive. 3.If the relationship between X and Y is negative, then r will be negative. 4.If there is no relationship between X and Y, then r will be zero. 5.The value of r will be +1 if the points, ( x i, y i ) lie on a straight line with positive slope. 6.The value of r will be -1 if the points, ( x i, y i ) lie on a straight line with negative slope.
r =1
r = 0.95
r = 0.7
r = 0.4
r = 0
r = -0.4
r = -0.7
r = -0.8
r = -0.95
r = -1
Computing formulae for the statistics:
To compute first compute Then
Example Verbal IQ, MathIQ
Data Set #3 The following table gives data on Verbal IQ, Math IQ, Initial Reading Acheivement Score, and Final Reading Acheivement Score for 23 students who have recently completed a reading improvement program InitialFinal VerbalMathReadingReading StudentIQIQAcheivementAcheivement
Now Hence
Thus Pearsons correlation coefficient is:
Thus r = Verbal IQ and Math IQ are positively correlated. If Verbal IQ is above (below) the mean then for most cases Math IQ will also be above (below) the mean.
Is the improvement in reading achievement (RA) related to either Verbal IQ or Math IQ? improvement in RA = Final RA – Initial RA
The Data Correlation between Math IQ and RA Improvement Correlation between Verbal IQ and RA Improvement
Scatterplot: Math IQ vs RA Improvement
Scatterplot: Verbal IQ vs RA Improvement