Docsity

Analyzing Golf Scores & Nugget Prices: TI-83 Stats & Regression with Graphs - Prof. Geoff , Study notes of Algebra

Toggle sidebar
bg1
1
TI-83 Statistics & Regression
These are recent golf scores for Andy Taylor and Barney Fife:
Andy
78
83
81
84
80
Barney
82
92
74
100
78
To input statistical lists:
Hit the STAT key, then select 1: Edit under EDIT and ENTER.
(If there are already numbers in any list, arrow up to L1, L2, etc.; then hit CLEAR and
ENTER to clear an entire column of numbers. Another option is to use the 4: ClrList
command in the STAT EDIT menu followed by the name of the list.)
Enter elements in each list by typing the number and then ENTER or use the arrow down
key. When you’ve entered one list, arrow rightto start the next list.
Note: For regression analysis, the list of ordered pairs must have the same size; if they’re
not the same size, the calculator gives a dimension error.
For Andy’s and Barney’s golf scores, the input might look like this:
To perform one-variable statistical calculations:
Hit the STAT key, then arrow once to the right to CALC, then hit 1: 1-Var Stats and
ENTER. Type the appropriate list name (L1, L2, etc.), then hit ENTER and the
calculator will perform several calculations nearly instantaneously.
The calculator finds the mean
x
⎡
⎣⎤
⎦
, sum of the data values
Σx
[ ]
, sum of the squares of
the data values
, sample standard deviation
sx
[ ]
, population standard deviation
σ
x
[ ]
, sample size [n], minimum value [minX], first quartile [Q1], median [Med], third
quartile [Q3], and maximum value [maxX], in this order.
Note: The calculator can also handle 2-variable statistics, but this is primarily used for
regression situations.
pf3
pf4
pf5

Partial preview of the text

Download Analyzing Golf Scores & Nugget Prices: TI-83 Stats & Regression with Graphs - Prof. Geoff and more Study notes Algebra in PDF only on Docsity!

These are recent golf scores for Andy Taylor and Barney Fife:

Andy 78 83 81 84 80

Barney 82 92 74 100 78

To input statistical lists:

Hit the STAT key, then select 1 : Edit under EDIT and ENTER.

(If there are already numbers in any list, arrow up to L1, L2, etc.; then hit CLEAR and

ENTER to clear an entire column of numbers. Another option is to use the 4 : ClrList

command in the STAT EDIT menu followed by the name of the list.)

Enter elements in each list by typing the number and then ENTER or use the arrow down

key. When you’ve entered one list, arrow rightto start the next list.

Note: For regression analysis, the list of ordered pairs must have the same size; if they’re

not the same size, the calculator gives a dimension error.

For Andy’s and Barney’s golf scores, the input might look like this:

To perform one-variable statistical calculations:

Hit the STAT key, then arrow once to the right to CALC, then hit 1 : 1-Var Stats and

ENTER. Type the appropriate list name (L1, L2, etc.), then hit ENTER and the

calculator will perform several calculations nearly instantaneously.

The calculator finds the mean ⎡x ⎣

, sum of the data values [ Σx] , sum of the squares of

the data values Σx

2 ⎡ ⎣

, sample standard deviation s x

[ ] , population standard deviation

σ x

[ ] , sample size [n], minimum value [minX], first quartile [Q 1 ], median [Med], third

quartile [Q 3 ], and maximum value [maxX], in this order.

Note: The calculator can also handle 2-variable statistics, but this is primarily used for

regression situations.

For Andy’s golf scores, the statistics would look like this:

To make a statistical graph (box plot):

Using the golf data above (already stored in lists L1 and L2), the next step is to hit 2

nd

Y= to enter the “STAT PLOT” menu. Hit ENTER to go into 1: Plot1, then choose the

settings you’ll see in the image to the right below.

With an appropriate window, we would then hit GRAPH to see the box plot for Andy’s

golf score. We’ll proceed in a similar fashion with Barney and show both graphs

together. We have L1 associated with Andy and L2 associated with Barney.

To request a second box plot, arrow to Plot2 and hit ENTER. Make similar choices. Then

hit WINDOW, and enter the values you see in the chart below.

Both plots are on; the box plot options are selected; the window is appropriate for the

data; and so we are ready to hit GRAPH.

Because of its importance in algebra, we’ll also focus on the scatter plot and regression.

You’ll immediately recognize that Andy’s box is

“tighter”, indicating greater consistency. His

median is lower than Barney’s, indicating better

overall scores. (In golf, less is best!)

The other options are a scatter plot, a

broken line graph, a histogram, a modified

box plot, and a cumulative broken line

graph. All are created using similar steps.

We assume that these first 3 steps are completed (with images showing the process in

previous sections of this appendix). The fourth step is the big one!

  1. Hit STAT, then arrow rightto CALC, then select 4 : LinReg(ax+b).

Since the data is in L1 and L2, enter 2

nd L 1 , 2

nd L 1 ,

In order to place the best-fit equation into Y1 automatically, hit VARS, then arrow

rightto Y-VARS, hit ENTER (on Function), then hit ENTER again (on Y1).

Another ENTER runs the regression calculations. The calculator will give the values

for a (slope of line) and b (y-intercept) for the line of best fit. If you press Y=, you’ll

see the regression equation pasted in Y1. If Plot 1 is on, press GRAPH to see both the

line of best fit and the scatter plot.

Note: If your calculator doesn’t show the r

2 or r values, hit 2

nd CATALOG and scroll

down to turn “DiagnosticOn”. Then the calculator will find the constants for the

regression equation along with the correlation coefficient (r), r

2 , or both values,

depending on which regression function is involved.

For the chicken pieces pricing situation, the regression analysis yields these results:

  1. The next most important step is making predictions. Use 2

nd TBLSET to select the

“ASK” (Independent variable) and “AUTO” (Dependent variable) options. When you

go back into 2

nd TABLE, the table is blank. You input any X-value, and the calculator

will compute the corresponding Y value using the formula. The predicted prices for

various numbers of nuggets are shown below, along with the decision.

NOTE:

The calculator can also fit a parabola to the scatter plot (QuadReg), a cubic function (CubicReg),

a quartic function (QuartReg), an exponential function (ExpReg), a logarithmic function

(LnReg), a logistic function (Logistic), and a power function (PwrReg), and these are

accomplished in a very similar manner. The particular regression equation forms are given in

Section 5.1.

The linear regression equation suggests 79¢ for 4 pieces,

$1.90 for 12 pieces, and $3.57 for 24 pieces. In each case, the

restaurant would probably charge prices close to these values.

Notice that the predictions for 6, 9, and 20 pieces are very

close to the actual data values.

The format in each case is the regression type followed by the Xlist, Ylist, and the Y-variable

location to paste your equation.

For example, the step 4 commands may be Logistic L1, L2, Y2 or ExpReg L1, L2, Y3 or another

similar command.

For example, using the QuadReg L1, L2, Y1 command, we find that R

2 = 1 , indicating a perfect

correlation between the variables (with the correlation coefficient R also equal to 1 or –1). While

both the linear function and this quadratic function fit the scatter plot well, by this r value, we

know the quadratic function fits better. It is also likely to predict better. The quadratic function

gives the following predicted prices. Again, the company decides the price, but these should be

very much in the neighborhood of what they would charge for the nuggets.