Download presentation

Presentation is loading. Please wait.

Published byDavion Nickell Modified over 2 years ago

1
Last Time T Distribution –Confidence Intervals –Hypothesis tests Relationships Between Variables –Scatterplots (visualization) Aspects of Relations –Form –Direction –Strength

2
Reading In Textbook Approximate Reading for Today’s Material: Pages 101-105, 447-465, 511-516 Approximate Reading for Next Class: Pages 110-135, 560-574

3
Scatterplot E.g. Class Example 16: How does HW score predict Final Exam? x i = HW, y i = Final Exam i.In top half of HW scores: Better HW Better Final

4
Important Aspects of Relations I.Form of Relationship II.Direction of Relationship III.Strength of Relationship

5
I.Form of Relationship Linear: Data approximately follow a line Previous Class Scores Example http://www.stat-or.unc.edu/webspace/courses/marron/UNCstor155-2009/ClassNotes/Stor155Eg16.xls Final vs. High values of HW is “best” Nonlinear: Data follows different pattern Nice Example: Bralower’s Fossil Data http://www.stat-or.unc.edu/webspace/courses/marron/UNCstor155-2009/ClassNotes/Stor155Eg17.xls

6
Bralower’s Fossil Data http://www.stat-or.unc.edu/webspace/courses/marron/UNCstor155-2009/ClassNotes/Stor155Eg17.xls From T. Bralower, formerly of Geological Sci.T. BralowerGeological Sci. Studies Global Climate, millions of years ago

7
II. Direction of Relationship Positive Association X bigger Y bigger Negative Association X bigger Y smaller Note: Concept doesn’t always apply: Bralower’s Fossil Data

8
III. Strength of Relationship Idea: How close are points to lying on a line? Revisit Class Scores Example: http://www.stat-or.unc.edu/webspace/courses/marron/UNCstor155-2009/ClassNotes/Stor155Eg16.xls

9
Comparing Scatterplots Additional Useful Visual Tool

10
Comparing Scatterplots Additional Useful Visual Tool: Overlaying multiple data sets

11
Comparing Scatterplots Additional Useful Visual Tool: Overlaying multiple data sets Allows comparison

12
Comparing Scatterplots Additional Useful Visual Tool: Overlaying multiple data sets Allows comparison Use different colors or symbols

13
Comparing Scatterplots Additional Useful Visual Tool: Overlaying multiple data sets Allows comparison Use different colors or symbols Easy in EXCEL (colors are automatic)

14
Comparing Scatterplots HW HW: 2.21, 2.25

15
III. Strength of Relationship Idea: How close are points to lying on a line? Revisit Class Scores Example: http://www.stat-or.unc.edu/webspace/courses/marron/UNCstor155-2009/ClassNotes/Stor155Eg16.xls

16
III. Strength of Relationship Idea: How close are points to lying on a line? Now get quantitative

17
Section 2.2: Correlation Main Idea: Quantify Strength of Relationship

18
Section 2.2: Correlation Main Idea: Quantify Strength of Relationship Context: –A numerical summary

19
Section 2.2: Correlation Main Idea: Quantify Strength of Relationship Context: –A numerical summary –In spirit of mean and standard deviation

20
Section 2.2: Correlation Main Idea: Quantify Strength of Relationship Context: –A numerical summary –In spirit of mean and standard deviation –But now applies to pairs of variables

21
Section 2.2: Correlation Main Idea: Quantify Strength of Relationship Specific Goals

22
Section 2.2: Correlation Main Idea: Quantify Strength of Relationship Specific Goals: –Near 1: for positive relat’ship & nearly linear

23
Section 2.2: Correlation Main Idea: Quantify Strength of Relationship Specific Goals: –Near 1: for positive relat’ship & nearly linear –> 0: for positive relationship (slopes up)

24
Section 2.2: Correlation Main Idea: Quantify Strength of Relationship Specific Goals: –Near 1: for positive relat’ship & nearly linear –> 0: for positive relationship (slopes up) –= 0: for no relationship

