So we've moved into survey design and experimental design. (Chapter 5 in the text.)
Important vocabulary:
Population
sample
census
bias
nonreaponse bias
undercoverage
response bias
convenience sample
stratified random sample
systematic random sample (like The Lottery by Shirley Jackson)
simple random sample (SRS)
We used the Table of Random Digits to (1) pick a sample, (2) Simulate a random event, and (3) randomly allocate participants to experimental treatments.
We have looked at a few experimental design/survey design questions from previous exams.
HW due Thursday 11/4: Problems 5.2, 5.3, 5.10 ,5.11
HW due Friday 11/5: Written answers on your own paper to the 1998 and 2002 experimental design questions handed out in class.
Thursday, November 04, 2010
Friday, October 22, 2010
Bivariate distributions
We've moved from investigations using single variables to the world of two variables. The first type of bivariate relationship we study is the relationship between two numerical variables.
We collected data on Monday and crunched numbers again on Tuesday to find the least squares regression line and the coefficient of determination. R^2.
On Wednesday we studied the correlation coefficient, the slope and intercept of the LSRL, and the patterns in residuals. We saw that the point (x-bar, y-bar) lies on the LSRL and that R^2 may not be an indicator of a good model.
Based on your new knowledge of these concepts, please expand your 4 inch summary of section 3.1 to 5 inches of strong content.
Do the problems in section 3.1 that relate to the manatees and to the archaeopteryx.
Quiz answers:
scatterplot - points have a strong positive linear pattern with no outliers. Graph should have labels and scale.
LSRL y-hat = -10.64 + 4.117x
Residuals - y - y-hat graphed against x. To compute residuals, use L2 - Y1(L1). The graph shows that the residuals fluctuate above and below the axis with varying distances.
Interpretation - Because the residuals can be interpreted as randomly scattered about the residual = 0 line, the linear model is good.
Caveat- Because the residuals seem to be getting further from residuals = 0 as x gets larger, we might be concerned about our error increasing as length increases. Beware telescoping residuals.
October 8, 2010
This week student should have completed problems 3.35, 3.36, 3.37, & 3.37 from the text. For HW due Monday, they need to complete problems 3.39, 3.40, & 3.48.
What have we done so far? Collected bivariate data. Looked at them. Computed the LSRL. Computed residuals. Interpreted the residuals and the slope of the LSRL. Used the LSRL to predict a value of y. Performed a Linear regression t-test to determine the significance of the slope.
What do we have to do? Practice and interpret outputs.
ALSO, pick a book. Suggestions: A Civil Action, Freakonomics, Bringing Down the House, Moneyball, And the Band Played On, The Lady Tasting Tea. Get your parents' permission to read your book. You should have it finished by the end of Thanksgiving break.
Monday, October 11, 2010
We collected data that we expected to have no correlation. In 13 of the 15 cases, we got what we expected. We graphed the ordered pairs, computed the LSRL, checked the residuals, performed a linear regression t-test, and interpreted the results.
Small p-value>>> reject the null hypothesis--that there is no linear relationship between x and y. Instead, we have evidence indicating that there is a linear relationship.
Large p-value>>> fail to reject the null hypothesis. We do not have compelling evidence that there is a linear relationship.
HW problems 3.6 and 3.61
Have your papeback on Friday. You will be given a reading day.
_________________
As we continue through bivariate distributions, please take care to clearly identify the transformation you have performed on your lists in the calculator. For instance, log L2 may make sense to you, but you may be better off by renaming the list log life expectancy.
Typically, students have problems when they graph the curves through data. The linear regression graph only works with straightened (transformed) data. The curves go through the original data.
Your test on bivariate data will be Thursday, Oct 28.
We collected data on Monday and crunched numbers again on Tuesday to find the least squares regression line and the coefficient of determination. R^2.
On Wednesday we studied the correlation coefficient, the slope and intercept of the LSRL, and the patterns in residuals. We saw that the point (x-bar, y-bar) lies on the LSRL and that R^2 may not be an indicator of a good model.
Based on your new knowledge of these concepts, please expand your 4 inch summary of section 3.1 to 5 inches of strong content.
Do the problems in section 3.1 that relate to the manatees and to the archaeopteryx.
Quiz answers:
scatterplot - points have a strong positive linear pattern with no outliers. Graph should have labels and scale.
LSRL y-hat = -10.64 + 4.117x
Residuals - y - y-hat graphed against x. To compute residuals, use L2 - Y1(L1). The graph shows that the residuals fluctuate above and below the axis with varying distances.
Interpretation - Because the residuals can be interpreted as randomly scattered about the residual = 0 line, the linear model is good.
Caveat- Because the residuals seem to be getting further from residuals = 0 as x gets larger, we might be concerned about our error increasing as length increases. Beware telescoping residuals.
October 8, 2010
This week student should have completed problems 3.35, 3.36, 3.37, & 3.37 from the text. For HW due Monday, they need to complete problems 3.39, 3.40, & 3.48.
What have we done so far? Collected bivariate data. Looked at them. Computed the LSRL. Computed residuals. Interpreted the residuals and the slope of the LSRL. Used the LSRL to predict a value of y. Performed a Linear regression t-test to determine the significance of the slope.
What do we have to do? Practice and interpret outputs.
ALSO, pick a book. Suggestions: A Civil Action, Freakonomics, Bringing Down the House, Moneyball, And the Band Played On, The Lady Tasting Tea. Get your parents' permission to read your book. You should have it finished by the end of Thanksgiving break.
Monday, October 11, 2010
We collected data that we expected to have no correlation. In 13 of the 15 cases, we got what we expected. We graphed the ordered pairs, computed the LSRL, checked the residuals, performed a linear regression t-test, and interpreted the results.
Small p-value>>> reject the null hypothesis--that there is no linear relationship between x and y. Instead, we have evidence indicating that there is a linear relationship.
Large p-value>>> fail to reject the null hypothesis. We do not have compelling evidence that there is a linear relationship.
HW problems 3.6 and 3.61
Have your papeback on Friday. You will be given a reading day.
_________________
As we continue through bivariate distributions, please take care to clearly identify the transformation you have performed on your lists in the calculator. For instance, log L2 may make sense to you, but you may be better off by renaming the list log life expectancy.
Typically, students have problems when they graph the curves through data. The linear regression graph only works with straightened (transformed) data. The curves go through the original data.
Your test on bivariate data will be Thursday, Oct 28.
Monday, August 30, 2010
Measurements of position
Hmmm. Z values. Percentile ranks. Proportions between two x-values.
How are these connected for Normal distributions?
The percentile for a particular z-value is the value in the body of the Z table that represents the "sum" of the column and row titles. For Negative z-values, just append (attach) the hundredths place digit. For instance. . .
row 1.3, column 0.4 ==> 1.34 = z. This is the 90.99th percentile.
for row -2.3, column 0.4 ==> -2.34 = z. With a table value if 0.0096, this is just a hair under the 1st percentile.
The percentile is the proportion of data that lies to the left of the x value or is equal to it. If you took a test and scored at the 99th percentile, 99% of all other test scores should be equal to your score or below it.
Another way to find the percentile is to use the NormalCDF function on the calculator. Use NormalCDF(lower bound, upper bound) where the boundary values are z scores. To find the percentile for a Normally-distributed z value, we use the lower bound of negative infinity and the upper bound of the z under consideration.
We can use -999999 for negative infinity. NormalCDF(-999999,1) = the proportion of the population of Normally distributed z values that fall equal to or below 1.
To find the Z value for a particular percentile, use the inverse of the NormalCDF function-- INVNorm. To find the 95th percentile, enter InvNorm(.95). Approximately 95% of all z-values in a Normal distribution will fall below this value.
To find the X value that corresponds to the desired Z value, take the mean and add Z standard deviations.
Practice converting X values into z values adn percentiles into X values. Do the problems on page 147.
How are these connected for Normal distributions?
The percentile for a particular z-value is the value in the body of the Z table that represents the "sum" of the column and row titles. For Negative z-values, just append (attach) the hundredths place digit. For instance. . .
row 1.3, column 0.4 ==> 1.34 = z. This is the 90.99th percentile.
for row -2.3, column 0.4 ==> -2.34 = z. With a table value if 0.0096, this is just a hair under the 1st percentile.
The percentile is the proportion of data that lies to the left of the x value or is equal to it. If you took a test and scored at the 99th percentile, 99% of all other test scores should be equal to your score or below it.
Another way to find the percentile is to use the NormalCDF function on the calculator. Use NormalCDF(lower bound, upper bound) where the boundary values are z scores. To find the percentile for a Normally-distributed z value, we use the lower bound of negative infinity and the upper bound of the z under consideration.
We can use -999999 for negative infinity. NormalCDF(-999999,1) = the proportion of the population of Normally distributed z values that fall equal to or below 1.
To find the Z value for a particular percentile, use the inverse of the NormalCDF function-- INVNorm. To find the 95th percentile, enter InvNorm(.95). Approximately 95% of all z-values in a Normal distribution will fall below this value.
To find the X value that corresponds to the desired Z value, take the mean and add Z standard deviations.
Practice converting X values into z values adn percentiles into X values. Do the problems on page 147.
Friday, August 20, 2010
New data!!!! Haircut costs
As we learn to represent and interpret our data, we collected the following data:
boys' haircut prices
12, 18, 22, 0, 0 ,0, 15, 0, 17, 16, 17.95, 10, 12
girls' haircut prices
35, 55, 50, 30, 18, 25, 0, 50, 40, 45, 45, 140, 40, 8, 25, 30, 22, 28
Represent each of these as a boxplot on the same axes AND
using the information starting on page 42 in the text, represent it also as a back to back stemplot.
We will interpret your results on Tuesday.
Be safe.
_________________________
8/20
We've used histograms, boxplots, and stemplots to represent univariate (one-dimensional) data. We've worked many problems from previous AP exams.
You're probably ready to close out this chapter (1). Let's focus on the parts we haven't covered so far and test on Thursday, 8/26.
We will start the CiCi's Sundays on August 29, unless you do not need help yet.
Be safe. Play hard. Go Trojans.
boys' haircut prices
12, 18, 22, 0, 0 ,0, 15, 0, 17, 16, 17.95, 10, 12
girls' haircut prices
35, 55, 50, 30, 18, 25, 0, 50, 40, 45, 45, 140, 40, 8, 25, 30, 22, 28
Represent each of these as a boxplot on the same axes AND
using the information starting on page 42 in the text, represent it also as a back to back stemplot.
We will interpret your results on Tuesday.
Be safe.
_________________________
8/20
We've used histograms, boxplots, and stemplots to represent univariate (one-dimensional) data. We've worked many problems from previous AP exams.
You're probably ready to close out this chapter (1). Let's focus on the parts we haven't covered so far and test on Thursday, 8/26.
We will start the CiCi's Sundays on August 29, unless you do not need help yet.
Be safe. Play hard. Go Trojans.
Monday, May 10, 2010
Gearing up for the final exam
So far we've discussed good answers for problems 1-4 of the operational exam. The take-home part of your final will be one of the 6 questions, randomly selected two days before your exam. Get to work developing your best answers to these questions.
The in-class part of the final exam will be cumulative, with an emphasis on second semester topics.
Random assignment of problems for take-home portion:
6th period seniors: #3 YOU MAY NOT COLLABORATE ON THIS PROBLEM NOW THAT IT HAS BEEN ASSIGNED. THE WORK YOU TURN IN MUST BE YOUR OWN.
The in-class part of the final exam will be cumulative, with an emphasis on second semester topics.
Random assignment of problems for take-home portion:
6th period seniors: #3 YOU MAY NOT COLLABORATE ON THIS PROBLEM NOW THAT IT HAS BEEN ASSIGNED. THE WORK YOU TURN IN MUST BE YOUR OWN.
Tuesday, March 30, 2010
Chi-square procedures
http://lassiterstatistics.wikispaces.com/
Send your summary documents (in pdf format if possible) to jhl2881 at
students dot kennesaw dot edu
Suggested problems from Chapter 14:
goodness of fit: 3, 4, 5 (this is an example of how biologists use 2x2 tables to do goodness of fit tests), 9 (simulation)
2-way tables: 13, 19, 20, 14, 16, 18, 12, 17, 22, 24, 32, 33, 34.
We're beginning our last new topic (since we already did linear regression inference once).
We will use two different types of chi-square procedures and three different names for the procedures.
First, if some higher power determined what the proportions of the sample should have been associated with different values of the categorical variable. . .
like what portion of your M&Ms should have been red, brown, green, etc., then you will use a Goodness of Fit test to compare your experience (the sample) with what the higher powers suggested. This is also the test we use when the higher power might suggest that the distribution should have been "fair" or equal across all the values.
If the sample itself is going to suggest a distribution, then we use the test on independence or the test of homogeneity. These two tests are performed the same way, we just have different inputs and hypotheses associated with the two forms.
When we have one sample from one population and want to know if characteristics are associated, like red hair and green eyes, we might use the test of indepenence.
If we have two populations, like smokers and non-smokers, and want to know if the two populations had the same propensity for speeding tickets, we could use a test of homogeneity with cleverly-selected data.
Methods will be discussed in class.
Have the printed draft of your assignment in class on Wednesday!
Send your summary documents (in pdf format if possible) to jhl2881 at
students dot kennesaw dot edu
Suggested problems from Chapter 14:
goodness of fit: 3, 4, 5 (this is an example of how biologists use 2x2 tables to do goodness of fit tests), 9 (simulation)
2-way tables: 13, 19, 20, 14, 16, 18, 12, 17, 22, 24, 32, 33, 34.
We're beginning our last new topic (since we already did linear regression inference once).
We will use two different types of chi-square procedures and three different names for the procedures.
First, if some higher power determined what the proportions of the sample should have been associated with different values of the categorical variable. . .
like what portion of your M&Ms should have been red, brown, green, etc., then you will use a Goodness of Fit test to compare your experience (the sample) with what the higher powers suggested. This is also the test we use when the higher power might suggest that the distribution should have been "fair" or equal across all the values.
If the sample itself is going to suggest a distribution, then we use the test on independence or the test of homogeneity. These two tests are performed the same way, we just have different inputs and hypotheses associated with the two forms.
When we have one sample from one population and want to know if characteristics are associated, like red hair and green eyes, we might use the test of indepenence.
If we have two populations, like smokers and non-smokers, and want to know if the two populations had the same propensity for speeding tickets, we could use a test of homogeneity with cleverly-selected data.
Methods will be discussed in class.
Have the printed draft of your assignment in class on Wednesday!
Friday, March 26, 2010
T-tests for means
http://www.nytimes.com/2010/02/28/weekinreview/28sussman.html?ref=weekinreview
.
Time magazine article on the complications of the race and ethnicity entries on the census: http://www.time.com/time/nation/article/0,8599,1975883,00.html?hpt=T2
What inference procedure do I perform? applet (http://www.ltcconline.net/greenl/java/Statistics/StatsMatch/StatsMatch.htm?)
Welcome to the new stuff. Same as the old stuff. . .almost.
EQ: Why do you use inference?
Under what conditions can we use inference?
As you've seen, t-tests for means are quite similar to the z-tests for proportions. We still follow the same pattern of Setup-Check Assumptions-calculations/arithmetic-decision in the context of the problem.
Now, to use t-methods we have to prove that the distribution of x-bars is probably mound-shaped and symmetric enough to invoke the CLT. If given the data, sketch the histogram of the observations or the Normal probabilty plot. If either sample observation graph looks severely non-normal (with gaps or outliers), then we cannot assume that the means of the samples drawn from that type of population would be close to Normal.
Our quiz on 3/2 will be a lot like the lab we did in class on Monday. You will have data to analyze (SCAD).
3/4/10 Now you've taken two quizzes and shown great improvement.
Things you can do to improve your communication:
Label the graph of the observations or the Normal Probablity plot. The x axis of the histogram should be named with the thing you're measuring, like blood pressure. The scale should be added at about 5 places (no need to mark off every little bit). The y axis is the frequency. Help the reader out by labeling the tallest bar.
Label your Normal Probability plot with the definition of the x at the bottom. No scales are necessary if you label the NPP as a Normal Probability Plot.
Sketch the Normal curve before you start the calculations. Put the hypothesized mean in the middle. Then mark your x-bar to the right or the left (as appropriate). This will help you put the less than or greater than sign into your calculations correctly. It also reminds you that a probability cannot be less than 0 or more than 1!
Refine your decisions. Compare, conclude, contextualize, convince.
HW due Friday: Finish the AP exam problem begun in class that deals with a paired t-test. A paired t-test is performed exactly the same way as a regular -test, but on the third set of data--the difference between the two sets of DEPENDENT data.
PAIRED T-TESTS
This is used when the two "samples" are not independent, but two measures from each of the experimental units or participants. Examples: pre-tests and post-tests on the same students, the e.coli problem, the pharmacy problem, and the hand span problem.
Align the samples so you can subtract the "pre-test" value from the "post-test" value or perform a similar subtraction to generate one list of differences. Use this list as your input for the one-sample t-test.
T-TESTS FOR TWO INDEPENDENT SAMPLES
For this, Ho is mu1 - m2 = some number.
The test statistic is (x-bar 1 - x-bar 2)/std error of the difference of the means.
Use tcdf to find the area in the tail. The procedure is much like the regular t-test.
CONFIDENCE INTERVALS: estimate +- t* (std error of the estimate).
Use the x-bar or the difference of the x-bars as the estimate.
Use the sx/sqrt n or sqrt((Sx1)^2/n + (Sx2)^2 /n ) for the std error.
Work problems from the chapters for homework.
TEST REWORK/TEST "RETAKE"
There will be a test "retake" available on Thursday, March 18 in class for anyone who turns in their completed reworked problems from the Two-proportion test.
The retake will include one-proportion and two proportion tests and intervals, Type I and Type II error, and finding the sufficient sample size for a margin of error.
EXAM REVIEW
Have the draft of your first review page (assigned individually in class) with you in class on March 31. We will peer-review and edit the pages before they go into the class webpage. Go to this page to see examples of how the class of 2009 handled a similar assignment. Your product may be a webpage or a document.
HW for every night: Work problems from chapters 11-13. You should be able to do all these problems.
Essential questions that you need to write responses for:
Why is a t-test used instead of a z-test when we do not have the population standard deviation?
Why is it inappropriate to perform repeated tests instead of relying on one test?
The mean of x for sample 1 - the mean of x for sample 2 = the mean of the paired differences. So why does it matter whether we perform a two-sample test of independent means or a paired t-test? (This is incredibly important!!!)
WRITE AT LEAST A PAGE ABOUT THESE TOPICS. Hint: Consider the effect that your choice of test has on the power of the test.
TEST on inference for means: March 30, 2010
.
Time magazine article on the complications of the race and ethnicity entries on the census: http://www.time.com/time/nation/article/0,8599,1975883,00.html?hpt=T2
What inference procedure do I perform? applet (http://www.ltcconline.net/greenl/java/Statistics/StatsMatch/StatsMatch.htm?)
Welcome to the new stuff. Same as the old stuff. . .almost.
EQ: Why do you use inference?
Under what conditions can we use inference?
As you've seen, t-tests for means are quite similar to the z-tests for proportions. We still follow the same pattern of Setup-Check Assumptions-calculations/arithmetic-decision in the context of the problem.
Now, to use t-methods we have to prove that the distribution of x-bars is probably mound-shaped and symmetric enough to invoke the CLT. If given the data, sketch the histogram of the observations or the Normal probabilty plot. If either sample observation graph looks severely non-normal (with gaps or outliers), then we cannot assume that the means of the samples drawn from that type of population would be close to Normal.
Our quiz on 3/2 will be a lot like the lab we did in class on Monday. You will have data to analyze (SCAD).
3/4/10 Now you've taken two quizzes and shown great improvement.
Things you can do to improve your communication:
Label the graph of the observations or the Normal Probablity plot. The x axis of the histogram should be named with the thing you're measuring, like blood pressure. The scale should be added at about 5 places (no need to mark off every little bit). The y axis is the frequency. Help the reader out by labeling the tallest bar.
Label your Normal Probability plot with the definition of the x at the bottom. No scales are necessary if you label the NPP as a Normal Probability Plot.
Sketch the Normal curve before you start the calculations. Put the hypothesized mean in the middle. Then mark your x-bar to the right or the left (as appropriate). This will help you put the less than or greater than sign into your calculations correctly. It also reminds you that a probability cannot be less than 0 or more than 1!
Refine your decisions. Compare, conclude, contextualize, convince.
HW due Friday: Finish the AP exam problem begun in class that deals with a paired t-test. A paired t-test is performed exactly the same way as a regular -test, but on the third set of data--the difference between the two sets of DEPENDENT data.
PAIRED T-TESTS
This is used when the two "samples" are not independent, but two measures from each of the experimental units or participants. Examples: pre-tests and post-tests on the same students, the e.coli problem, the pharmacy problem, and the hand span problem.
Align the samples so you can subtract the "pre-test" value from the "post-test" value or perform a similar subtraction to generate one list of differences. Use this list as your input for the one-sample t-test.
T-TESTS FOR TWO INDEPENDENT SAMPLES
For this, Ho is mu1 - m2 = some number.
The test statistic is (x-bar 1 - x-bar 2)/std error of the difference of the means.
Use tcdf to find the area in the tail. The procedure is much like the regular t-test.
CONFIDENCE INTERVALS: estimate +- t* (std error of the estimate).
Use the x-bar or the difference of the x-bars as the estimate.
Use the sx/sqrt n or sqrt((Sx1)^2/n + (Sx2)^2 /n ) for the std error.
Work problems from the chapters for homework.
TEST REWORK/TEST "RETAKE"
There will be a test "retake" available on Thursday, March 18 in class for anyone who turns in their completed reworked problems from the Two-proportion test.
The retake will include one-proportion and two proportion tests and intervals, Type I and Type II error, and finding the sufficient sample size for a margin of error.
EXAM REVIEW
Have the draft of your first review page (assigned individually in class) with you in class on March 31. We will peer-review and edit the pages before they go into the class webpage. Go to this page to see examples of how the class of 2009 handled a similar assignment. Your product may be a webpage or a document.
HW for every night: Work problems from chapters 11-13. You should be able to do all these problems.
Essential questions that you need to write responses for:
Why is a t-test used instead of a z-test when we do not have the population standard deviation?
Why is it inappropriate to perform repeated tests instead of relying on one test?
The mean of x for sample 1 - the mean of x for sample 2 = the mean of the paired differences. So why does it matter whether we perform a two-sample test of independent means or a paired t-test? (This is incredibly important!!!)
WRITE AT LEAST A PAGE ABOUT THESE TOPICS. Hint: Consider the effect that your choice of test has on the power of the test.
TEST on inference for means: March 30, 2010
Subscribe to:
Posts (Atom)