Thursday, September 11, 2008
Tuesday, September 09, 2008
Thursday, September 04, 2008
Wednesday, September 03, 2008
Thursday, August 28, 2008
Independent?
Friday's work: worksheet
All of this is due Tuesday.
And don't forget your die!
And the syllabus quiz!
Wednesday, August 27, 2008
Tuesday, August 26, 2008
Monday, August 25, 2008
First day!
Read chapter one: quiz tomorrow!
Start making your die: due next Tuesday.
Tuesday, August 19, 2008
Monday, May 05, 2008
Sunday, May 04, 2008
sunday night
mr d
Saturday, May 03, 2008
O-6
a) Ho: p = 0.5; Ha: p=/ 0.5
b) Conditions for a 1-prop z-test are NOT satisfied, because 8*0.5 = 4 which is a lot less than 10. In other words, the expected number of successes is too small.
c) To work around this problem, we use binomial pdf. We use p = 0.5, n = 8 and fill in the table:
0 0.00391
1 0.03125
2 0.10937
3 0.21875
4 0.27344
5 0.21875
6 0.10937
7 0.03125
8 0.00391
d) Since the test is two-sided, we see this this:
If x = 0 or 8, p = 2*0.0391 which is less than 5%
If x <= 1, then we add up the lower 2 and upper 2 and get 0.07312, which is greater than 5%
So 5% is not possible.
e) For the provided data, x = 2. So the p-value is 2*P(x <= 2) = 2*(0.003906 + 0.03125 + 0.109375) = 28.9% We would fail to reject and fail to find evidence of any difference between the two brands.
f) Increase sample size! It lowers the expected sd and enables us to more clearly see any differences that might exist between the two brands. sqrt(p*1-p/n) gets smaller!
That's a doozy of a problem, but hopefully this helps!
More??
- Flashcards powerpoint
- Name that green sheet website
- Answers to test O
- Name that green sheet answers for tests I through Q
I'm more than happy to do more, but I will now switch to waiting for e-mail requests. I you want more answers (P or Q) or something else, just send me an e-mail:
mrmathman@(no-spam)gmail.com
Obviously, take out the no spam thing.
I'm more than happy to type up more answers if you're working hard and want them. Just drop me that e-mail and I'll put them up.
Good luck and happy studying to all!
Friday, May 02, 2008
web site for inference
However, I think that after you 10 or so of these, you'll get used to the wording of this site and it will be good practice. If it is just always frustrating, switch to finding the tests and intervals in your notebook. Every released test (A, B, C,...) has at least one.
Note: this website includes prediction intervals, which you do not need to know.
Wednesday, April 30, 2008
Answers for O #1-5
M =
Name that green sheet
Monday, April 07, 2008
Calendar info
**Click on "Week" to view a week at a time and better see the details
of what we did each day.
**Homework and classwork is listed for each day.
I hope this is helpful!
Sunday, April 06, 2008
Review Calendar
http://www.google.com/calendar/embed?src=5dskgriao5era1dj6un4ipgo7c%40group.calendar.google.com&ctz=America/Los_Angeles
Wednesday, March 19, 2008
Tuesday, March 18, 2008
Monday, March 17, 2008
Wednesday, March 12, 2008
#6 is even? OK...
69 and 103 > 10
69/172 +/- 1.96*sqrt(.401*.599/172)
I am 95% confident that the true percentage of Adirondack streams that
have a shale substrate is between 32.8% and 47.4%.
a few answers
histogram looks very nice and normal! (did you draw it?)
7.963 +/- (t*)(8.79/sqrt(27))
t* is for 26 df
I am 95% confident that the true mean difference between boys and
girls who have been drunk at least twice is between 4.5% and 11.4%
#10a)
1772/2000 = 88.6%
b) 250000/304266 = 82.2%
c) Type I = certify the petition when there are not enough sigs.
d) Type II = valid petition not certified.
e) Ho: p = 82.2% Ha: p > 82.2%
1772 and 228 > 10 check!
z = (.886 - .822)/0.008553
Note: use 0.822 in sd formula
z = 7.48, p-value = 0
We reject and say we found sig evidence that the % is greater than
82.%. Certify!
f) To increase power, collect even more sigs. Although it seems like
we have plenty of power.
#16
SRS
2 independent years
260, 240, 270 and 230 are all > 10
(0.54 - 0.52) +/- 1.96*sqrt( (.54*.46/500) + (.52*.48/500) )
I am 95% confident that the change in proportion of students who
choose to enroll is between -4.2% and 8.2%
16b) Since zero is in the interval, we would think that there is not
evidence of a change.
Tuesday, March 11, 2008
Monday, March 10, 2008
Thursday, March 06, 2008
Thursday, February 28, 2008
Wednesday, February 27, 2008
test ideas
1-mean? Ch. 23 #21
matched pairs mean? Ch. 25 #14abc is great
Alpha? Ch. 21 #11
Read? "What Can Go Wrong?" on p. 415 and pages 444 and 445 (beer!)
Tuesday, February 26, 2008
Monday, February 25, 2008
Thursday, February 21, 2008
Tuesday, February 19, 2008
Mr t, beer and mermaids
Thursday, February 14, 2008
Here comes a test!
Tuesday, February 12, 2008
Thursday, February 07, 2008
Wednesday, February 06, 2008
no homework
You might want to work on perfecting your homework and getting ready
for your Quest!
Tuesday, February 05, 2008
got behind, sorry...
Thursday, January 31, 2008
Wednesday, January 30, 2008
Monday, January 28, 2008
Thursday, January 24, 2008
Wednesday, January 23, 2008
Tuesday, January 22, 2008
Thursday, January 10, 2008
Wednesday, January 09, 2008
Unit 3 review answers
4b) A control group gives us a baseline for comparison. Something might happen during the course of the study, say, everyone gets a raise. Then we could see how the stress level was reduced overall and will be able to tell if the treatment(s) lowered the stress even more.
4c) No, the study is done on volunteers, not a random sample of the company. There might be differences from the volunteers compared the average worker.
Tuesday, January 08, 2008
Unit 2 review answers
1b. 233.517 = ABOUT 233.5 more aircraft per year.
1c. 89.9% of the change in aircraft is explained by the regression on year.
1d. 2939.93 + 233.517*(2) = 3406.964 aircraft
1e. 3406.964 + 40 = 3446.964 = 3447 aircraft
1f. sqrt(0.899) = 0.948 = r = strong, positive, linear relationship between year and # of aircraft
1g. s = 33.43 = sd of the residuals = the LSRL missed the data by an average of 33.43 aircraft
1h. aircraft-hat = 2939.93 + 233.517*year
1i. Yes! In 1990 (year zero) we PREDICT that there were 2939.93 aircraft.
Unit I review answers
2a. increase; b. same; c. inc.; d. same; e. inc.
3a. Since the data is skewed right (draw a little box-plot using the 5 # summary to see this clearly), the mean will be greater than the median. It is pulled up by the skewness.
3b. IQR = 3.3 - 2.8 = 0.5
1.5*IQR = 1.5*0.5 = 0.75
2.8 - 0.75 = 2.05 is the lower outlier fence
3.3 + 0.75 = 4.05 is the upper outlier fence
SO: 4.2 is a high outlier and the other two fish are not outliers.
Chapter 6 #25 is odd! Check is carefully! Here's a little work:
25b) z = 0.5; 0.5 is the lower bound and 999 is upper
25c) lower bound = z = -1.583 and upper bound = z = -0.75
25d) invnorm(0.25) = - 0.674 = z; invnorm(0.75) = z = 0.674; then do algebra to find Q1 and Q3; IQR = Q3 - Q1
1. Who = 200 adults
What: education level and smoking habits
When: ??
Where: mall
How: ??
Why: ??
2. two categorical variables: education level and smoking status
3a. 32/200 = 16%; b. 32/93 = 34.4%; c. 32/50 = 64%
4. 2 bars: one for smokers and one for non. The bars should both add to 100%. The HS part of smoker bar should be 64%, whereas the 4+ non should be the biggest (48%).
5. These data provide evidence of an association between smoking and education level. 64% of smokers had only a hs diploma, whereas 40.7% of non-smokers had only a hs diploma.
6. We have no idea if the behavior changes over time. This data was only taken at one point in time.
Monday, January 07, 2008
Wednesday, December 19, 2007
Answer to basketball simulation
01-72 = makes shot
73-00 = misses
here's some digits:
5730 3485 3246 75 4563
2pts 1pt 2pts 0pts 2pts.
For the 5 runs above my average would be: (2 + 1 + 2 + 0 + 2)/5 = 1.4
That's the simulation.
Now for the expected value
P(0) = 0.28 (misses first shot and is done)
P(1) = (.72)*(.28) (makes the first, misses the second)
P(2) = (.72)^2 (makes both)
Now just run the expected value formula with 0, 1, 2 and the 3 probabilities.
Answers, comments and hints to the review
If the each ticket was bought separately, that would make the formula C + C + C + F + F + ... The mean is the same for either formula. But if the second formula was used, you'd have to do the Pythagorean formula thing.
3b) First do 3C = 450 and 5F = 500; then do sqrt(450^2 + 500^2)
3c) This is only about ONE of each tix: C - F. You can take it from there...
6) Make a 2-way table: 51% in the upper left corner. The other two numbers go on the outside.
a) only 3% is left in the lower right corner
b) P(left|right) = 51/82 = 62.2%. Since P(left) = 66%, this is fairly different, so they are not independent.
7a) 1 - (89/90)^10
7b) 1 - (9/10)^10
7c) 1 - (89/90)^5*(9/10)^5
25d) (0.93)^4*(0.07)
28a) mean = 4
28b) sd = 3.2
28c) Think and read carefully! If the first is bigger than the second then:
(first - second) > zero
So we want to use the mean and sd from above to compare to zero:
z = (0 - 4)/3.2 = -1.249
P(z>-1.249) = (using normalcdf) = 89.4%
42a) 1/100 = 0.01
42b) (.99)(.99)(.01) = 0.009801
42c) (.99)^100 = 0.366
42d) You want to be first!
42e) It doesn't matter! Everyone has a 1% chance!
Now if you're thinking carefully about (e), you might be thinking: "Hey, don't the probabilities change?" Watch this!
Prob(3rd person wins) = (99/100)*(98/99)*(1/98) = 1% (notice how all the fractions reduce!)
Pretty cool, huh?
I will check e-mail at about 10-ish tonight. If you are feeling frustrated, drop a line to:
mrmathman @ gmail.com
I will reply tonight.
Good luck!
Tuesday, December 18, 2007
THE LAST ASSIGNMENT OF 07!!!
Ch. 11 #15: Run 10 times and find the expected value of this problem in theory.
Monday, December 17, 2007
Thursday, December 13, 2007
Tuesday, December 11, 2007
Monday, December 10, 2007
Friday, December 07, 2007
Wednesday, December 05, 2007
Tuesday, December 04, 2007
Friday, November 30, 2007
Answers to Friday's work
1. 0.45
2. 0.87
Chapter 14 #12b)
1. (0.55)^2 = 0.3025
2. (0.45)^2 = 0.2025
3. 1 - (0.87)^2 = 0.2431
Chapter 15 #8
a) P(male | cat) = 6/18 = 0.333
b) P(cat | female) = 12/28 = 0.429
c) P(female | dog) = 16/24
Chapter 15 #10
a) 0.62
b) 0.26/0.30 = 0.867
c) 0.12/0.62 = 0.194
d) 0.66
Chapter 15 #24
No! P(death penalty) = 62%, but P(dp | rep) = 26/30 = 86.7% and P(dp
| dem) = 12/36 = 33%, so party is clearly NOT independent of party!
Quiz on Monday!!!
Answers to Thursday's work
a) 0.14
b) 0.23
c) 0.77
Ch. 15 #20
a) P(Canada | Mexico) = 0.04/0.09 = 0.444
b) No, 4% have been to both
c) No, P(Canada) = 18%, which does not equal part (a), above, so not
independent.
Thursday, November 29, 2007
Wednesday, November 28, 2007
Monday, November 26, 2007
Tuesday, November 13, 2007
The last 4 days before Thanksgiving
Wednesday, November 07, 2007
down the river
means. We'll wrap it up tomorrow.
HW: Ch. 13 #9-15, 32, 34, 36; Ch. 12 #7, 9--Due Friday!
Tuesday, November 06, 2007
Monday, November 05, 2007
Thursday, November 01, 2007
Tuesday, October 30, 2007
Monday, October 29, 2007
Monday Homework
Here are some of the class notes:
Calling on students for chance cards.
Simple Random Sample:
Use the Random Integer command on my calculator to randomly pick who to call on.
OR:
Put everyone's name in a hat and draw 5 names.
Stratified Random Sample:
I might stratify by class grades. Divide the class into five groups
(A, B, C, D, F) and randomly pick some students to participate from
each group. I think students with high grades are more likely to
participate and vice versa, so this will give me a good
representation.
Cluster sample:
Randomly pick one of the 8 table groups and call on everyone in that group.
Systematic Random Sample:
Use the roll sheet and pick every 5th person.
OR:
Pick every 3rd person as you arrive to class.
Population: Rancho Students
Question: Is RCHS a quality school?
Possible Strata?
Stratifying by GPA:
I would divide the student body into 3 groups: high, med and low GPA.
I would then randomly choose some students to survey from each group.
I think that each of these groups will have very different opinions
about RCHS and I want to make sure that each group is represented.
Friday, October 26, 2007
Thursday, October 25, 2007
Tuesday, October 23, 2007
Test tomorrow!
Study chapters 7 through 10 and normal problems
Study your worksheet from Chapter 10
Study your old regression test on temp/crawling
Study Ch. 9 #1
Study extrapolation, outliers and influential points and the standard
deviation of the residuals
Chapter 10 #1 and 2
Monday, October 22, 2007
Friday, October 19, 2007
Wednesday, October 17, 2007
Tuesday, October 16, 2007
Starting Chapter 10
1979—226,260
1980—907,075
1981—2,826,095
Year vs. acres devastated by the gypsy moth.
Predict for 1982, please!
Also, MC packet #6
Monday, October 15, 2007
Influential?
Ch. 9 #11-16
Article #4 due Friday--just write a half-page summary
Thursday, October 11, 2007
Review Answers
17c) First take the squareroot of 0.924. I forget exactly what this is, but it is 0.9something. This tells us there is a strong, positive, linear relationship between tar and nicotine.
17d) For every 1 more mg of tar, we predict about 0.065 more mg of nicotine.
17e) Even with no tar, we still predict about 0.154 mg of nicotine.
1d) 92.3% of the variation in age can be explained by the regression on age.
1f) She is shorter than predicted, for her age.
1g) Wait until next week.
See you in the morning!
Now go to bed! :o)
Wednesday, October 10, 2007
Tuesday, October 09, 2007
Practice Test
Add to #10 the interpretation of the y-intercept
Parts of this assignment will graded tomorrow
and this grade will be part of your test grade.
Monday, October 08, 2007
Friday, October 05, 2007
Thursdays HW
#25ef, 29c
#30: slope, y-intercept, r, R2, and prediction for 2002
Article #3!!!
No homework for Friday