25
Section 2.2: Correlation Main Idea: Quantify Strength of Relationship Specific Goals: –Near 1: for positive relat’ship & nearly linear –> 0: for positive relationship (slopes up) –= 0: for no relationship –< 0: for negative relationship (slopes down)

26
Section 2.2: Correlation Main Idea: Quantify Strength of Relationship Specific Goals: –Near 1: for positive relat’ship & nearly linear –> 0: for positive relationship (slopes up) –= 0: for no relationship –< 0: for negative relationship (slopes down) –Near -1: for negative relat’ship & nearly linear

27
Correlation - Approach Numerical Approach

28
Correlation - Approach Numerical Approach: for symmetric around

29
Correlation - Approach Numerical Approach: for symmetric around has similar properties

30
Correlation - Approach Numerical Approach: for symmetric around has similar properties Worked out Example : http://www.stat-or.unc.edu/webspace/courses/marron/UNCstor155-2009/ClassNotes/Stor155Eg18-new.xls

31
Correlation – Graphical View Plots (a) & (b): illustrating : > 0 for positive relationship

32
Correlation – Graphical View Plots (a) & (b): illustrating : > 0 for positive relationship

33
Correlation – Graphical View Plots (a) & (b): illustrating : > 0 for positive relationship < 0 for negative relationship

34
Correlation – Graphical View Plots (a) & (b): illustrating : > 0 for positive relationship < 0 for negative relationship

35
Correlation – Graphical View Plots (a) & (b): illustrating : Bigger for data closer to line

36
Correlation – Graphical View Plots (a) & (b): illustrating : Bigger for data closer to line

37
Correlation – Graphical View But not all goals are satisfied

38
Correlation – Graphical View Problem 1: Not between -1 & 1

39
Correlation – Graphical View Problem 2: Feels “Scale”, see plot (c) (just 10 1 vertical rescaling of)

40
Correlation – Graphical View Problem 2: Feels “Scale”, see plot (c) (just 10 1 vertical rescaling of) ( feels factor of 1/10)

41
Correlation – Graphical View Problem 3: Feels “Shift” even more, see (d) (even gets sign wrong!)

42
Correlation – Graphical View Problem 3: Feels “Shift” even more, see (d) (even gets sign wrong!) Data trend upwards

43
Correlation – Graphical View Problem 3: Feels “Shift” even more, see (d) (even gets sign wrong!) Data trend upwards But < 0

44
Correlation - Approach Solution to above problems

45
Correlation - Approach Solution to above problems: Standardize!

46
Correlation - Approach Solution to above problems: Standardize! Define Correlation

47
Correlation - Approach Solution to above problems: Standardize! Define Correlation

48
Correlation - Example Revisit above example http://www.stat-or.unc.edu/webspace/courses/marron/UNCstor155-2009/ClassNotes/Stor155Eg18-new.xls r is always same, and ~1, for (a)

49
Correlation - Example Revisit above example http://www.stat-or.unc.edu/webspace/courses/marron/UNCstor155-2009/ClassNotes/Stor155Eg18-new.xls r is always same, and ~1, for (a), (c)

50
Correlation - Example Revisit above example http://www.stat-or.unc.edu/webspace/courses/marron/UNCstor155-2009/ClassNotes/Stor155Eg18-new.xls r is always same, and ~1, for (a), (c), (d)

51
Correlation - Example Revisit above example http://www.stat-or.unc.edu/webspace/courses/marron/UNCstor155-2009/ClassNotes/Stor155Eg18-new.xls r is always same, and ~1, for (a), (c), (d) r < 0, and not so close to -1, for (b)

52
Correlation - Example Revisit Class Scores Example: http://www.stat-or.unc.edu/webspace/courses/marron/UNCstor155-2009/ClassNotes/Stor155Eg16.xls Final Exam vs. HW Correlation = r = 0.73 Strongest Dependence

