introduction to statistics using the ti-83 graphing …introduction to statistics using the ti-83...

131
Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed specifically for the course of Introductory Statistics that I teach. In writing this booklet I have presented problems which we will cover in class and methods of solution which I think are the best and most straight forward. This working text is meant to be used in conjunction with the class lecture and required textbook. Also included are sample problems, midterms and final examinations. I urge students to work in study groups and to meet regularly to go over homework and test questions. If you have a question about the course or need to contact me, my e- mail address is [email protected]

Upload: others

Post on 25-Jul-2020

8 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

Introduction to Statistics Using the TI-83 Graphing Calculator

By

Dr. Robert Knight

This document is a working text that is designed specifically for the course ofIntroductory Statistics that I teach. In writing this booklet I have presented problemswhich we will cover in class and methods of solution which I think are the best and moststraight forward. This working text is meant to be used in conjunction with the classlecture and required textbook. Also included are sample problems, midterms and finalexaminations.

I urge students to work in study groups and to meet regularly to go over homework andtest questions. If you have a question about the course or need to contact me, my e-mail address is [email protected]

Page 2: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

2

Chapter 1

Sampling Methods

Page 3: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

3

Data and Lists

When doing homework and taking tests, you will need to put lists of information (DATA)into your calculator. Do this by pressing STAT 1:Edit

With the cursor in this position you are ready to enter data into List 1(position 1) bytyping the number and pressing ENTER.

Now enter the numbers that appear in the stem leaf plot below into list 1.

4 12565 1596 23334

When you finish your List 1 should look like this. The L1(13) tells you the next

entry is the 13th in List 1. Hence, there are 12 entries present now.

You can use the up arrow and scroll to the top of List 1 to the 1st entry. You can see thatthe 1st entry in List 1 is the number 41

Replace the number 41 with the number40 by typing 40 with the cursor in this positionand pressing ENTER.

Page 4: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

4

If you make a mistake you can overwrite the entry as we just did above. Sometimes youmight put too many numbers into your list. To get rid of one of them, go to the numberyou want to delete and press DEL (delete). Try deleting the number 45 from your list.

Now let s say you forgot one of the numbers and you want to put the number into the listin a specific location. Place the cursor where you want the number to be placed andpress INS (insert). Now try inserting the number 50 between 46 and 51. Place thecursor on the number 51, press INS and then 50. Your screen will look like this. Whenyou press ENTER the 50 will be put into the list between 46 and 51. TRY IT!

Now input the data from the following stem leaf plot into L2 (List 2)1 12 56893 45894 234

Your calculator should now look like this.

Now we are going to formulate a List 3, which is the addition (sum) of Lists 1 & 2. Todo this, go to List 3 with the cursor and use the up arrow to go to the L3 heading.

At the bottom of the screen you will see a blank line where you can enter a formulatelling the calculator how to compute L3. Type in L1 + L2 and Press ENTER. MAGIC!

(NOTE: If the two lists are not the same lengths you will get the error statement. DIMMISMATCH)

Page 5: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

5

Now let s clear the lists so that you can do more work. There are two ways to do this.Method 1: Go to the list editor (STAT 1: Edit). Move the cursor to the top of any list youwish to clear so that you highlight the list name. Press CLEAR then ENTER.

Method 2: Press STAT 4: ClrList and enter the list(s) you want cleared with a commaseparating them. Clear Lists 1 through 6. Press ENTER and you should see this.

All your lists are now cleared ready for your next homework or test question.

Finding out about a list s statistics

Enter the following data into L1 of your List editor

5 15576 2227 358 9

Now go to STAT > CALC and select 1:1-Var Stats

This will be pasted to the home screen and follow it by L1 as shown next. Then PressENTER.

You now have the summary statistics for list L1. These include the mean, standarddeviation, number in the list, median and 5-number summary.

Five number summaryMean

Page 6: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

6

Next we will see how to input data summarized in a frequency table.

Frequency Tables

The following frequency table will now be input into the TI-83. Clear all lists.

x f12-26 227-41 542-56 857-71 4

First enter the lower class limits and upper class limits into lists L1 and L2 respectively.Now move the cursor to L3 and enter the formula for determining the class marks.

Press ENTER and the class marks will now appear in L3. (Notice the ( ) in the formula).

Now enter the class frequencies in L4 as shown below.

Page 7: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

7

We can find out the summary statistics from our frequency table. First go to the homescreen by using 2nd > QUIT. Again go to STAT > CALC and select 1: 1-Var Stats. Put inthe lists where the class marks and frequencies are stored remembering to use acomma. In this case 1: 1-Var Stats L3,L4

Now press ENTER

These are the summary statistics for the frequency table. They also include the mean,standard deviation, total number, median and five number summary.

Another statistic we will talk about is the interquartile range. It is gotten by performingthe subtraction Q3 — Q1 or 49 — 34 = 15 in this example.