53
Correlation - Example Revisit Class Scores Example: http://www.stat-or.unc.edu/webspace/courses/marron/UNCstor155-2009/ClassNotes/Stor155Eg16.xls MT1 vs. HW Correlation = r = 0.65 Weaker Dependence

54
Correlation - Example Revisit Class Scores Example: http://www.stat-or.unc.edu/webspace/courses/marron/UNCstor155-2009/ClassNotes/Stor155Eg16.xls MT2 vs. MT1 Correlation = r = 0.57 Weakest Dependence

55
Correlation - Example Revisit Class Scores Example: http://www.stat-or.unc.edu/webspace/courses/marron/UNCstor155-2009/ClassNotes/Stor155Eg16.xls r is always > 0 (makes sense, since all trend upwards)

56
Correlation - Example Revisit Class Scores Example: http://www.stat-or.unc.edu/webspace/courses/marron/UNCstor155-2009/ClassNotes/Stor155Eg16.xls r is always > 0 r is biggest for Final vs. HW

57
Correlation - Example Revisit Class Scores Example: http://www.stat-or.unc.edu/webspace/courses/marron/UNCstor155-2009/ClassNotes/Stor155Eg16.xls r is always > 0 r is biggest for Final vs. HW (visually strongest relationship)

58
Correlation - Example Revisit Class Scores Example: http://www.stat-or.unc.edu/webspace/courses/marron/UNCstor155-2009/ClassNotes/Stor155Eg16.xls r is always > 0 r is biggest for Final vs. HW (visually strongest relationship) r is smallest for MT2 vs. MT1

59
Correlation - Example Revisit Class Scores Example: http://www.stat-or.unc.edu/webspace/courses/marron/UNCstor155-2009/ClassNotes/Stor155Eg16.xls r is always > 0 r is biggest for Final vs. HW (visually strongest relationship) r is smallest for MT2 vs. MT1 (visually weakest relationship)

60
Correlation – Computation From Class Scores Example: http://www.stat-or.unc.edu/webspace/courses/marron/UNCstor155-2009/ClassNotes/Stor155Eg16.xls

61
Correlation – Computation From Class Scores Example: http://www.stat-or.unc.edu/webspace/courses/marron/UNCstor155-2009/ClassNotes/Stor155Eg16.xls Use Excel function: CORREL

62
Correlation – Computation From Class Scores Example: http://www.stat-or.unc.edu/webspace/courses/marron/UNCstor155-2009/ClassNotes/Stor155Eg16.xls Use Excel function: CORREL

63
Correlation – Computation From Class Scores Example: http://www.stat-or.unc.edu/webspace/courses/marron/UNCstor155-2009/ClassNotes/Stor155Eg16.xls Use Excel function: CORREL Range of Xs

64
Correlation – Computation From Class Scores Example: http://www.stat-or.unc.edu/webspace/courses/marron/UNCstor155-2009/ClassNotes/Stor155Eg16.xls Use Excel function: CORREL Range of Xs Range of Ys

65
Correlation – Computation From Class Scores Example: http://www.stat-or.unc.edu/webspace/courses/marron/UNCstor155-2009/ClassNotes/Stor155Eg16.xls Use Excel function: CORREL Range of Xs Range of Ys Output is correlation, r

66
Correlation - Example Fun Example from Publisher’s Website: http://courses.bfwpub.com/ips6e.php

67
Correlation - Example Fun Example from Publisher’s Website: http://courses.bfwpub.com/ips6e.php Choose Statistical Applets

68
Correlation - Example Fun Example from Publisher’s Website: http://courses.bfwpub.com/ips6e.php Choose Statistical Applets Correlation and Regression

69
Correlation - Example Fun Example from Publisher’s Website: http://courses.bfwpub.com/ips6e.php Choose Statistical Applets Correlation and Regression Gives feeling for how correlation is affected by changing data.

70
Correlation - Example Correlation and Regression Applet

71
Correlation - Example Correlation and Regression Applet I clicked to put down 2 points

72
Correlation - Example Correlation and Regression Applet I clicked to put down 2 points Applet computed correlation, r

73
Correlation - Example Correlation and Regression Applet Applet computed correlation, r r = -1, since points on line trending down

74
Correlation - Example Correlation and Regression Applet Try several points close to some line

75
Correlation - Example Correlation and Regression Applet Try several points close to some line r ≈ -1, since points near line trending down

76
Correlation - Example Correlation and Regression Applet Add more points with goal of r ≈ -0.95

77
Correlation - Example Correlation and Regression Applet Add more points with goal of r ≈ -0.95

78
Correlation - Example Correlation and Regression Applet Add more points with goal of r ≈ -0.95

79
Correlation - Example Correlation and Regression Applet Now add a single outlier

80
Correlation - Example Correlation and Regression Applet Now add a single outlier Major impact on r -0.95 -0.35

81
Correlation - Example Correlation and Regression Applet Just 2 more outliers

82
Correlation - Example Correlation and Regression Applet Just 2 more outliers Leads to r > 0

83
Correlation - Example Correlation and Regression Applet Just 2 more outliers Leads to r > 0 (Outliers have major impact)

84
Correlation - Example Correlation and Regression Applet Weakness of correlation, r

85
Correlation - Example Correlation and Regression Applet Weakness of correlation, r Measures linear dependence

86
Correlation - Example Correlation and Regression Applet Weakness of correlation, r Can have r ≈ 0

87
Correlation - Example Correlation and Regression Applet Weakness of correlation, r Can have r ≈ 0, yet strong non-linear dependence

88
Correlation - HW HW: 2.31 2.33 2.39a

89
Correlation - Outliers Caution: Outliers can strongly affect correlation, r

90
Correlation - Example Correlation and Regression Applet Add more points with goal of r ≈ -0.95

91
Correlation - Example Correlation and Regression Applet Now add a single outlier Major impact on r -0.95 -0.35

92
Correlation - Example Correlation and Regression Applet Just 2 more outliers Leads to r > 0 (Outliers have major impact)

93
Correlation - Outliers Caution: Outliers can strongly affect correlation, r HW: 2.39b 2.45

94
Research Corner Relationship between more than 2 variables?

95
Research Corner Relationship between more than 2 variables? Each data point is (x 1, x 2, …, x d ) Called a “d-tuple”

96
Research Corner Relationship between more than 2 variables? Each data point is (x 1, x 2, …, x d ) Eg: d = 3 (ordered triple)

97
Research Corner Relationship between more than 2 variables? Each data point is (x 1, x 2, …, x d ) Eg: d = 3 (ordered triple) (height, weight, age)

98
Research Corner Relationship between more than 2 variables? Each data point is (x 1, x 2, …, x d ) Eg: d = 3 (ordered triple) (height, weight, age) (HW, MT1, Final)

99
Research Corner Visualization?

100
Research Corner Visualization? What is “scatterplot”?

101
Research Corner Visualization? What is “scatterplot”? How can we “see” structure in data?

102
Research Corner Visualization? Explore d = 3 (3d)

103
Research Corner Visualization? Explore d = 3 (3d) So can visualize “point cloud”

104
Research Corner Toy Example, modeling “gene expression”

105
Research Corner Multivariate View: Highlight one

106
Research Corner Multivariate View: Value of variable 1

107
Research Corner Multivariate View: Value of variable 2

108
Research Corner Multivariate View: Value of variable 3

109
Research Corner Multivariate View: 1-d projection, X-axis

110
Research Corner Multivariate View: X – Projection, 1-d View

111
Research Corner Multivariate View: 1-d projection, Y-axis

112
Research Corner Multivariate View: Y – Projection, 1-d View

113
Research Corner Multivariate View: 1-d projection, Z-axis