One other statistic is the variance. You can find the variance by pressing LIST > MATHand scroll down or up to 8: variance (enter L3, L4 and press ENTER.

The variance is approximately 196.05.

Five number summary

Mean

Page 8: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

8

Chapter 2

Graphing Statistics

Boxplots

Enter the data found in the first stem plot into L5.

4 12565 1596 23334

We will now have the calculator draw a boxplot of this data to get an idea of what thedistribution of the data looks like.

Press 2 nd and STAT PLOT. The screen will look like this.

Now press either 1 or ENTER and use the direction arrows to get this screen.

Now press ZOOM 9 and the screen will something look like this.

Now press the TRACE button and use the direction arrows to see the Median, Q1 aswell as other values in the five number summary.

Page 9: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

9

Histograms

Next we will graph a histogram (what you used to call bar graph) for the data containedin the frequency table which we stored in L1 through L4.

x f12-26 227-41 542-56 857-71 4

Press STAT PLOT and select Plot 2, make sure all the other plots are turned off. If theyare not select 4:PlotsOff and press ENTER. Now select Plot1 and using the cursor,

select the following settings as shown in this screen.To graph the actual Histogram Press ZOOM 9. The following screen should appear.

Press TRACE and the screen looks like this. Notice that this is not a very goodhistogram for the frequency table because it has too many classes and some of theclasses have no members (frequency = 0). So to make the correct histogram appear wewill modify the window by pressing WINDOW.

This is the window the calculator sets up. By changing Xmin to the lower class boundaryof the first class and Xscl to the class width we will get the histogram you see below.Make the two changes you see above and then press GRAPH (not ZOOM 9). Press theTRACE button and see the screen you see on the next page.

1.Turn the plot on.2.Select Histogram3.List containing class marks.4.List containing class frequencies

Page 10: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

10

This denotes that the Plot1 uses L3 and L4.

This means that the lower class boundary of the first class is 11.5 the upper classboundary is 26.5.Using the right arrow we can get the other class s boundaries and frequencies.

Now let s create a frequency table and histogram from a list of data, Additionally, we willspecify the number of classes we want the frequency table to have.

For the data given below, create a frequency table having six (6) classes.

18 56 25 45 7932 46 12 54 6559 29 19 98 8629 75 49 22 6792 10 37 43 1694 19 20 71 63

The first step is to enter all the data into one list of your list editor. It does not matter ifyou enter going across or up & down, but all the data must be in one list.

The calculator screen will look something like this.

The next step will be to determine the range of numbers for this set of data.

The range = Maximum — Minimum. The easiest way to find the Max and Min for or datais to have the calculator determine the 1 — Var Stats for this data set. Go to Stat > Calcand select 1: 1 — Var Stats followed by the list containing the data (L1 in this case).Once the 1 — Var Stats have been calculated, scroll to the five number summary to getthe Max and Min for the data set.

This is the class frequency whichcorresponds to how height of the bar.

Page 11: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

11

The following screens demonstrate this process.

So the range of the data will be 98 — 10 = 88.Next take the range (88) and devide by the number of classes required (6 in this case)

Round this number up to the next whole number (if the answer was a whole number,go to the next whole number). This gives the class width required. In this case 15.

Next, go to the STAT PLOT screen and check to see that all the PLOTS are off.Select PLOT 1 and set up the screen to look like the screen below.

Now Press ZOOM 9 and you should see the following screen

Page 12: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

12

Next, Press the WINDOW key and make the following two changes.The Xmax will be changed to the lower class boundary of the first class.T Xscl will become the class width that you calculated above.

Now Press the GRAPH key and you will see a histogram which has the classes withthe proper class width and boundaries for the data. To see the actual boundaries of theclasses and their respective frequencies, use the TRACE key.

This information can be put into a frequency table like the one below.X f

9.5 — 24.5 824.5 — 39.5 539.5 — 54.5 554.5 — 69.5 569.5 — 84.5 384.5 — 99.5 4

Page 13: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

13

Practice Midterm #1

1. Identify the type of sampling used in each case.

(a) A quality control analyst inspects every 50th compact disk from the assemblyline.__________________________

(b) A sample of 12 jurors is selected by first placing all names on cards that aremixed in a drum._______________

(c) A television news team samples reactions to an election by selecting adultswho pass by the news studio entrance.___________________

(d) A political analyst first identifies three different economic groups, then selects200 subjects from each of them. _____________________

(e) News coverage includes exit polls of everyone from each of 80 randomlyselected election precincts.____________

2. Use the given sample data to find each of the listed values.

63 76 88 75 82 82 94 81 61

(a) mean___________ (b) median___________

(c) mode___________ (d) midrange__________

(e) range___________ (f) variance___________

(g) st. dev._________ (h) Q3___________

3. Use the frequency table below to find the values listed at the right.

(a) mean __________

(b) standard deviation_________

(c) variance__________

x f

1-15 216-30 031-45 546-60 861-75 1276-90 20

Page 14: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

14

4. Referring to the frequency table given in problem 3, answer the following questions.

(a) What is the lower class limit for the first class?

(a)________________(b) What is the class mark of the first class?

(b)_______________(c) What is the lower class boundary of the third class?

(c) ________________

(d) What is the sample size n? (d) ________________

(e) What is the class width? (e) ________________

5. Construct the histogram for the data summarized in the frequency table for problem3.

____________________________________________________________________

6. Construct and label a boxplot for the data given in problem 2.

7. Which is better: A score of 66 on a test with a mean of80 and a standard deviation of 6, or a score of 70 on atest with a mean of 80 and a standard deviation of 3?Explain your choice.

Page 15: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

15

Answer Key for Practice Midterm #1

1.a. systematicb. randomc. convenienced. stratifiede. cluster2.a. 78b. 81c. 82d. 77.5e. 33f. 115.5g. 10.75h. 853.a. 66.09b. 19.69c. 387.564.a. 1b. 8c. 30.5d. 47e. 155.

6.

Also label all the other classboundaries and frequencies.

81 85 946961

7.

Since the Z score for the grade of 66 is greater(further to the right on the number line) than theZ score for the grade of 70, 66 is the bettergrade.

Page 16: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

16

Electronic Data Transfer

The person getting data does the following

1. Press 2nd (yellow key) 3. Over arrow to RECEIVE 5. The screen will sayWaiting

2. Press LINK 4. When person sending isready press ENTER

6. the person sendingmay now TRANSMIT

The person sending the data does the following

1. Press 2nd (yellow key)2. Press LINK3. Choose SEND (press either ENTER or 1)

4. Select 3: Prgm (if you want to send programs) or 4:List (for lists)5. Now use the down arrow to go to the programs or lists you wish to transmit.6. To select a specific program or list press ENTER and a little square appears.7. After selecting all programs or lists you wish to transmit right arrow to TRANSMIT

(The person receiving the data should now press ENTER to be Waiting)8. Finally press ENTER and the programs or lists will be sent.9. If you are replacing a list or program or transmitting data from L1 — L6, then the

person receiving the data will have to OVERRIDE by pressing 2 when prompted.

Page 17: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

17

Creating Named Lists and storing them in the TI-83

In doing your statistics team research project, you will what to be able to create namedlists in which your team can store measurement data. By doing this you will be able towork with this information and analyze the data using various statistical functions in theTI-83.

You now know where the lists L1 through L6 are located in the TI-83, get to them bypressing STAT 1.

Now press the blue up arrow to put the cursor on the label for the list L1.

Now press the yellow INS button by pressing 2nd and INS. A new list will appear.

Let s say your team is doing a price comparison between items found at Lucky andSafeway. The first list we will create will be called LUCKY. You could create it asfollows.

First enter the name LUCKY using the GREEN keys, then press ENTER.

Notice the new list next to L1 that has no name.

You can name the list by using the GREEN alphakeys to insert any 5-lettered name you wish. Thename will appear here.

Move thecursor tothis positionusing theblue downarrow.

Page 18: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

18

Now create a second named list called SFWAY using the same method.

Move the cursor to the name on an existing list (LUCKY) and press INS.

Spell out SFWAY using the GREEN keys Press ENTER

You now have two named lists that can be used to store data without taking up room inthe lists L1-L6.Now let s hide those named lists so that they do not appear on the list editor when weare doing homework or mid-term exams. To hide these lists, but keep them in thecalculator s memory press STAT 5:SetUpEditor .then ENTER. Your screen shouldlook like this when you do.

When you go back to look at the list editor using STAT1:Edit you will see this

Notice the named lists no longer appear in the list editor. But, they are in yourcalculator. Where? They are stored under LIST above the STAT key. Press LIST.

Now let s say we want to work on the project and set up the list editor so that you onlysee the named lists LUCKY and SFWAY.

This is where the named lists are stored.The TI-83 can store 999 such lists andthey can have 999 entries each!

Page 19: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

19

To set up the list editor with named only lists.

Press STAT5:SetUpEditor The screen will look like this.

Now press 2nd LIST to view this screen.

Press 1 and the List named LUCKY is pasted back to the home screen, press comma(,)

Now Press LIST again and this time select 2:SFWAY from the screen below.

Now press ENTER. The screen tells you that it is DONE

When you press 2SFWAY will be pastedto the home screen.

Page 20: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

20

When you press STAT 1:Edit you will see the list editor with only the named lists.You can now enter you data into the lists and the data will be stored in the TI-83.

When you are finished working with the named lists and want to restore the list editor tothe original setting with only lists L1 through L6 showing,Press STAT 5:SetUpEditor and then ENTER.

Now press STAT 1;Edit and the list editor is restored to showing only the L1 — L6.

Deleting Lists

At some point you wish to delete the named lists from the calculator s memory.To do this press 2nd MEM which is over the + symbol. Press 2:Delete

Enter data into yournamed lists, but keepa record of what thedata means.

Page 21: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

21

Now press 4:List

The next screen will enable you to scroll down and select the lists you want to deleteusing the ENTER key

When you press ENTER the list is deleted.

When you are finished deleting lists press 2nd QUIT to go back to the HOME screen.

Press ENTER withthe arrow onSFWAY and theSFWAY list isdeleted.

Page 22: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

22

Chapter 3

The Normal Distribution

In drawing the normal distribution we will make use of a saved window to graph thestandard normal distribution. Press the WINDOW button and enter the values you seein the following screen very, very carefully.

We will now store this window to be used in the future so that we do not have to put inthese numbers every time we wish to graph a normal distribution. First check bypressing STAT PLOT that all the plots are turned off. Also check by pressing the Y=button that no equation are in the function toolbox.

All plots are turned Off No equations in Y= function tool box.Now press 2 nd DRAW and go to the STO menu to see the screen below

Note that these two negative values require using thegray negative button, not the blue subtract button.

Select 3 Store GDB (Graph Data Base) by pressing 3.

Store GDB will be pasted to the home screen. Now press the number 1.

Now press ENTER and the screen will tell you it isDONE.

Note: this is .1 not 1

Page 23: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

23

Standard Normal Distribution

We are now ready to do problems dealing with graphing the standard normaldistribution. First we will need to know how to recall the window we stored as graph database 1 (GDB1). Press 2 nd DRAW and use the arrows to go to the STO menu. Select4:Recall GDB and press ENTER. This pastes the Recall GDB command to the homescreen. Now press the number 1 and then Press ENTER and the calculator tells you itis DONE.

Let say we want to know what proportion or percentage of the population in a standardnormal distribution that is between 1 and 2 standard deviations above the mean.Another way this question could be asked is what is the probability that, if a member israndomly selected from the population, that member will be between 1 and 2 standarddeviations above the mean?

We will do this problem finding the percentage or probability and also graphing the areaunder the standard normal curve that represents this percentage or probability.

Press 2 nd DISTR and right arrow to the DRAW menu shown below.

These are the 1 and 2 standard deviations between which the graph is drawn.

When we are finished go to 2 nd DRAW and select 1:ClrDraw to clear your graph.

Select1:ShadeNorm( , andthen type 1,2 forbetween 1 and 2standard deviations

Press ENTER to seethe graph below.

This the percentage or probability of the distributionbetween 1 and 2 standard deviations = .1359 or 13.56%

This is the area under the standard normal curve thatrepresents .1359 or 13.59% of the population.

Select 4:RecallGDBType in 1 and press ENTER

Page 24: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

24

Non-Standard Normal Distribution

We will now do some problems that deal with other populations which are normaldistributions with means and standard deviations other than 0 and 1 respectively. Inother words, non-standard normal distributions.

How do you deal with a non-standard normal distribution? Standardize it! You ve heardof standardized tests. How do you standardize? The Z score formula.

Now we will do a typical non-standard normal deviation problem.

An educational testing corporation has designed a standard test of mechanicalaptitude. Scores on this test are normally distributed with a mean of 75 and astandard deviation of 15.

If a subject is randomly selected and tested, find the probability that his score willbe between 75 and 100.

Go to the home screen by pressing 2 nd QUIT. Clear the screen by pressing CLEAR.

We will calculate the z scores for the two upper and lower bounds of 75 and 100 usingthe z score formula. We will also store those z scores using the STO key and thegreen ALPHA key.

Zx x

s= −The standardized

score or Z score

The non-standard scoreThe mean

The standard deviation

This calculates the zscore for the lower boundof 75.

This stores the z score using the STOkey

This stores the z score as the letter Ausing the ALPHA key and the greenletter A.

This calculates the z scorefor the upper bound of 100.

This stores the z score using the STOkey

This stores the z score as the letter Ausing the ALPHA key and the greenletter B.

Z scores

Page 25: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

25

Now that the z scores have been calculated and stored as A and B, we will graph the

First press 2 nd DISTR and go to the DRAW menu. Select 1:ShadeNorm( by pressing 1

Now press ENTER to see the graph below.

Here are the lower and upper bound z scores.

Do not forget to clear the graph by pressing 2 nd DRAW and select 1;ClrGraph

ShadeNorm isnow pasted to thehome screen

Enter A and B by using the ALPHA keys followed by A and B

Here is the graph of the arearepresenting the probability

Here is the actual probability = .4522or 45.22%

Page 26: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

26

Now we will do another problem for the same distribution with a mean of 75 and astandard deviation of 15.

If a subject is randomly selected and tested, find the probability that his score will bebelow 85.

Go to the home screen by pressing 2 nd QUIT and then CLEAR to clear it.

We now calculate the z score for 85 using the z score formula storing the answer as Ausing the STO key and the green ALPHA key followed by the green letter A

Again go to 2 nd DISTR arrow to the DRAW menu and select 1:ShadeNorm by pressingENTER.

After selecting ShadeNorm we need to use negative infinity as the lower bound. To dothis first press the gray negative key. Then press 2 nd and then the yellow EE keyabove the comma (,) key. Type in the number 99.

The z score for the number 85

The lower bound of negative infinityuses the gray negative key, then 2 ndfollowed by the yellow EE key.

The upper bound is the stored value of A which usesthe ALPHA key followed by the letter A.

Page 27: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

27

Now press ENTER to see the answer and the shaded distribution.

Here are the lower and upper bounds z scores.

Problems that ask for probabilities a score will be greater than a particular number willinvolve positive infinity and will require EE99 as an upper bound.

Again go to 2 nd DRAW and select 1:ClrDraw to clear the graph

One last problem dealing with this particular non-standard normal distribution. Find the33rd percentile. That is the score that separates the upper 67% of the population fromthe lower 33% of the population.

Go to the 2 nd DISTR button and select 3:invNorm (to paste this command to the homescreen.

Here is theprobability =.7475 or74.75%

Here is the shaded arearepresenting the probability.

The syntax for the invNorm command is to enter the areato the left followed by the mean and standard deviation.

The score that separates the lower 33% from theupper 67% is 69. This is one answer that is alwaysrounded up, not off.

Page 28: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

28

The Central Limit Theorem

In problems dealing with samples of a certain size being taken randomly from apopulation, think about the Central Limit Theorem. The major difference between aCentral Limit Theorem problem and problems we have just done is the recalculation ofthe standard deviation for the Central Limit Theorem problems. Other than that theproblem can be handled in exactly the same manner as non-standard distributionproblems.

For example for the distribution problem that we were doing earlier, a Central LimitTheorem variation would be as follows.

An educational testing corporation has designed a standard test of mechanicalaptitude. Scores on this test are normally distributed with a mean of 75 and astandard deviation of 15.Eighty different subjects are randomly selected and tested.Find the probability that this sample of 80 has a mean is below 71.

Again the key here is that a sample of 80 subjects are randomly selected. So first wewill recalculate the new standard deviation for this distribution remembering that theoriginal distributions standard deviation was = 15.

The actual value of the standard deviation that will be used in this Central LimitTheorem problem and which is stored as S.

Now we proceed with the problem by calculating the z score for the score of 71 usingthis newly calculated standard deviation (S) and storing the resulting z score as A.

This uses the formula for calculating the

new standard deviation, ss

nx = stores

in using the STO button and the ALPHAbutton followed by the green letter S

Page 29: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

29

Finally we go to the 2 nd DISTR button and then to the DRAW menu and select1:ShadeNorm( as before, thus pasting it to the home screen.

As before, since this is a problem asking for the probability that a score will be below aparticular number (71), we use negative infinity in the form —E99. Press ENTER.

Here is the screen giving the probability of .0085 or .85% along with the graph.

Page 30: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

30

Problems;In one region, the September energy consumption levels for single-family homes arefound to be normally distributed with a mean of 1050 kwh and a standard deviation of218 kwh.

• 1. For a randomly selected home, find the probability that the September energyconsumption level is between 1050 kwh and 1250 kwh.

• 2. For a randomly selected home, find the probability that the September energyconsumption level is below 1200 kwh.

• 3. For a randomly selected home, find the probability that the September energyconsumption level is between 1100 kwh and 1225 kwh.

• 4. For a randomly selected home, find the probability that he September energyconsumption level is above 1175 kwh.

• 5. For a randomly selected home, find the probability that the September energyconsumption level is between 1000 kwh and 1200 kwh.

• 6. Find the 45th percentile.

• 7. If 50 different homes are randomly selected, find the probability that their meanenergy consumption level for September is greater than 1075 kwh.

• 8. The mean serum cholesterol of a large population of overweight adults is 220milligrams per deciliter (mg/ dl), and the standard deviation is 16.3 mg/dl. If a sampleof 30 adults is selected, find the probability that the mean will be between 220 and222 mg/dl.

9.Toby s Trucking Company determined that on an annual basis, the distance traveledper truck is normally distributed with a mean of 50.0 thousand miles and a standarddeviation of 12.0 thousand miles.

(a) How many of the 1,000 trucks in the fleet are expected to travel between 30.0and 60.0 thousand miles in the year?

(b) How many miles will be traveled by at least 80% of the trucks?

Page 31: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

31

10.A set of final examination grades in an introductory statistics course was found to benormally distributed with a mean of 73 and a standard deviation of 8.

(a)What is the probability of getting a grade no higher than 91 on this exam?

(b)What is the final exam grade if only 5% of the students taking the test scored higher?

(c)If the professor curves (gives A s to the top 10% of the class regardless of thescore), are you better off with a grade of 81 on this exam or a grade of 68 on a differentexam where the mean is 62 and the standard deviation is 3?Show statistically and explain.

11.Wages for workers in a particular industry average $11 .90 per hour and the standarddeviation is $0.40. If the wages are assumed to be normally distributed:

(a) What percentage of workers receive wages between $12.20 and $13.10?(b) What percentage of workers receive wages less than $11.00?(c) What percentage of workers receive wages more than $12.95?(d) What must the wage be if only 10% of all workers in this industry earn more?(e) What must the wage be if 25% of all workers in this industry earn less?

Page 32: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

32

Answer Key1.

2.

3.

4.

5.

Page 33: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

33

6.

7.

8.

9.a

9.b.

Page 34: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

34

10.a.

10.b.

10.c.A grade of 68 which is 2 standard deviations above the mean.

11.a.

Page 35: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

35

11.b.

11.c.

11.d.

11.e.

Page 36: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

36

THE CENTRAL LIMIT THEOREM

1.For a certain large group of individuals, the mean hemoglobin level in the blood is 21.0grams per milliliter (g/ml). The standard deviation is 2 g/ml. If a sample of 25 individualsis selected, find the probability that the sample mean will be greater than 21.3 g/ml.2.The mean weight of 18-year-old females is 126 pounds, and the standard deviation is15.7. If a sample of 25 females is selected, find the probability that the mean of thesample will be greater than 128.3 pounds.3.The mean grade point average of the engineering majors at a large university is 3.23,with a standard deviation of 0.72. In a class of 48 students, find the probability that themean grade point average of the 48 students is less than 3.15.4.The mean of the number of ounces of coffee a vending machine dispenses is 10. Thestandard deviation is 0.1. If a sample of 10 cups is selected, find the probability that themean of the sample will be less than 9.93 ounces.5.Assume that the mean systolic blood pressure of normal adults is 120 millimeters ofmercury (mmHg), and the standard deviation is 5.6.

a. If an individual is selected, find the probability that the individual s pressure will bebetween 120 and 121.8 mmHg.

b. If a sample of 30 adults is randomly selected, find the probability that the samplemean will be between 120 and 121.8 mmHg.

c. Why is the answer to part a so much smaller than the answer to part b?6.At a large university, the mean age of graduate students who are majoring inpsychology is 32.6 years, and the standard deviation is 3 years.

a. If an individual from the department is randomly selected, find the probability that theindividual s age will be between 31.0 and 33.2 years.

b. If a random sample of 15 individuals is selected, find the probability that the meanage of the students in the sample will be between 31.0 years and 33.2 years.

7.The average breaking strength of a certain brand of steel cable is 2000 pounds, with astandard deviation of 100 pounds. A sample of 20 cables is selected and tested. Findthe sample mean that will cut off the upper 95% of all of the samples of size 20 takenfrom the population.

Page 37: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

37

1.

2.

3.

4.

Page 38: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

38

5.a.

b.

c. Because the standard deviation (variation) of the sample of 30 is so much smaller(central limit theorem), the area or percentage of the population of sample means in thesame interval is much greater.6.a.

b.

7.

Page 39: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

39

Chapter 4

Confidence Intervals

Pressing the STAT key and using the right arrow to go to the TESTS menu starts thecalculation of confidence intervals. Then use the down arrow to scroll down to the groupof different confidence interval tests.

We will start with numbers 7:Z Interval, 8:T Interval and A:1-PropZInt.(The remaining intervals will be covered in later chapters.)

Estimating a Population Mean

We will start by dong a problem that demonstrates 7:Z Interval. A sociologist developsa test to measure attitudes about public transportation, and 47 randomly selectedsubjects are given the test. Their mean is 76.2 and their standard deviation is 21.4.Construct the 95% confidence interval for the mean score of all such subjects.Why is this a problem involving a Z Interval? Because the size of the sample is >30.

The Margin of Error is calculated by subtracting 82.318 - 76.2 = 6.118 or by subtracting7602 — 70.082 = 6.118.

Either way the Margin of Error is 6.118. The interval could be written as 76.2 – 6.118.

Numbers 7 to B areall of the IntervalTests used in thiscourse.

Notice that if n>30, then 5 = s for the sample.

This is the estimation interval. Thecenter of the interval is 76.2. Theends of the interval are 70.082 and82.318.

Input the remainder of thesummary statistic, go toCalculate and press ENTER

Page 40: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

40

Now we will do a problem that uses 8:T Interval.

Twenty cars were randomly selected and weighed This sample has a mean of 3650pounds and a standard deviation of 420 pounds. Construct the 99% confidence intervalfor the population mean.

Notice that this problem also asks for a confidence interval for the population mean, butthat the size of the sample is <30, namely twenty cars.We will input the above summary statistics into the T Interval screen as shown below.

The Margin of Error is calculated by subtracting 3918.7-3650=268.7 or by subtracting3381.3-3650=268.7. The interval could also be written as 3650–268.7

This screen gives the estimation interval for thepopulation mean from this sample of 20 cars.

Page 41: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

41

Estimating a Population Proportion or Percentage

Next we will consider estimation of a population proportion or percentage. Thissomething you see every time there is an election and the exit polls sampling is used topredict the winning candidate or proposition.

A survey of 300 union members in New York State reveals that 37.3% favor theRepublican candidate for governor. Construct the 98% confidence interval for the truepopulation proportion of all New York State union members who favor the Republicancandidate.

Notice that we are not told how many for the 300 union members favor the Republicancandidate, but instead that 37.3% of the 300 favor the Republican candidate forgovernor. This information will be input into the calculator as follows

Since you only know the percent of workers who support the candidate we input thenumber as 300 times the percent (in decimal form).

Note: In problem where we were given the number of workers who support thecandidate this process is unnecessary. Just put in the number as x:

Now go to Calculate and press ENTER.

Because this is a problem of estimatinga proportion (or percentage) for onepopulation we use A: 1-1PropZInt

When you move thecursor the x: changesto this value.x:111.9

Since 111.9 is not a whole number (person) wego to the next number namely 112 and inputthat value for x:112. This rounding up not off.

Here is the confidence interval estimate for the populationpercentage (or proportion) who favor the candidate.

Page 42: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

42

The Margin of Error in this estimate is .4383 - .3733=. 065 or .3733-. 3083=. 065

In terms of % the interval could be reported as 37.33%–6.5%

Usually the way this sort of thing is reported in the new media is to say that thecandidate is supported by 37.33% of the workers and then somewhere in fine print totell you that the study carries a margin of error of 6.5%. Look for this when you seeprojection of the next election returns.

Calculation of Sample Size

When planning a study or project involving estimating a population mean or apopulation proportion it is a good idea to know in advance how big your study has to beto fulfill certain statistical guidelines. How confident do you want to be in your result?95%, 98%, 99%, 99.99%? And how large a margin of error are you willing to accept?

These considerations are especially valid for graduate students planning originalresearch projects and dissertations or for professionals planning or critically reviewing astudy. Was the study large enough to be statistically valid?

There are basically two formulas used to determine the same size necessary. Oneformula is for determining the size necessary to estimate a population mean. The otherformula is for determining the size necessary to estimate a population proportion orpercentage.

I will first give you these two formulas and the show how the calculator can be used towork the formulas through to the correct answer.

The formula above is used for determining the number necessary for a population meangiven certain criteria.

The formula above is used for determining the number necessary for a populationproportion or percentage given certain criteria.

Next we will do two problem, one each using these formulas.

nz

Eµα σ= ?F

HGIKJ/2

2

nz

Ep = FHGIKJ↔α / .2

2

0 25

Page 43: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

43

We want to estimate the mean energy consumption level for a home in one region. Wewant to be 90% confident that our sample mean is within 25 kwh of the true populationmean, and past data strongly suggest that the population standard deviation is 137 kwh.How large must our sample be?

Notice that this asks the question How large must our sample be? or How many mustbe sampled?

In this particular problem we want to estimate the population mean.So we will use the first of or two formulas. Namely

In this formula

stands for the number necessary to estimate the population mean. This is the answerwe want!

The next part of the formula we will calculate is

This comes from the part of the problem stating we want to be 90% confident. The wayit works is _ = 100% - 90% = 10%. So that _ _/2 = 5% = .05. We now use the calculatorto figure the rest.Press 2 nd DISTR and see the following screen.

Select 3: invNorm( and press ENTER. The following screen appears.

nz

Eµα σ= ?F

HGIKJ/2

2

zα /2

Modify this by adding .05)and then using the STObutton followed by ALPHAand the green letter Z.Press ENTER and thevalue you store will be

used as zα /2 .

Page 44: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

44

Now we will actually do the calculation of

Again the problem is as stated.We want to estimate the mean energy consumption level for a home in one region. Wewant to be 90% confident that our sample mean is within 25 kwh of the true populationmean, and past data strongly suggest that the population standard deviation is 137 kwh.How large must our sample be?

Clear the home screen and use the keys to type the following;

So the answer to the problem is 82.

nz

Eµα σ= ?F

HGIKJ/2

2

This is the storedZ that we just didon the previouspage. Press ENTER and the answer of 81.24855204 appears.

However since we are interested in the number to beincluded in our survey we must round up to 82.

Page 45: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

45

The next problem involves estimating the population proportion or percentage.

Here is the problem.

We want to estimate, with a maximum error of 3%, the true proportion of adultAmericans who are opposed to nuclear power, and we want 95% confidence in ourresults. How many people should we survey?

Here we use the calculator to determine z!/s in the same way we did in the previousproblem. Since we want to be 95% confident, _ = 5% so that !/2 = 2.5% = .025.Now press 2 nd DISTR as in the last problem. Select 3:invNorm(

And modify the screen as below

We will now calculate the answer n as follows

The answer is 1068.

nz

Ep = FHGIKJ↔α / .2

2

0 25

This is the value of z _/2

which will be used inthe formula.

Here is the answer that we must again roundup since we are interested in the number ofpeople. So, the answer to the problem is1068.

Page 46: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

46

FORMULA FOR SAMPLE SIZE IN A FINITE POPULATION OF KNOW SIZE(This will be especially helpful for some of your projects)

Sample size necessary for estimating a population proportion;

The formula for determining the number n to be sampled from a finite population of sizeN is given by;

Where;n is the sample size we are trying to determineN is the size of the finite populationE is the margin of errorZ is determined by the confidence level for the interval which is used to determine !.

So for example if we know that a particular high school has a student body of 2,500people and we wanted a 95% confidence interval for the population proportion with amaximum error of 3%, then the number that would have to be sampled would be;

Similarly, to find the sample size necessary for estimating a population s mean;

n

n

==

748 0916

749

.

2500

2499 03 2 196 12[( )(. * / . ) ]+

nN z

N E zµα

α

σσ

=− +

* ( )

( ) * ( )/

/

22

2

2 22

21

nN

N E zp =− +[( )( * / ) ]/1 2 12

Page 47: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

47

Statistics Practice Midterm #2

For the following problems, show all work and draw all distributions for full credit.1.A physical fitness researcher devises a test of strength and finds that the results arenormally distributed with a mean of 110.0 pounds and a standard deviation of 10.4pounds.

(a) If a subject is randomly selected and measured, find the probability of a scorebetween 110.0 pounds and125.0 pounds. a.________

(b) If a subject is randomly selected and measured, find the probability of a scorebetween 90.0 pounds and115.0 pounds. b.________

(c) If a subject is randomly selected and measured, find the probability of a scorebelow 95.0 pounds. c.________

(d) If a subject is randomly selected and measured, find the probability of a scoregreater than 85.0 pounds. d._________

(e) If a subject is randomly selected and measured, find the probability of a scorebetween 80.0 pounds and100.0 pounds. e._________

(f) Find the 20th percentile. f._________

(g) Sixty different subjects are randomly selected and tested. Find the probability thattheir mean is below 108.0 pounds.

g.________2.The Consumer Protection Corporation wants to estimate the proportion of ChevroletCorvettes that have crashed. In order to obtain a sample proportion that is in error by nomore than 0.04 (with 98% confidence), how many cars must be sampled?3.Of 346 vending machines tested, 12 are found to be defective. Construct the 98%confidence interval for the proportion of defective vending machines.4.A botanist measures the heights of 24 seedlings and obtains a mean and standarddeviation of 41.6 cm and 4.8 cm, respectively. Construct the 98% confidence interval forthe population mean.5.A study of the career paths of hotel general managers sent questionnaires to a simplerandom sample of 160 hotels belonging to major US chains. There were 114 responses.The average time the 114 managers had spent with their current company was 11.78years with a standard deviation of 3.2 years. Give the 99% confidence interval for themean number of years general managers of major-chain hotels have spent with theircurrent company

Page 48: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

48

6.In order to determine rates, a motel manager wishes to find the 90% confidence intervalof the mean rate that competing motels charge. He wishes to be accurate within $2.00.If the standard deviation of the rates is $10.00, how large a sample must he selected toget the desired information?

7. A study of 40 English composition professors showed that they spent, on average,12.6 minutes correcting a student s term paper.

a. Find the 90% confidence interval of the mean time for all composition papers whenσ= 2.5 minutes.

b. If a professor stated that he spent, on average, 30 minutes correcting a term paper,what would be your reaction?

8.A recent study of 25 students showed that they spent an average of $18.53 for gasolineper week. The standard deviation of the sample was $3.00. Find the 95% confidenceinterval of the true mean of the population.

Page 49: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

49

Answer key for Statistics Mid-term #2

1.a.

b.

c.

d.

e.

Page 50: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

50

f.

g.

2.

3.

4.

Page 51: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

51

5.

6.

7.

8.

Page 52: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

52

Yet Another Practice Midterm

1.A study of 40 bowlers showed that their average score was 186. The standard deviationof the population is 6.a. Find the 95% confidence of the mean score for all bowlers.b. Find the 95% confidence interval of the mean score if a sample of 100 bowlers is

used instead of a sample of 40.c. Which interval is smaller? Explain why.

2.An insurance company is trying to estimate the average number of sick days that full-time food service workers use per year. A pilot study found the standard deviation to be2.5 days. How large of a sample must be selected if the company wants to he 95% sureof getting an interval that contains the true mean with a maximum error of 1 day?

3.A medical researcher wishes to determine the percentage of females under 20 years ofage who take vitamins. He wishes to be 99% confident that the estimate is within 2percentage points of the true proportion. How large should the sample size be? A recentstudy of 180 females who took vitamins showed that 25% were under 20 years of age.

4.The mean score on a dexterity test for 12-year-olds is 30. The standard deviation is 5. Ifa psychologist administers the test to a class of 22 students, find the probability that themean of the sample will be between 27 and 31.

5.

A statistical analysis of 1,000 long-distance telephone calls made from the

headquarters of Johnson & Shurgot Corporation indicates that the length of these

calls is normally distributed with a mean of 240 seconds and a σ of 40

seconds.

(a)What percentage of these calls lasted less than 180 seconds?

(b)What is the probability that a particular call lasted between 180 and 300

seconds?

(c)How many calls lasted less than 180 seconds or more than 300 seconds?

(d)What percentage of the calls lasted between 110 and 180 seconds?

(e)What is the length of a particular call if only 1% of all calls are longer?

Page 53: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

53

1a.

1b.

1c.Increasing the sample size results in a decrease in the margin of error.

2.

3a.

Page 54: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

54

4.

5a.

5b.

5c. 5d.

5e.

Page 55: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

55

Chapter 5

Hypothesis Testing (One Population)

Claims are continually being made by all sorts of people. Politicians, productmanufacturers, scientists, lawyers and just every day people make claims involving alarge variety of subjects. Testing these claims to see if they are to be supported or not iswhat is known in statistics as hypothesis testing.

To see the screen that contains these different tests press STAT and go to the TESTSmenu. The first six items are all the statistical tests we will use in the course.

Now we will do a typical hypothesis (claim) testing problem.

The Chandler Department Store accepts only its own credit card. Among 36 randomlyselected cardholders, it was found that the mean amount owed was $175.37, while thestandard deviation was $84.77. Use a 0.05 level of significance to test the claim that themean amount charged by all customers is greater than $150.00.

The first 2 steps are to write the claim in symbolic form, then it s opposite.

Claim: _ > 150 H1

Opposite: _ † 150 H0

Since we are testing a claim about a mean with a sample in which n = 36 ( 30) we willselect 1: Z — Test

Press ENTERThe next page shows the Z — Test screen with the correct inputs from the problem.

The first items 1 — 6are hypothesis tests.

Label thenull(w/=) &alternativehypothesis

Page 56: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

56

See that you understand how the other values get filled in on the above screen. Thengo to Calculate and press ENTER.

Since p < _ (.0327 < .05) we reject (fail to support) the null hypothesis.Therefore we support the claim that the average amount spent by all customers isgreater than $ 150.

The Chandler Department Store accepts only its own credit card. Among 36 randomlyselected cardholders, it was found that the mean amount owed was $175.37, while thestandard deviation was $84.77. Use a 0.05 level of significance to test the claim thatthe mean amount charged by all customers is greater than $150.00.

The direction of thissymbol is always thesame as the symbol inH1, the alternativehypothesis

The critical piece of information here is thep-value (p=.0363).

Page 57: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

57

We will now do a problem that uses 2: T — Test under the STAT TESTS menu

A test of sobriety involves measuring of the subject’s motor skills. Twenty (20) randomlyselected sober subjects take the test and produce a mean of 41.0 with a standarddeviation of 3.7. At the 0.01 level of significance, test the claim that the mean for thistest is equal to 35.0.

Again we symbolically state the claim, it s opposite, then label the null and alternativehypothesis.

Claim: _ = 35 H0 (null hypothesis)Opposite . _ ≠ 35 H1 (alternative hypothesis)

Now select 2: T — Test under the STAT TESTS menu and press ENTERSet up the screen as seen below. Verify that you know where these numbers come fromin the problem.

Go to Calculate and press ENTER. You will see the next screen

So since p < _ (.0000007 < .01), we therefor reject (fail to support) the null hypothesis.Therefore, we reject the claim that the mean for this test is 35.

The direction of thissymbol is always thesame as the symbolin H1, the alternative

The critical piece of information here is again theP — value (p=6.97E-7). This really means 6.97 x 10-7

or approximately .0000007.

Page 58: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

58

The last hypothesis test we will do involving one population is testing a claim about apopulation proportion (or percentage).

A supplier of computer disks claims that no more than 1% of the disks are defective. Ina random sample of 600 disks, it is found that 3% are defective, but the supplier claimsthat this is only a sample fluctuation. At the 0.01 level of significance, test the supplier’sclaim that no more than 1% are defective.

Again we symbolically state the claim, it s opposite, then label the null and alternativehypothesis.

Claim: p † .01 H0 (null hypothesis)Opposite p > .01 H1 (alternative hypothesis)

Press ENTER and screen below appears. Fill it in as shown. Verify that you understandwhere the different numbers come from in the problem.

Press ENTER and the following screen should appear.

For this problem we will use 5: 1 — PropZTestfrom the STAT TESTS menu as shown here.

Notice that in this problem we are not told thenumber of defective disks, but that 3% were foundto be defective. Hence the number is 600 x .03.When you move the cursor the calculator figuresout what this multiplication problem equals.NOTE: This has to be a whole number like 18.

The important piece of information is p = 4.25E-7which means p = .000000425. So since p < _(.000000425 < .01), we reject the null hypothesis andtherefore reject the supplier s claim

Page 59: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

59

Chapter 6

Hypothesis Testing andConfidence Intervals (Two Populations)

In testing claims made about two different populations we will use the following itemsfrom the STAT TESTS menu

First we will do problem which uses 3: 2 — Samp Z Test

Two types of flares are tested for their burning times (in minutes) and sampleresults are given at the right. Use a 0.05 significance level to test the claim that thetwo brands have equal means.

Brand X Brand Yn = 35 n = 40x = 19.4 x = 15.1S = 1.4 s = 0.8

Again we symbolically state the claim, it s opposite, then label the null and alternativehypothesis.

Claim: _ 1 = _.2 H0 (null hypothesis)Opposite _.1 ≠ _.2 H1 (alternative hypothesis)

Because sample sizes are both > 30 we use 3: 2 — Samp Z Test from the STATTESTS menu and enter the information as indicated in the next screen below.

3: 2 - Samp Z Test4: 2 - Samp T Test

6: 2 — Prop Z Test

Note: In Z Tests the standard deviations of the samples (s)can be used for the standard deviations of the populations (σ).

Page 60: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

60

Go to Calculate and press ENTER. The following screen should appear.

Next we will answer a related question. What is the 95% confidence interval for thedifference between the means of the two populations.

To answer this we go to the STAT TESTS menu and select 9: 2 — Samp Z Int

Go to Calculate and press ENTER.

To express this confidence interval using Margin of Error notation;1. Find the center of the interval by averaging the ends (3.7741+4.8259)/2 = 4.32. Subtract the center or average from the larger end 4.8259 — 4.3 = .52593. The interval can now be written as the center – Margin of Error or 4.3 – .5259

The important piece of information is p = 9E-58which means p is very small compared to _ = .05.So since p < _ we reject the null hypothesis andtherefore reject the claim that the two populationshave equal means.

Notice that all of the information you input into the screenfor 3: 2 — Samp Z Test is automatically transferred tothis screen. You only need to fill in the C — Level: 95

This is the 95% Confidence Interval for thedifference in the two populations means.

Page 61: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

61

We will now do a problem similar to the last, but with the major difference that the sizeof one (or both) of the samples from the two populations we are comparing are lessthan of equal to 30 (n † 30).

Sample data are collected from Brand X Brand Ytwo brands of a product and theresults are given at the right. n = 10 n = 20At the 0.05 significance level, x = 77.3 x = 71.8test the claim that these samples S = 5.4 s = 12.9come from populations with equalmeans.

Again we symbolically state the claim, it s opposite, then label the null and alternativehypothesis.

Claim: _.1 = _.2 H0 (null hypothesis)Opposite _.1 ≠ _.2 H1 (alternative hypothesis)

We again go to the STAT TESTS menu and this time select 4: 2 — Samp T Test

Press ENTER and input the following summary statistics into the screens you see asyou scroll down.

This question Pooled: No Yes is a new. It requires us determining whether the twopopulations have equal standard deviations. To find that out we need to go to STATTESTS menu and select D: 2 — Samp F Test

These are the twoscreens you seewhen you scrolldown

Page 62: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

62

When you do you should see the following screen. Notice that all the summary statisticsyou input into 4: 2 — Samp T Test has been automatically transferred to this newscreen D: 2-Samp F Test.

Go to Calculate and press ENTER. You will have to wait a little while the calculator doesits thing and then you should see the following screen.

Now we return to the STAT TESTS menu and select 4: 2 — Samp T Test

Note: This problem is probably one of the most difficult types of hypothesis testingproblems you will encounter. So, if you can follow and eventually do this one, then youare doing well.

We are actually conducting a separate hypothesis test inwhich; σ1 = σ2 H0 (null hypothesis)

σ1 ≠ σ2 H1 (alternative hypothesis)Notice the selection of the ≠ symbol from the alternativehypothesis.

The important piece of information is p = .011 whichmeans p is less than _ = .05. So since p < _ wereject the null hypothesis and therefore reject theclaim that the two populations have equal standarddeviations. Thus we DO NOT Pool.

Once you have determined from the 2-SampFTestthat you will or will not Pool, continue with theremainder of the 2 — SampTTest by going toCalculate and pressing ENTER>

The important piece of information is p = .112 whichmeans p is greater than _ = .05. So since p > _ wesupport the null hypothesis and therefore support theclaim that the two populations have equal means.

Page 63: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

63

As an extension of the last problem we will consider the following.

Construct a 95% Confidence Interval for the difference between the means of the twopopulations in the last problem. You may think about that for a minute or two and say toyourself, Wait a minute, didn t we just support the claim that the two populations hadequal means? So how could there be a confidence interval for the difference betweentwo things that are supposed to be equal?

Go to STAT TESTS and scroll down to 0: 2 — SampTInt

Go to Calculate and press ENTER. You will have to wait a little bit, then you should see.the following screen.

On a test the answer to this sort of question should include as much explanation aspossible in terms of what you input as well as the final answer which is;

(- 1.372,12.372)

The important observation here is that zero is included in this interval, which isconsistent with supporting the claim that the two population means were equal since atsome point their difference is zero.

You will notice that all of the information you havebeen putting into the calculator has again beenautomatically transferred to these new screens. It isa good idea to check it anyway. You will have toinput the C — Level 95 for this problem.

This is the 95% Confidence Interval for thedifference in the means of the two populations(which we said had equal means). Notice that thisinterval contains the number zero (0) which makessense since the difference of two equal things is 0.

Page 64: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

64

We will next do a problem that tests a claim made involving proportion (or percentage)of two populations.

A radio station manager conducts an audience survey and finds that among 275 mensurveyed, 18 were listeners while there were 31 listeners among the 325 womensurveyed. At the 0.05 level of significance, test the claim that the proportions of maleand female listeners are the same.

Again we symbolically state the claim, it s opposite, then label the null and alternativehypothesis.

Claim: p1 = p2 H0 (null hypothesis)Opposite p1 ≠ p2 H1 (alternative hypothesis)

Go to STAT TESTS menu and select 6: 2-Prop Z Test

The next screen should appear and you should fill it in as shown.

Select Calculate and press ENTER and the next screen should appear.

The important piece of information is p = .182which means p is greater than _ = .05. Sosince p > _ we support the null hypothesis andtherefore support the claim that the twopopulations have equal proportions

Page 65: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

65

An extension of the above problem would be to find the 95% confidence interval forestimated difference between the proportions of the two populations. To do this weagain go to the STAT TESTS and select B: 2 — Prop Z Int

The next screen shows what will appear. You should see all the inputs from the lastproblem automatically transferred to this screen.

Go to Calculate and press ENTER. The next screen should appear.

You will have to be sure that theC-Level: is set to 95 as you seehere.

Here is the 95% confidence interval forestimated difference between the proportionsof the two populations. Notice that it includeszero since we supported the claim that thetwo populations had equal proportions.

Page 66: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

66

The final problem we will do is the special case of a claim concerning the means of twodependent populations. This is typically a before and after situation with the claiminvolving the mean difference.

A test of abstract reasoning is given to a random sample of students before and afterthey completed a formal logic course. The results are given below. At the 0.05significance level, test the claim that the mean score is improved by the course.

Before 74 83 75 88 84 63 93 84 91 77After 73 77 70 77 74 67 95 83 84 75

To do this problem we will be using some of our lists L1 — L6. So first clear all the lists inthe list editor. Next input the before and after values into L1 and L2 respectively.

Press ENTER and the next screen should appear.

Check to see that all the entries are correct afterinputting the values. Also note that the two listsshould be the same lengths.

Next move the cursor to the very top of L3

With the cursor in this position typein the equation for L3 that you seehere. L3 = L2 — L1

L3 represents the difference in the scores beforeand after the course was taken

Page 67: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

67

Before and After Problems: Always do the list subtraction of BIG — SMALL basedon the story in the claim. For example, in this problem the claim is that the meanscore is improved by the course so that the numbers in L2 would be larger than L1so that L3 = L2 — L1. The claim is that the average difference (_.d ) would bepositive or > 0. [ If instead the story in the problem involved a weight lose programwhich claimed that the population loses at least 10 pounds with this particularprogram, then the subtraction would be L1 — L2 and the claim is that the averagedifference (_.d ) would be at least 10 pounds or ‡ 10. ]

Again we symbolically state the claim, it s opposite, then label the null and alternativehypothesis.

Claim: _ d > 0 H1 (alternative hypothesis)Opposite _ d ≤0 H0 (null hypothesis)

For this problem we go to the STAT TESTS menu and select 2: T — Test

The other inputs into the screen above are the same as for other hypothesis tests.Go to Calculate and press ENTER.

The following screen should appear.

We support the null hypothesis. Therefore, we reject (fail to support) the claim.

This problem isdifferent because theinput is in the form ofData instead ofsummary Stats

The listcontaining thedifferences isL3

The important piece of information is p = .989which means p is greater than _ = .05. Sosince p > _ we support the null hypothesisand therefore reject the claim that the courseimproves test scores.

Page 68: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

68

Statistics Practice Midterm#3

1.A large software company gives job applicants a test of programming ability and themean for that test has been 160. Twenty-five job applicants are randomly selected fromone large university and they produce a mean and standard deviation of 183 and 12,respectively. Use a 0.05 level of significance to test the claim that this sample comesfrom a population with an aptitude level of at least 160.2.A poll of 1068 adult Americans reveals that 48% of the voters surveyed prefer theDemocratic candidate for the presidency. At the 0.05 level of significance, test the claimthat no more than half of all voters prefer the Democrat candidate.3.A machine is supposed to dispense a liquid drug into bottles in such a way that themean of the contents is 150 milliliters. A new machine is tested on a sample of 24containers and the mean and standard deviation for this sample group is found to be146 and 26 milliliters respectively. At the 0.05 level of significance, test the claim thatthe new machine dispenses the liquid drug as it is supposed to.

4. The average income of 16 families who reside in a large metropolitan city is $54,356,and the standard deviation is $8256. The average income of 12 families who reside in asuburb of the same city is $46,512, with a standard deviation of $1311. At a _ = 0.05,can one conclude that the standard deviations of the income of the families who residewithin the city and those who reside in the suburb are equal?

At _ = 0.05, can one conclude that the income of the families who reside within the cityis greater than that of those who reside in the suburb?

Construct a 95% confidence interval for the difference µx - µy based on the sample datafrom this problem.

5.A survey of consumer preferences involves two different market areas. Of 150consumers surveyed in area A, 20 preferred a certain product. There were 350consumers surveyed in market area B, and 52 of them preferred the same product. Atthe 0.01 level of significance, test the claim that the same market shares prefer theproduct.

Construct a 95% confidence interval for the difference between the two populationmarket share percentages described in this problem.

6.A test of writing ability is given to a random sample of students before and after theycompleted a formal writing course. The results are given below. At the 0.05 significancelevel, test the claim that the mean score is not affected by the course.

Before 70 80 92 99 93 97 76 63 68 71 74After 69 79 90 96 91 95 75 64 62 64 76

Page 69: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

69

7. Sample data are collected from Brand X Brand Ytwo brands of a product and theresults are given at the right. n = 20 n = 27At the 0.05 significance level, x = 125.4 x = 119.3test the claim that these samples S = 8.2 S = 2.6come from populations with equalstandard deviations.

Refer to the same sample data given in this problem and test the claim that the twopopulations have equal means. Use a 0.05 significance level.

Construct a 95% confidence interval for the difference µx - µy based on the sample datafrom this problem.

8.An educational testing company has been using a standard test of verbal ability and themean and standard deviation has been 430 and 130, respectively. In analyzing a newversion of that test, it is found that a sample of 100 randomly selected subjectsproduces a mean and a standard deviation of 424 and 155, respectively. At the 0.05level of significance, test the claim that the new version has a mean equal to that of thepast version.

9.A manufacturer considers her production process to be out of control when defectsexceed 3%. In a random sample of 170 items, the defect rate is 5.9% but the managerclaims that this is only a sample fluctuation and production is not really out of control. Atthe 0.01 level of significance, test the manager’s claim.

Page 70: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

70

Answer key to midterm #3

1.Claim: . _ ‡ 160 H0

Opposite: _ < 160 H1

The important piece of information is p = .999 which means p is greater than _ = .05. Sosince p > _ we support the null hypothesis and therefore support the claim that thissample comes from a population with an aptitude level of at least 160.2.Claim: p † .50 H0

Opposite: p > .50 H1

The important piece of information is p = .901 which means p is greater than _ = .05. Sosince p > _ we support the null hypothesis and therefore support the claim that no morethan half of all voters prefer the Democrat candidate.

Page 71: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

71

3.Claim: _ = 150 H0

Opposite: ._ ≠ 150 H1

The important piece of information is p = .459 which means p is greater than _ = .05. Sosince p > _ we support the null hypothesis and therefore support the claim that the newmachine dispenses the liquid drug as it is supposed to.4. a.Claim: σ1 = σ2 H0

Opposite: σ1 ≠ σ2 H1

The important piece of information is p = 4.3 E-7=.00000000043 which means p ismuch less than _ = .05. So since p < _ we reject the null hypothesis and therefore rejectthe claim that the two populations have equal standard deviations or variances.4. b.Claim: . _ 1 >. _ 2 H0

Opposite . _ 1 ≤. _ 2 H1

The important piece of information is p = .000896 which means p is less than _ = .05.So since p < _ we reject the null hypothesis and therefore support the claim that theincome of the families who reside within the city is greater than that of those who residein the suburb.

Page 72: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

72

4. c.

5.a.Claim: p1 = p2 H0

Opposite p1 ≠ p2 H1

The important piece of information is p = .657 which means p is greater than _ = .01. Sosince p > _ we support the null hypothesis and therefore support the claim that the samemarket shares prefer the product.5.b.

Since this interval includes 0 it is consistent with the answer to part a.

Another way of expressing this same intervaluses the center of the interval 7843.8 and theMargin of Error 4448.2

This same interval could be written;7843.8 – 4448.2

Page 73: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

73

6.Claim: . _ d = 0 H0

Opposite . _ d ≠0 H1

The important piece of information is p = .03 which means p is less than _ = .05. Sosince p < _ we reject the null hypothesis and therefore reject the claim that the meanscore is not affected by the course.

7.a.Claim: σ1 = σ2 H0

Opposite: σ1 ≠ σ2 H1

The important piece of information is p = 2.77E-7 which means p is less than _ = .05. Sosince p < _ we reject the null hypothesis and therefore reject the claim that that thesesamples come from populations with equal standard deviations.

Page 74: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

74

7.b.Claim: . _ 1 =. _ 2 H0

Opposite . _ 1 ≠. _ 2 H1

7.c.

This answer can be given in terms of the interval difference (2.1567, 10.043) or in termsof the Margin of Error, which is 3.94315.

From theresult of 8.a.Pool No The important piece of information is p = .004

which means p is less than _ = .05. So since p < _we reject the null hypothesis and therefore rejectthe claim that that these samples come frompopulations with equal means.

Answer:(2.1567, 10.043) or6.09985 – 3.94315

Page 75: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

75

8.Claim: . _ = 430 H0

Opposite . _ ≠ 430 H1

The important piece of information is p = .699 which means p is greater than _ = .05. Sosince p > _ we support the null hypothesis and therefore support the claim that the newversion has a mean equal to that of the past version.

9.Claim: p † .03 H0

Opposite: p > .03 H1

The important piece of information is p = .004 which means p is less than _ = .01. Sosince p < _ we reject the null hypothesis and therefore reject the claim that p † .03 andreject the claim that this is only a sample fluctuation and production is not really out ofcontrol.

Page 76: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

76

Chapter 7

Correlation and Regression Analysis

This chapter will again use the list editor. So, clear all the lists in the list editor and besure that all PLOTS are OFF and that the Y= function toolbox is clear.

An Algebra test is given to students at the beginning of a calculus course. The Algebratest scores and the final calculus grades are collected for several randomly selectedstudents and the results are given below.Algebra 36 48 45 43 35 30 20 47Calculus 77 92 87 81 74 63 52 88

First we will use the list editor and L1 and L2 to input the data for the Algebra andCalculus scores as follows.

• Draw a scatter plot diagram showing the relationship between the Algebra andCalculus test scores.

To do this go to STAT PLOT, select 1: Plot 1 and enter the input on the next screen.

Press ZOOM 9 and the following graph will appear.

Double-check thelists to see that theentries are correctand that the lists areof the same length.

Now use the TRACEbutton to see theactual values for thepoints on the lists

Note: This tells you thatthis is Plot 1: Whichuses L1 and L2

Page 77: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

77

Does a significant linear correlation exist between the algebra test scores and thecalculus final grades at the 0.05 significance level? Explain your answer.

To answer this question we go to STAT TESTS and scroll to E: LinReg T Test

Then go to Calculate and press ENTER. The screens below show what the result iswhen the screen is scrolled.

Fill in the input as shown in the screen.

To paste Y1 here follow these steps;1. Press the VARS button2. Use the right arrow to go to Y — VARS3. Press 1: Function4. Press 1: Y1

This is the general form of theequation for the regression line.

This is the p-value = .000004, whichmeans we reject the null hypothesisthat r=0 and thus there is a significantcorrelation

These are the values of a and b to givethe regression line s equation

This is the coefficient of determination.

This is the correlation coefficient.

Page 78: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

78

• Draw and find the equation of the regressionline.______________________________

To find the equation of the regression line press the Y = button, the following appears.

To draw of graph the regression line either press ZOOM 9 or GRAPH.

Press the TRACE button and the up arrow to obtain these second two screens.

• Is there a fairly good predictive value between the score a student obtained on thealgebra test and the final grade he/she got in calculus? Explain.

This question should be answered by the hypothesis test involving the r = 0 nullhypothesis. In other words, if the p — value is very small, the more confident we can bethat there is a correlation and therefore the predictive value is good.

• What percent of the data can be explained using the regression line.____________

The answer to this question is gotten using the coefficient of determination (r2). In thiscase r2 = .9774 so 97.74% of the data can be explained using the regression model.

The equation of the regression line can now berounded of to read;

Y = 24 + 1.4 X

Page 79: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

79

• What would be the predicted calculus grade for a person with an algebra test scoreof 50 according to the regression model?

To answer this question, first go to the home screen and paste Y1.

Then type in (50) and press ENTER.The answer is that the regression model predicts that the person would get about 93.4as a calculus score.

Problems;For each of the problems below answer the following questions;

a. Is there a correlation between the x and y variable? Explain why.b. Compute the correlation coefficient. _____________.c. What is the coefficient of determination? __________.d. What percent of these data can be explained using the regression model?

______________(e. Sketch the scatter plot diagram that represents this data on the axes below.f. What is the equation of the regression line model for these data?)g. Is this a positive or negative correlation? In your own words, what does that mean in

this problem?h. Predict a y value for any given x value.1.The following data were obtained from a survey of the number of years a personsmoked and the percentage of lung damage. Predict the percentage of lung damage fora person who has smoked for 30 years.Years 22 14 31 36 9 41 19Damage 20 14 54 63 17 71 23

2.A researcher wishes to determine whether a person s age is related to the number ofhours he or she jogs per week. The data for the sample follow,Age 34 22 40 48 56 62Hours 7 3 10 15 10 14

3.A study was conducted to determine the relationship between a person s monthlyincome and the amount that person spends per month for recreation. The data from thesample follow.Income $800 $1200 $1000 $900 $850 $907 $1100Amount $60 $200 $160 $135 $45 $90 $150

4.A physician wishes to know whether there is a relationship between a father s weight (in

To paste Y1 here follow these steps;1. Press the VARS button2. Use the right arrow to go to Y — VARS3. Press 1: Function4. Press 1: Y1

Page 80: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

80

pounds) and his newborn son s weight (in pounds). The data are given below.Father sWeight

176 160 187 210 196 142 205 215

Son sWeight

6.6 8.2 9.2 7.1 8.8 9.3 7.4 8.6

5.A study is done to see whether there is a relationship between a student s grade pointaverage and the number of hours the student studies per week. The data are shownbelow. If there is a significant relationship, predict the grade point average of a studentwho studies 10 hours per week.Hours 13 12 9 15 5 7 16GPA 3.1 3.5 3.0 4.0 1.7 3.2 3.7

Page 81: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

81

ANSWER KEY

1.

2.

3.

4.

5.

Page 82: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

82

Chapter 8

Contingency Tables and Risk Assessment

Problems that involve categorical data are summarized in contingency tables. Using thefollowing methods we can determine there is indeed a relationship between the twocategories of data.

A Company produces a certain component on Monday, Tuesday and Wednesday ofeach week. Sample results are tested at random and listed below. At the 0.05 level ofsignificance, test the claim that the day of the week makes no difference in the rate ofdefects. (i.e. that there is no relationship between the day of the week and the rate ofdefects.). Explain your answer.

Monday Tuesday WednesdayAcceptable components 80 105 130Defective components 20 15 10

To start this problem press the MATRX button and go to the EDIT menu

Press 1: [A] or ENTER.

Now enter the dimensions of thematrix represented in the problemabove. In this case there are 2 rowsand 3 columns. The correct shapeshould appear.

Now enter the numbers from theproblem into the matrix by typing thenumber and pressing ENTER. Noticethat the cursor moves along the rows.Double - check to see that thenumbers have been input correctly.

Page 83: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

83

Now go to STAT TESTS and select C: Χ2 - Test

This screen shows a p — value = .012 which means that at a level of significance of .05,p !. Therefore we support the claim that a relationship exists between the number ofdefective components and the day those components were produced.

• What is the increased risk of a component being defective if it is produced on aMonday as opposed to its being produced on a Tuesday or Wednesday?

In order to determine increased risk, we must first calculate the percentage (orproportion) of defective components manufactured on a Monday and the percentage(or proportion) of defective components manufactured on Tuesday or Wednesday.

Scroll to Calculate and press ENTER.

The percentage (or proportion) of defectivecomponents manufactured on a Monday is equalto the total number of defective componentsdivided by the total number of components. Westore the result as A which is = .2 or 20%.

The percentage (or proportion) of defective componentsmanufactured on a Tuesday or Wednesday is equal to the totalnumber of defective components divided by the total number ofcomponents. We store the result as B = .096 or 9.6%

Page 84: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

84

First we will determine the relative risk for defective components manufactured on aMonday as opposed to a Tuesday or Wednesday.

Relative Risk is calculated by dividing the larger of the two proportions by the smaller.In this case that would mean dividing the percentage (or proportion) of defectivecomponents manufactured on a Monday by the percentage (or proportion) of defectivecomponents manufactured on a Tuesday or Wednesday (that would be A/B on thecalculator).

Increased Risk is calculated by dividing the larger of the two proportions by the smallerand then subtracting one.

Problems;1.A study is being conducted to determine whether there is a relationship between joggingand blood pressure. A random sample of 210 subjects is selected, and they areclassified as shown in the table. At _ = 0.05, test the claim that jogging and bloodpressure are not related.Jogging Status Low Moderate HighJoggers 34 57 21Non-joggers 15 63 20What is the increased risk that a non-jogger will have high blood pressure?2.An automobile insurance company wishes to determine whether the age of the insuredis related to the amount of liability the driver carries. A sample of 222 drivers shows thefollowing data. At a = 0.05, is the amount of coverage independent of the age of thedriver?Age Under $50,000 $50,000-$100,000 Over $100,00021-30 16 25 331-40 23 44 1541-50 15 31 1251 and over 9 12 11What is the increased likelihood that a person age 55 will have over $100,000 liabilityinsurance compared to a person 25 years old?

Here the relative risk is calculated by dividingthe stored value of A by the stored value of B.The result is 2.08 or 208% relative risk.

Here the increased risk is calculatedby dividing the stored value of A by thestored value of B minus 1. The result is1.08 or 108% increased risk.

Page 85: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

85

3.A study was conducted to determine whether the preference for a two-wheel drive or afour-wheel drive automobile is related to the gender of the purchaser. A sample of 90buyers was selected, and the data are as shown in the table. At _ = 0.05, can theresearcher conclude that the automobile preference is independent of the gender of thebuyer?Gender Two-Wheel Drive Four-Wheel DriveMale 23 13Female 43 6What is the increased likelihood that a man will buy a Four-Wheel Drive compared to awoman?

4.A study is being conducted to determine whether the age of the customer is related tothe type of video movie he or she rents. A sample of renters gives the data shown in thetable. At _ = 0.10, is the type of movie selected related to the age of the customer?Age Documentary Comedy Mystery12-20 14 9 821-29 15 14 930-38 9 21 3939-47 7 22 17Over 48 6 38 12What is the increased likelihood that a person over 48 will watch a comedy compared toa person between 12-20?

5.A researcher wishes to determine whether the marital status of a student is related tohis or her grade in a statistics course. The data below were obtained from a randomsample of 142 students. At _ = 0.05, is the marital status independent of the gradereceived in the course?Grade Married SingleA 32 27B 19 14C 10 16D or F 8 16What is the increased probability that a married person will get an A compared to asingle person?

6.A pet storeowner wishes to determine whether the type of pet a person selects isrelated to the individual s gender. The data obtained from a sample are as shown in thetable. At _ = 0.10, is the gender of the purchaser related to the type of pet purchased?

Pet PurchasedGender Dog Cat BirdMale 32 4 6Female 23 24 18How much more likely is a woman to buy a cat than a man?

Page 86: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

86

ANSWER KEY

1.

2.

3.

4.

Page 87: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

87

5.

6.

Page 88: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

88

Chapter 9

Analysis of Variance orANOVA

The program for one-way ANOVA, which comes with the TI-83, is found under theSTAT TESTS menu at the very bottom of the list as F: ANOVA.

The limitation of this function is that it can only perform an analysis of variance form listsof data and note from summary statistics. A program called A1ANOVA that performsANOVA determinations from summary statistics is available and can be linked to yourcalculator.

Now we will do an example using the ANOVA program that comes with your calculator.

Three car models were studied in a test that involved 4 cars of each model. For each ofthe 4 cars in each of the five samples, exactly one gallon of gas was placed in the tankand the car was driven until the gas was used up. The distances traveled are given inthe table. At the 5% significance level, test the claim that the 5 population means areequal.

A B C16 18 2822 23 2917 15 2517 20 27

Again we symbolically state the calm, it s opposite, then label the null and alternativehypothesis.

Claim: _ 1 = _ 2= _ 3 H0 (null hypothesis)Opposite _ 1 ≠ _ 2≠ _ 3 H1 (alternative hypothesis)

Notice that _ = .05

Page 89: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

89

To do this problem we will be using the list editor so clear all lists. Now input the datafrom each of the columns in the table above using L1 through L3.

Go to the STAT TESTS menu and select F: ANOVA

Enter the names of the lists containing the data into the ANOVA function as shown.

Press ENTER and the following screen will appear.

Therefore we reject the claim that _ 1 = _ 2= _ 3

The important piece of information is p = .002 whichmeans p is less than _ = .05. So since p < _ we rejectthe null hypothesis and therefore reject the claim thatthe three populations have equal means.

Page 90: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

90

Now let us determine which one of the three car models is different. To do this we willuse the graphing ability under the STAT PLOT button and draw boxplots of all samples.Go to the STAT PLOT button and select PLOT 1 and set it up in the following way;

Do the same for the other two plots, PLOT 2 and PLOT 3

When you press ZOOM 9 you should see the following graph with all three boxplotsgraphed on the same set of axes;

Well, Brand C is different from Brands A and B. But how different?

By examining the medians we can see that the two that are most different are L1 and L3.

The two medians, L1 and L3 are the furthest apart.

Notice that all three plots are turned on withPlot 1 being L1,Plot 2 being L2 andPlot 3 being L3.

Here we can see that the boxplotfor L3 is different (higher values)than the boxplots for L1 or L2.

Page 91: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

91

How different is gas mileage between car model A and C? We could determine the 95%confidence interval estimate of the difference between the means for models A and C.

We could also restate this interval using Margin of Error notation.

So the interval could also be stated this way; 9.2515 – 3.9185 mpg.

Model C gets 9.2515 mpg more than Model A give or take 3.9185 mpg.

The negative signs here onlysignify that brand A had thelesser mileage figurescompared to brand C

Here is the center of the interval 9.2515AndHere is the Margin of Error 3.9185

Page 92: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

92

Problems1. A researcher wishes to see whether there is a difference in the average age ofnurses, doctors, and X-ray technicians at a local hospital. Employees are randomlyselected, and their ages are recorded as shown in the table. At _ = 0.05, can theresearcher conclude that there is a difference in the average ages of each group?

Nurses Doctors X-Ray Technicians23 60 2825 36 3526 29 2935 56 4142 32 5422 33 58

2.. The grade point averages of students participating in college sports programs are tobe compared. The data are shown in the table. At _ = 0.10, can one conclude that thereis a difference in the mean grade point average of the three groups?

Football Basketball Hockey3.2 3.8 3.32.6 3.1 2.62.4 2.6 1.92.4 3.9 1.71.9 1.8 2.5

3.A sample of real estate agents located in three different cities is selected, and theweekly commissions of the agents are as recorded below. At _ = 0.10, is there adifference in the commissions of the agents?

City A City B City C3,500 7,329 8,4004,000 8,641 7,6153,271 12,312 3,1414,268 9,610 1,0016,788 10,3007,286

Draw boxplots of the three cities commisons from these samples.

Construct a 95% confidence interval estimate of the difference for the cities whichappear to vary the most.

Page 93: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

93

ANSWER KEY

1.

2.

3.

Page 94: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

94

Probability and CountingPressing MATH and going to the PRB menu does most of the following problems.

1. PermutationsWhen you want to know how many different ways n things can be arranged r at a timewhere the order of the arranging does make a difference, use 2: nPr.

For example if you want to know how many different election tickets for president andvice-president can be made with 5 different candidates;

1. CombinationsWhen you want to know how many different ways n things be arranged r at a timewhere the order of the arranging does not make a difference, use 3: nCr.

For example if you want to know how many different committees of 2 can be made with5 people (notice arranging is not important);

5 people arranged 2 at a time = 20.

5 people combined 2 at a time = 10.

Page 95: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

95

2. FactorialsTo find how many different ways n things can be arranged where the order does make adifference use 4: !

For example a disk jockey wants to know the number of ways he can queue up 10records to be played in the next blast from the past set.

3. Binomial Probability Distributions

Once you have determined that there is a constant fit ( F,I,T,Const.) and that this isindeed a binomial probability distribution, then you may use one of the followingexample types to solve your problem.

You wish to know the probability that a fair coin that is flipped 5 times will come upheads exactly 2 times. Press 2 nd DISTR and go to 0: binompdf (

What is the probability that a fair coin will come up heads no more than twice when it isflipped 5 times? Press 2 nd DISTR and go to A: binomcdf (

10 songs can be arranged 3,628,880 different ways.

Now press ENTER.

5 flips with a 50% probability for each. The probability of getting exactly 2heads is .3125 or 31.25%

Press ENTER

Page 96: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

96

What is the probability that a fair coin will come up heads at least twice when it is flipped5 times?First go to the home screen and type in 1 —

Press 2 nd DISTR and go to A: binomcdf (

4. Expected Values

Expected value calculation for a probability distribution can be done using the list editor.First we will clear all the lists in the list editor. Press STAT, then 4: ClrLisr.

Now enter L1 to L6 using the 2 nd key. Be sure to put commas between the list names.

We will now use the list editor to do this expected value problem.

A contractor has a .80 probability of making $70,000, a .15 probability of losing $20,000and a .05 probability of breaking even. What is the contractor s expected value?

5 flips with a probability of 50% per flip. The probability of 0, 1, or 2 heads is .5 or 50%.(Notice that the binomial cumulative density function gives the probability of from 0 up tothe last number in the syntax command.)

Any time you are doing a binomial distribution problem andwhat to know the probability of at least , use 1-

Page 97: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

97

We start this problem by pressing STAT and 1: Edit and enter events and theirprobabilities into L1 and L2.

Now use the right and up arrows to place the cursor on L3.

Enter L1*L2 which will appear here. Press ENTER and see this screen.The column L3 represents the events multiplied by their probabilities.Now move the cursor to L3(4). That is list 3 entry number 4.

Press 2 nd LIST and select the math MENU with the right arrow. Now select 5: sum(

Events

Note that losing means anegative number.

Breaking evenmeans zero

Probabilities of the Events

This will paste the sum command to the equation L3(4)=

PressENTER

The equation line should now readL3(4)=sum( Now enter L3 using the 2 nd key.

Page 98: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

98

Finally press ENTER. The answer to the problem is+$53,000. The contractor s expected value

Page 99: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

99

Problems;1. A batch consists of 15 defective capacitors and 85 good capacitors. Find the

probability of getting two good capacitors when two are selected if(a) The first selection is replaced before the second selection is made.(b) The first selection is NOT replaced.

2. A multiple-choice test allows answers of a, b, c, d, e for each question. A studentanswers ten questions by making random guesses.(a) What is the probability that the first answer is correct?(b) Find P(all ten answers are wrong) .(c) Find P(at least one correct answer) .

3. (a) Evaluate 12C8.(b) If five women are selected for a lineup, how many different ways can they be

arranged?(d) One doctor and one nurse must be chosen from a pool of twelve doctors and

8 nurses. If both selections are random, how many different doctor & nursepairings are possible?

4. A process of manufacturing clocks has a 90% yield, meaning that 90% of theproducts are acceptable and 10% are defective. If three of the clocks are randomlyselected, find the probability that all of them are acceptable.

5. A doctor knows that one particular treatment has a 30% cure rate. If that treatmentis used on six different patients, what is the probability that at least one patient iscured?

6. A supplier must fill four large orders. How many different ways can those orders bearranged in a queue?

1. The state lottery involves the random selection of six different numbers between 1and 51. If you select one six-number combination, what is the probability it will be thewinning combination?

8. For one particular policy, an insurance company has a 0.998 probability of gaining$160 and a 0.002 probability of losing $9840. What is the company s expectedvalue?

2. The Winston Public Relations Company finds that an average of 20% of all newemployees resign during the first year. Find the probability that among the next 30employees hired, at least 5 resign during the first year.

Page 100: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

100

ANSWER KEY

1.

2.

3.

4.

5.

Page 101: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

101

6.

7.

8.

9.

Page 102: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

102

Practice Final Examination

DO ALL OF THE FOLLOWING QUESTIONS

On all questions, show your work in the space provided. You may use one sheet ofnotes and your calculator. However, show each step to receive full credit. Show thegraph of all distributions that are appropriate for the problem and label the graphs.

In tests of hypothesis, be sure to include the original claim, the null and alternativehypotheses, p values, graphs and conclusions.

Show all work neatly!

If it is illegible IT IS WRONG !!

1. For the data given in the following stem leaf plot ;

5 3456 12227 12348 33445699 1679

a. Construct and completely label a Boxplot b. Find the mean _______ c. Find the standard deviation _______ d. Find the mode _______ e. Find the range _______ f. Find the variance _______

g. Find the mid-range _______

2. Use the frequency table below to find the following.X f

0-9 410-19 320-29 630-39 240-49 350-59 6

Page 103: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

103

a. mean_________

b. standard deviation__________

c. class width_________

d. variance__________

e. upper class limit of the third class_________

f. lower class boundary of the third class________

3. Below neatly draw the histogram corresponding to the frequency table in question 2.

4. The dean of the admissions committee of Harvard Law School notes that the LSATscores of applicants to the law school are normally distributed with a mean of 750 and astandard deviation of 16.6.

a. If an applicant is randomly selected, find the probability of the applicant s score beingbetween 760 and 780.

b. If an applicant is randomly selected, find the probability of a score that is below 740.

c. What LSAT score must an applicant attain to be places in the top 2%.

d. If an applicant is randomly selected, find the probability of a score that is above 780.

5. The coffee machine in the faculty lounge dispenses cups of coffee with a mean andstandard deviation of 12 oz. and 0.4 oz. respectfully. What is the probability that thedozen cups of coffee that I buy from the machine today will contain an average ofbetween 12.25 and 12.5 ounces? (note: I am not addicted to coffee, I only use it to getmy heart started!)

6. The life Trust Insurance Company is suspicious about a cluster of Orange Countydeaths that resulted from falls. You are asked to estimate the proportion of homeaccident deaths nationwide that are caused by falls. How many such deaths must yousurvey to be 94% confident that your sample proportion is within 2% of the truepopulation proportion?

Page 104: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

104

7. A random sample of 288 voters registered in California showed that 141 voted in thelast general election. A random sample of 216 voters in Colorado showed that 125voted in the most recent general election. Do these data indicate that the proportion ofvoter turnout in Colorado is higher than that in California?

Construct a 95% confidence interval for the difference between the two populationproportions referred to in problem 7.

8. A dose of the drug Captopril, designed to lower systolic blood pressure, isadministered to 10 randomly selected volunteers, with the following results. At asignificance level of 2%, test the claim that Captopril is effective in lowering systolicblood pressure.

Subject A B C D E F G H I JBefore 120 136 160 98 115 110 180 190 138 128After 118 122 143 105 98 98 180 175 105 112

Construct a 98% confidence interval for the average difference in systolic bloodpressure before and after the use of Captopril. What is the Margin of Error?

9. A random sampling of companies in electric utilities, financial services and foodprocessing gave the following information regarding annual profits per employee (unitsin thousands of dollars). At a .05 level of significance, is there a difference in thepopulation mean profits per employee in these three types of companies?

Electric utilities Financial services Food processing49.1 55.6 2943.4 25 27.332.9 41.3 10.827.8 39.5 32.538.3 15.836.1 22.620.2

• Construct a boxplot diagram comparing these three industries.• Construct the 95% confidence interval estimate for the two industries that appear to

differ the most in mean profits per employee.

Page 105: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

105

10. Do heavier cars really use more gasoline? Let x be the weight of the car (inhundreds of pounds), and let y be the miles per gallon (mpg). The following is based ondata taken from Consumer Reports.

X 27 44 32 47 23 40 34 52Y 30 19 24 13 29 17 21 14

• Is there a correlation between the weight of a car and its gas mileage in mpg?Explain why.

• Compute the correlation coefficient. _____________.

• What is the coefficient of determination?__________.

• What percent of these data can be explained using the regression model?

• Sketch the scatter plot diagram that represents this data on the axes below.

• What is the equation of the regression line model for these data?

• Is this a positive or negative correlation? In your own words, what does that mean inthis problem?

• How many miles per gallon would you expect a car 38 hundred pound to get basedon this regression model?

Draw and label the regressionline on the scatter plot diagram.

Page 106: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

106

11. In 1988, the Steering Committee of the Physicians Health Study Research Groupreleased the results of a 5-year experiment conducted using 22,071 male physiciansbetween the ages of 40 and 84. The physicians had been randomly assigned to twogroups. One took an ordinary aspirin tablet every other day while the other group took aplacebo , a pill designed to look just like an aspirin but with no active ingredients.Neither group knew whether or not they were taking the active ingredient. The results ofthe study are shown in the following table.

Heart Attack No Heart Attack TotalAspirin 104 10,933 11,037Placebo 189 10,845 11,034Total 293 21,778 22,071

• At a 5% level of significance, is there evidence that a relationship exists between theuse of aspirin and heart attacks? Explain your answer fully.

• Is this a cause and effect relationship? Explain why or why not.

• What is the increased risk of having a heart attack for men in this age group nottaking aspirin? Explain in detail.

Page 107: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

107

ANSWER KEY

1.a.

b. 76.18 c. 14.62 d. 62 e. 99-53=46 f. 213.87 g. (53+99)/2=76

2.a. 30.75 b. 18.37 c. 10 d. 337.5 e. 29 f. 19.5

3.

4.a.

53 62 78.5 86 99

-.5 9.5 19.5 29.5 39.5 49.5 59.5

4 3 6 2 3 6

Page 108: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

108

b.

c.

d.

5.

6.

Page 109: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

109

7.Claim: p1<p2 H1

Oppos.: p1≥p2 H0

b.

8.

Claim: µd > 0 ;H1

Oppos.: µd † 0 ;H0

Page 110: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

110

8 b.

21.875 — 11.9 = 9.975 (Margin of Error)11.9 – 9.9759.

claim: u1 = u2 = u3 :H0

oppos. u1 ≠ u2 ≠ u3:H1

p < α → Reject H0. Therefore, reject the claim that the population means are all equal.

It appears that the two most different populations are those in lists L2 and L3.To get a 95% confidence interval estimate in the difference in these population means;

Page 111: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

111

17.35 ± 15.0310.

11.

Page 112: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

112

Appendix 1

Electronic Data Transfer

The person getting data does the following

1. Press 2nd (yellow key) 3. Over arrow to RECEIVE 5. The screen will sayWaiting

2. Press LINK 4. When person sending isready press ENTER

6. the person sendingmay now TRANSMIT

The person sending the data does the following

10. Press 2nd (yellow key)11. Press LINK12. Choose SEND (press either ENTER or 1)

13. Select 3: Prgm (if you want to send programs) or 4:List (for lists)14. Now use the down arrow to go to the programs or lists you wish to transmit.15. To select a specific program or list press ENTER and a little square appears.16. After selecting all programs or lists you wish to transmit right arrow to TRANSMIT

(The person receiving the data should now press ENTER to be Waiting)17. Finally press ENTER and the programs or lists will be sent.18. If you are replacing a list or program or transmitting data from L1 — L6, then the

person receiving the data will have to OVERRIDE by pressing 2 when prompted.

Page 113: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

113

Appendix 2

HOW TO CREATE NAMED LISTS

Suppose you are doing a survey in which you which to compare prices at three differentstores; Safeway, Lucky s and Raley. You are going to compare prices of various itemsand which to store your data in named lists for your project. The following method willenable you to create and store named lists which you can reference and edit withoutusing lists L1 through L6.

First go to the list editor STAT 1

Now use the up arrow to go to the heading for L1 and press 2nd INS (insert)

You can now enter the name of the list using the GREEN ALPHA keys,then press ENTER

Page 114: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

114

Now do the same to enter RALEY and SFWAY

You can now enter the data that you have collected into the appropriate lists.To return to the list editor with only lists L1 through L6 press STAT 5, then ENTER.

If you wish to return to the named lists that you created again go to STAT 5 SetUpEditorThen go to 2nd LIST and select the lists that you just created putting a comma between.

When you complete the process and go to STAT 1 you will see the named lists.

To go back to lists L1 through L6;Press STAT 5: SetUpEditorThen ENTER

To view the List editor at any timepress STAT 1: Edit

Page 115: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

115

DOWNLOADING INTERNET DATA INTO THE TI — 83

The purpose of this presentation is to increase the utility of the TI-83 by showing how todownload INTERNET data or data from text data disks to your TI-83. Lastly, I alsoinclude a step-by-step explanation of how to link this data to and between all thestudents calculators in your class. Please feel free to use or share any part of thispresentation as handout material for your class or with other instructors. If you shouldhave any questions or find any corrections fell free to contact me via e-mail [email protected]

HARDWARE AND SOFTWARE REQUIREMENTS

1. TI-83 graphing calculator:2. 3. A graph link and link software:

Texas Instruments sells one for about $55, but others can be obtained at a fractionof that cost. Try contacting one of these sites on the www.

http://linkcables.tigalaxy.com/http://www.ticalc.org/

4. A PC or Mac computer:

5. Winlink Software: This is available over the www from TI s web site athttp://www.ti.com. Also when you purchase a link from one of the above sources, thesoftware is included.

Page 116: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

116

STEP ONE: Downloading data to Excel

Whether you decide to use the data disk provided by a specific textbook or download offthe Internet, the steps are essentially the same. I have included some Internet datasources that I have found both interesting and useful. Many provide links to still othersources.

http://www.mste.uiuc.edu/data/data.htmlhttp://stats.bls.gov/http://lib.stat.cmu.edu/DASL/http://www.forum.swarthmore.edu/sum95/paul/pshome.htmlhttp://www.geom.umn.edu/docs/snell/chance/teaching_aids/data_sets.htmlhttp://stats.bls.gov:80/oreother.htmhttp://www.ti.com/calc/docs/act83stat.htmhttp://www.ticalc.org/http://www.icpsr.umich.edu/index.htmlhttp://stats.bls.gov:80/top20.htmlhttp://odwin.ucsd.edu/jj/idata/index.htmlhttp://www.census.gov/ftp/pub/sdc/www/http://www.fedstats.gov/http://www.math.okstate.edu/archives/http://www.nejm.org/http://www.scs.unr.edu/~cbmr/research/data.htmlhttp://math.uc.edu/~brycw/classes/books.htmhttp://www.lib.umich.edu/libhome/Documents.center/stats.htmlhttp://stats.bls.gov/cgi-bin/dsrv?ap

Let say you decide to go to.http://www.geom.umn.edu/docs/snell/chance/teaching_aids/data_sets.html

There you can download, for example, the 1994 major league baseball salaries, a gooddemonstration of the difference between the mean and the median. (In that this was apre-strike year, also a good demonstration of greed).

When you first select the data source you choose, your selection might look somethinglike this, simply a screen with either one or possibly several lists.

Now go to File and select Save as

Page 117: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

117

You can now exit or minimize the Internet Program (in this case Netscape).

Next open your Excel program to the same file and name that you just saved.

Once done the screen should now look something like this.

Save the file in whatever folder you like, withwhatever title you like. Make sure you save it asPlain Text.

Note: You will need to specifyText Files

Page 118: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

118

Under Delimiters choose both Tab and Space and Treat consecutive delimiters as one.Then click Next

Choose Delimited and click Next

Page 119: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

119

Your Screen now should look something like this. Notice that some of salaries and teamname columns do not line up properly. This can be fixed once you have saved this asan Excel workbook, which is what we will do next.Go to the File menu and select Save As.

Name the file whatever you like.

Save as type:Microsoft Excel workbook

Then click Save

Now go to the Insert menu.

Select and click Worksheet.

Choose the file in whichyou will Save the data.

Page 120: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

120

Go back to the baseball_salaries worksheet by clicking this tab.

This new worksheet will be used to bring the salary datato the TI-83.Only column A will be used.

Highlight a group of cells to be copied toSheet one.

Then click Copy.

Page 121: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

121

Now go back to sheet 1 and with the cursor at A-1 click Paste. Sheet 1 will now look likethis;

Continue this copy and paste routine, if necessary until the column of salaries has beentransferred to one column in one worksheet. Happily this is not usually required and thedata will save as one column automatically. What I am presenting here is a worst casescenario and what to do if that happens. (Also, if for some reason your Internet data willonly store as an HTML file, even though you asked it to store as a text file, don t worry.Open the stored HTML file and then store it as a plain text file and proceed as outlinedabove.)

What we want to do basically is to store our data in one column on one worksheet. Thisworksheet is what we will be using to transfer data to the TI-83 via the Winlink program,which either came with the link, you purchased or which you downloaded from TI sinternet site at http://www.ti.com

STEP TWO: Storing you data in the Winlink file.

Once all you data have been put into a single column on the new worksheet, you arenow ready to store it in your computers Winlink file. This file will be used later to transferthe data directly to the TI-83. While on the new worksheet, pull down the File menu andclick Save As. The screen should look like this;

Be sure to Save In the Winlink Program

Page 122: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

122

In saving the data to a Winlink file the key items are;1. Make sure you specify that you are saving in the Winlink file. (You must have

downloaded the Winlink program prior to attempting to save to it.)2. The file name you are saving can have at most 5 characters since that is the

greatest number of characters the TI-83 uses to name any list.3. Under Save as type, be sure to specify Text(OS/2 or MS-DOS) since this is the

language that the TI-83 uses.4. Finally, when you do go to Save this data in Winlink, you will get a message like the

one on the next page, Click OK.

Page 123: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

123

Congratulations! You have just saved INTERNET data to a program (Winlink) that willnow transfer the data directly to the TI-83.

Page 124: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

124

STEP THREE: Transferring the data to the TI-83

Open the Winlink program.

Once selected the next screen will look like this.

Under the Tools menu select Import and ASCII Data

With the cursor in the Other Name box, type in the nameunder which you stored the data.Then click OK.

Page 125: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

125

On the next screen simply click OK.

YOU SHOULD NOW CONNECT THE TI-83 TO THE GRAGH LINK HARDWARE ANDTURN THE CALCULATOR ON WITH THE HOME SCREEN CLEARED.

On the next screen, select the correct Filename and click OK.

Page 126: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

126

The next screen shows your data list as it is stored in Winlink. Next open the Link menuand click Send.

Page 127: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

127

The next screen should appear.

This next screen tells you the list now resides in the TI-83. CONGRATULATIONS

Step 1: Select the file name.

Step 2: Click Add.

Step 3: Click OK.

If instead you get an error statement check;1. Is the calculator still On?2. Did you exit the Excel program used to generate this list?

Click OK.

Page 128: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

128

6.Use programs to store data efficiently.

Creating named lists and storing them individually takes up more RAM than isnecessary. Lists can be stored, as well as linked to students calculators, moreefficiently in a program that contains these lists. One such program will be created fromdata retrieved from the BLS website for consumer price indexes. Specifically, we will bedownloading and storing gas prices from major metropolitan areas across the countryfor the past two years. These prices are available at http://146.142.4.24/cgi-bin/dsrv?ap

Follow the steps given in pages 6 through 18 to download these named lists into the TI— 83. You can see these lists once they are downloaded by pressing the LIST button.

Now, with the lists already in the TI — 83, we will store these lists in a program asfollows.

Now press the STAT button, select SetUpEditor and press ENTER.

Press LIST. Select BSTGS from the list of names and then press , (the comma key.Then press LIST and select HSTGS. from the list of names followed by , . Now do thesame for all the lists in the LIST menu each followed by a comma.Finally press ENTER and the screen should look like this.

Page 129: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

129

The following steps will transfer the actual data from the lists to the program.Press RCLPress LIST. Select BSTGS from the list of names.Rcl L BSTGS will appear at the bottom of the screen.Press ENTER. The actual data will be entered into the program.Press STO→. Press LIST. Select BSTGS from the list of names. Press ENTER.

Repeat the process for each of the named lists in the program. When you are finishedthe final screen should look something like this.

Page 130: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

130

If you now press STAT and ENTER you will see a screen in which all the named lists inyour project have been pasted to the list editor.

You can now perform various statistics analysis tests on these named lists. If you wishto transfer this list information to other calculators with the link wire, it can be done bysimply transmitting the program entitled GASPRICE.

When you wish to reset the list editor to lists L1 through L6 press STAT and select 5:SetUpEditor and press ENTER

Your list editor will now look like this with only the lists L1 through L6 displayed.

Page 131: Introduction to Statistics Using the TI-83 Graphing …Introduction to Statistics Using the TI-83 Graphing Calculator By Dr. Robert Knight This document is a working text that is designed

131

If you wish to delete the named lists from the RAM press the MEM button and select 2:Delete

Then select 4: List

Now scroll down to the specific list that you wish to delete. When you come to a list thatyou want to delete press ENTER. For example in the case below pressing the ENTERbutton will result in the list BSTGS being deleted.

The Program GASPRICE will still be stored in the TI — 83 and when recalled will enterthe data and lists into the calculator again to be used as you wish.