114
Research Corner Multivariate View: Z – Projection, 1-d View

115
Research Corner Multivariate View: 2-d Projection XY-plane

116
Research Corner Multivariate View: XY – projection, 2-d view

117
Research Corner Multivariate View: 2-d Projection XZ-plane

118
Research Corner Multivariate View: XZ – projection, 2-d view

119
Research Corner Multivariate View: 2-d Projection YZ-plane

120
Research Corner Multivariate View: YZ – projection, 2-d view

121
Research Corner Multivariate View: All 3 planes

122
Research Corner Multivariate View Now collect these views on a single page

123
Research Corner Multivariate View: 1-d projections on diagonal

124
Research Corner Multivariate View: 2-d views off diagonal

125
Research Corner Multivariate View: switch off color (usual view)

126
Research Corner Multivariate View (Useful summary of structure in data)

127
2 Sample Inference Main Idea: Previously studied single populations

128
2 Sample Inference Main Idea: Previously studied single populations Modeled as

129
2 Sample Inference Main Idea: Previously studied single populations Modeled as: –Measurement Error

130
2 Sample Inference Main Idea: Previously studied single populations Modeled as: –Measurement Error

131
2 Sample Inference Main Idea: Previously studied single populations Modeled as: –Measurement Error –Counts

132
2 Sample Inference Main Idea: Previously studied single populations Modeled as: –Measurement Error –Counts

133
2 Sample Inference Main Idea: Previously studied single populations Modeled as: –Measurement Error –Counts Did Inference

134
2 Sample Inference Main Idea: Previously studied single populations Modeled as: –Measurement Error –Counts Did Inference: –Confidence Intervals –Hypothesis Tests

135
2 Sample Inference Main Idea: Extend to two populations Modeled as: –Measurement Error –Counts Will Develop Inference: –Confidence Intervals –Hypothesis Tests

136
2 Sample Inference Location in Text

137
2 Sample Inference Location in Text: Measurement Error –Sec. 7.1 –Sec. 7.2

138
2 Sample Inference Location in Text: Measurement Error –Sec. 7.1 –Sec. 7.2 Counts –Sec. 8.2

139
2 Sample Measurement Error Easy Case: Paired Differences

140
2 Sample Measurement Error Easy Case: Paired Differences Have Treatment 1:

141
2 Sample Measurement Error Easy Case: Paired Differences Have Treatment 1: Treatment 2:

142
2 Sample Measurement Error Easy Case: Paired Differences Have Treatment 1: Treatment 2:

143
2 Sample Measurement Error Easy Case: Paired Differences Have Treatment 1: Treatment 2: Important: Measurements Connected

144
2 Sample Measurement Error Easy Case: Paired Differences Have Treatment 1: Treatment 2: Important: Measurements Connected, e.g. made on same objects

145
2 Sample Measurement Error Easy Case: Paired Differences Have Treatment 1: Treatment 2: Approach: Apply 1 sample methods

146
2 Sample Measurement Error Easy Case: Paired Differences Have Treatment 1: Treatment 2: Approach: Apply 1 sample methods to:

147
2 Paired Samples E.g. Old Textbook 7.32: Researchers studying Vitamin C in a product were concerned about loss of Vitamin C during shipment and storage.

148
2 Paired Samples E.g. Old Textbook 7.32: Researchers studying Vitamin C in a product were concerned about loss of Vitamin C during shipment and storage. They marked a collection of bags at the factory, and measured the vitamin C

149
2 Paired Samples E.g. Old Textbook 7.32: Researchers studying Vitamin C in a product were concerned about loss of Vitamin C during shipment and storage. They marked a collection of bags at the factory, and measured the vitamin C. 5 months later, in Haiti, they found the same bags, and again measured the Vitamin C.

150
2 Paired Samples E.g. Old Textbook 7.32: The data are the two Vitamin C measurements, made for each bag.

151
2 Paired Samples E.g. Old Textbook 7.32: The data are the two Vitamin C measurements, made for each bag. Available in Class Example 15: http://www.stat-or.unc.edu/webspace/courses/marron/UNCstor155-2009/ClassNotes/Stor155Eg15.xls

152
2 Paired Samples Available in Class Example 15: http://www.stat-or.unc.edu/webspace/courses/marron/UNCstor155-2009/ClassNotes/Stor155Eg15.xls

153
2 Paired Samples Available in Class Example 15: http://www.stat-or.unc.edu/webspace/courses/marron/UNCstor155-2009/ClassNotes/Stor155Eg15.xls Factory, Cells B38:B64

154
2 Paired Samples Available in Class Example 15: http://www.stat-or.unc.edu/webspace/courses/marron/UNCstor155-2009/ClassNotes/Stor155Eg15.xls Factory, Cells B38:B64 Haiti, Cells C38:C64

155
2 Paired Samples E.g. Old Textbook 7.32: The data are the two Vitamin C measurements, made for each bag.

156
2 Paired Samples E.g. Old Textbook 7.32: The data are the two Vitamin C measurements, made for each bag. a.Set up hypotheses to examine the question of interest.

157
2 Paired Samples E.g. Old Textbook 7.32: The data are the two Vitamin C measurements, made for each bag. a.Set up hypotheses to examine the question of interest. b.Perform the significance test, and summarize the result.

158
2 Paired Samples E.g. Old Textbook 7.32: The data are the two Vitamin C measurements, made for each bag. a.Set up hypotheses to examine the question of interest. b.Perform the significance test, and summarize the result. c.Find 95% CIs for the factory mean, and the Haiti mean, and the mean change.

159
2 Paired Samples E.g. Old Textbook 7.32: a. Sample average difference = Computed as:

160
2 Paired Samples E.g. Old Textbook 7.32: a. Sample average difference = Computed as:

161
2 Paired Samples E.g. Old Textbook 7.32: a. Sample average difference = Computed as:

162
2 Paired Samples E.g. Old Textbook 7.32: a. Sample average difference = Computed as: Then average

163
2 Paired Samples E.g. Old Textbook 7.32: a. Sample average difference = Some evidence factory is bigger, is it strong evidence???

164
2 Paired Samples E.g. Old Textbook 7.32: a. Sample average difference = Some evidence factory is bigger, is it strong evidence??? Let = Difference: Haiti – Factory

165
2 Paired Samples E.g. Old Textbook 7.32: a. Sample average difference = Some evidence factory is bigger, is it strong evidence??? Let = Difference: Haiti – Factory 1-sided, from “idea of loss”

166
2 Paired Samples E.g. Old Textbook 7.32: b.

167
2 Paired Samples E.g. Old Textbook 7.32: b.

168
2 Paired Samples E.g. Old Textbook 7.32: b.

169
2 Paired Samples E.g. Old Textbook 7.32: b.

170
2 Paired Samples E.g. Old Textbook 7.32: b.

171
2 Paired Samples E.g. Old Textbook 7.32: b. But recall how TDIST works (1 – tail: upper probability only)

172
2 Paired Samples E.g. Old Textbook 7.32: b. But recall how TDIST works: = (symmetry)

173
2 Paired Samples E.g. Old Textbook 7.32: b. But recall how TDIST works: = So compute with:

174
2 Paired Samples E.g. Old Textbook 7.32: b.Excel Computation: Class Example 15, Part 3 http://www.stat-or.unc.edu/webspace/courses/marron/UNCstor155-2009/ClassNotes/Stor155Eg15.xls

175
2 Paired Samples E.g. Old Textbook 7.32: b.Excel Computation: Class Example 15, Part 3 http://www.stat-or.unc.edu/webspace/courses/marron/UNCstor155-2009/ClassNotes/Stor155Eg15.xls Standard deviation of differences, s D

176
2 Paired Samples E.g. Old Textbook 7.32: b.Excel Computation: Class Example 15, Part 3 http://www.stat-or.unc.edu/webspace/courses/marron/UNCstor155-2009/ClassNotes/Stor155Eg15.xls Standard deviation of differences, s D P-value

177
2 Paired Samples E.g. Old Textbook 7.32: b.Excel Computation: Class Example 15, Part 3 http://www.stat-or.unc.edu/webspace/courses/marron/UNCstor155-2009/ClassNotes/Stor155Eg15.xls P-value = 1.87 x 10 -5

178
2 Paired Samples E.g. Old Textbook 7.32: b.Excel Computation: Class Example 15, Part 3 http://www.stat-or.unc.edu/webspace/courses/marron/UNCstor155-2009/ClassNotes/Stor155Eg15.xls P-value = 1.87 x 10 -5 Interpretation: very strong evidence

179
2 Paired Samples E.g. Old Textbook 7.32: b.Excel Computation: Class Example 15, Part 3 http://www.stat-or.unc.edu/webspace/courses/marron/UNCstor155-2009/ClassNotes/Stor155Eg15.xls P-value = 1.87 x 10 -5 Interpretation: very strong evidence either yes-no or gray level

180
2 Paired Samples Variations: 1.EXCEL function TTEST is useful here

181
2 Paired Samples Variations: 1.EXCEL function TTEST is useful here

182
2 Paired Samples Variations: 1.EXCEL function TTEST is useful here (same answer as above)

183
2 Paired Samples Variations: 1.EXCEL function TTEST is useful here Notes: a.Type is paired (discuss others later)

184
2 Paired Samples Variations: 1.EXCEL function TTEST is useful here Notes: a.Type is paired (discuss others later) b.Get same answer from swapping Array 1 and Array 2

185
2 Paired Samples Variations: 1.EXCEL function TTEST is useful here Notes: a.Type is paired (discuss others later) b.Get same answer from swapping Array 1 and Array 2

186
2 Paired Samples Variations: 1.EXCEL function TTEST is useful here Notes: a.Type is paired (discuss others later) b.Get same answer from swapping Array 1 and Array 2 c.This is something Excel does well

187
2 Paired Samples Variations: 2.Can also use: Data Data Analysis T-test Paired

188
2 Paired Samples Variations: 2.Can also use: Data Data Analysis T-test Paired to give detailed results

189
2 Paired Samples Variations: 2.Can also use: Data Data Analysis T-test Paired to give detailed results e.g. d.f. = 26

190
2 Paired Samples Variations: 2.Can also use: Data Data Analysis T-test Paired to give detailed results e.g. d.f. = 26 P-value same

191
2 Paired Samples Variations: 2.Can also use: Data Data Analysis T-test Paired to give detailed results e.g. d.f. = 26 P-value same (others we haven’t learned yet)

192
2 Paired Samples E.g. Old Textbook 7.32: c.Confidence Intervals See Class Example 15, Part 3c http://www.stat-or.unc.edu/webspace/courses/marron/UNCstor155-2009/ClassNotes/Stor155Eg15.xls Margin of error =

193
2 Paired Samples E.g. Old Textbook 7.32: c.Confidence Intervals See Class Example 15, Part 3c http://www.stat-or.unc.edu/webspace/courses/marron/UNCstor155-2009/ClassNotes/Stor155Eg15.xls Margin of error = (same as above, but NORMINV TINV)

194
2 Paired Samples E.g. Old Textbook 7.32: c.Confidence Intervals See Class Example 15, Part 3c http://www.stat-or.unc.edu/webspace/courses/marron/UNCstor155-2009/ClassNotes/Stor155Eg15.xls Margin of error = (same as above, but NORMINV TINV) So CI has endpoints:

195
Paired Sampling CIs & Tests HW: 7.33, 7.35, 7.39 Interpret P-values: (i) yes-no (ii) gray-level (suggestion: use TTEST, for hypo tests)

196
And now for something completely different… Does the statement, “We've always done it like that” ring any bells? The US standard railroad gauge (distance between the rails) is 4 feet, 8.5 inches. That's an exceedingly odd number. Why was that gauge used?

197
And now for something completely different… Because that's the way they built them in England, and English expatriates built the US Railroads. Why did the English build them like that? Because the first rail lines were built by the same people who built the pre-railroad tramways, and that's the gauge they used.

198
And now for something completely different… Why did "they" use that gauge then? Because the people who built the tramways used the same jigs and tools that they used for building wagons, which used that wheel spacing.

199
And now for something completely different… Okay! Why did the wagons have that particular odd wheel spacing? Well, if they tried to use any other spacing, the wagon wheels would break on some of the old, long distance roads in England, because that's the spacing of the wheel ruts.

200
And now for something completely different… So who built those old rutted roads? Imperial Rome built the first long distance roads in Europe (and England ) for their legions. The roads have been used ever since. And the ruts in the roads? Roman war chariots formed the initial ruts, which everyone else had to match for fear of destroying their wagon wheels. Since the chariots were made for Imperial Rome, they were all alike in the matter of wheel spacing.

201
And now for something completely different… The United States standard railroad gauge of 4 feet, 8.5 inches is derived from the original specifications for an Imperial Roman war chariot. And bureaucracies live forever. So the next time you are handed a specification and wonder what horse's ass came up with it, you may be exactly right, because the Imperial Roman army chariots were made just wide enough to accommodate the back ends of two war horses!

202
And now for something completely different… When you see a Space Shuttle sitting on its launch pad, there are two big booster rockets attached to the sides of the main fuel tank. These are solid rocket boosters, or SRBs. The SRBs are made by Thiokol at their factory at Utah. The engineers who designed the SRBs would have preferred to make them a bit fatter, but the SRBs had to be shipped by train from the factory to the launch site.

203
And now for something completely different… The railroad line from the factory happens to run through a tunnel in the mountains. The SRBs had to fit through that tunnel. The tunnel is slightly wider than the railroad track, and the railroad track, as you now know, is about as wide as two horses' behinds. So, a major Space Shuttle design feature of what is arguably the world's most advanced transportation system was determined over two thousand years ago by the width of a horse's ass.

204
And now for something completely different… - And – you thought being a HORSE'S ASS wasn't important!

205
Carolina Course Evaluation Please give me your opinions

206
Carolina Course Evaluation Please give me your opinions Most highly sought: Written suggestions for improvement

207
Carolina Course Evaluation Please give me your opinions Most highly sought: Written suggestions for improvement Please fill out with # 2 pencil (black pen?)

208
Carolina Course Evaluation Please give me your opinions Most highly sought: Written suggestions for improvement Please fill out with # 2 pencil (black pen?) Return to student volunteer Will turn in independently from me

209
Carolina Course Evaluation Please give me your opinions Most highly sought: Written suggestions for improvement Please fill out with # 2 pencil (black pen?) Return to student volunteer Will turn in independently from me Dept/Course/Section: STOR 155 001 Instructor: J. S. Marron

210
STOR 155 001, Course ID: 30211211 28.Over the course of the semester, how frequently did you review the audio/screen recordings? (S/D) Never. I didn't know that they were available. (D) Never. I decided not to. (N) Seldom (A) Sometimes (S/A) Often 29.Did you review the recordings before taking a test or exam? (S/D) Yes / (S/A) No 30.Did you review the recordings after you missed class? (S/D) Yes / (S/A) No 31.Did you review the recordings when you didn't understand something from class? (S/D) Yes / (S/A) No 32.The recordings were helpful for me as a study aid. (S/D D N A S/A) 33.I was less likely to attend class because I knew I would have access to the lecture materials online. (S/D D N A S/A)

Similar presentations

© 2017 SlidePlayer.com Inc.

All rights reserved.

Ads by Google