0% found this document useful (0 votes)
217 views33 pages

TI NSpire AI SL Book 2

This document discusses finding the vertex of a quadratic function, finding points of intersection between two graphs, and performing a power regression on a data set. It provides step-by-step instructions for using a TI-Nspire calculator to calculate each of these.

Uploaded by

shadowledge •
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
217 views33 pages

TI NSpire AI SL Book 2

This document discusses finding the vertex of a quadratic function, finding points of intersection between two graphs, and performing a power regression on a data set. It provides step-by-step instructions for using a TI-Nspire calculator to calculate each of these.

Uploaded by

shadowledge •
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 33

CHAPTER 2 - CALCULATING MONTHLY REPAYMENTS

TI-nspire
Erica takes out a personal loan of $16 500 to buy a car. She negotiates a term of 4 years at 5.5% p.a. interest.

To calculate the monthly repayments, press  on and select Add Calculator.


Press menu and select 8 Finance, 1 Finance Solver....
Set up the screen as shown alongside.
We set:
• N = 48 since the term lasts for 4 × 12 = 48 months
• I(%) = 5.5 since the interest rate is 5.5% p.a.
• PV = 16 500 since $16 500 is loaned
• PpY = 12 since 12 monthly payments are made per year.
Note: The PmtAt field is set to END since payments are made at the end of
the month.
Highlight the Pmt field and press enter to calculate the monthly repayments.

So, the repayments are $383.74 per month.


Note: The monthly repayment is always rounded up.

© HAESE MATHEMATICS
CHAPTER 3 - GRAPHING FUNCTIONS
TI-nspire
2x
Consider the function y = − 2.
x

To find the key features of the graph of the function, press  on and select Add Graph.
2x
Enter − 2 into f1(x), and press enter to plot the graph.
x
Note: Ensure that the viewing window shows the features of the graph. You
can adjust the viewing window by pressing menu and seleting 4
Window/Zoom, 1 Window Settings....

Axes intercepts
To find the axes intercepts, we use the Zero and Graph Trace functions.
To find the x-intercepts, press menu and select 6 Analyze Graph, 1 Zero.
Place the lower bound to the left of the first x-intercept, and the upper bound to the
right.
Repeat for the remaining x-intercepts.
So, the x-intercepts are 1 and 2.

To find the y-intercepts, press menu and select 5 Trace, 1 Graph Trace.
Enter 0 and press enter to find any y-intercepts.
So, there are no y-intercepts.
20
Note: When x = 0, y = − 2 is undefined. This is expressed by the value
0
undef appearing next to f1.

Turning points
To find local minima or maxima, we use the Minimum and Maximum functions.
To find any local minima, press menu and select 6 Analyze Graph, 2
Minimum.
Place the lower bound to the left of the local minimum, and the upper bound to the
right.
So, there is a local minimum at (1.44, −0.116).
Note: To find local maxima, we proceed as above but instead of selecting 2
Minimum, we instead select 3 Maximum. For this example, there are
no local maxima.

Asymptotes
There are no inbuilt functions to determine the asymptotes of the function, so we use the function or the graph to help us.
The graph appears to have a vertical asymptote at x = 0.
This is confirmed by the fact that y is undefined when x = 0.
As x → −∞, the graph gets closer to the line y = −2. So, y = −2 is a horizontal asymptote.

© HAESE MATHEMATICS
CHAPTER 4 - SOLVING SYSTEMS OF EQUATIONS
TI-nspire


 a+b+c=2
Consider the system of equations 8a + 4b + 2c = 4


27a + 9b + 3c = 12.

To solve these equations simultaneously, press  on and select Add Calculator.


Press menu and select 3 Algebra, 2 Solve System of Linear Equations....

Select 3 for Number of equations, and use the alphabet keys, A B C ,


to set the Variables to a, b, and c.

Select OK, set up the screen as shown alongside, and press enter .

So, a = 1, b = −3, and c = 4.

© HAESE MATHEMATICS
CHAPTER 5 - DRAWING SCATTER DIAGRAMS
TI-nspire
Draw a scatter diagram of the following data set: x 7 8 6 11 6 4 5
y 20 24 20 33 18 10 13

Press  on and select Add Lists & Spreadsheet.


Enter the x-values into list A, and name the list x. Enter the y-values into list B,
and name the list y.

Press  on and select Add Data & Statistics.


You will see the labelled data points scattered on the screen.

Move the cursor to the bottom of the screen until Click or Enter to add variable
appears. Press enter , then select x.
Move the cursor to the left of the screen until Click or Enter to add variable
appears. Press enter , then select y.

© HAESE MATHEMATICS
CHAPTER 5 - CALCULATING r
TI-nspire
Find the correlation coefficient r for the data alongside. x 2 5 6 3 9
y 11 6 4 6 3

Press  on and select Add Lists & Spreadsheet.


Enter the x-values into list A and name the list x, then enter the y-values into list
B and name the list y.

Press  on and select Add Calculator.


Press menu , select 6 Statistics, 1 Stat Calculations, then 3 Linear
Regression (mx+b)....
Set up the screen as shown, and press enter .

So, r ≈ −0.859 .

© HAESE MATHEMATICS
CHAPTER 5 - REGRESSION LINE
TI-nspire
Find the regression line for the data alongside. x 55 36 25 47 60 64 42 50
y 120 90 60 160 190 250 110 150

Press  on and select Add Lists & Spreadsheet.


Enter the x-values into list A and name the list x, then enter the y-values into list
B and name the list y.

Press  on and select Add Calculator.


Press menu , select 6 Statistics, 1 Stat Calculations, then 3 Linear
Regression (mx+b)....
Set up the screen as shown, then press enter .

So, the regression line is y ≈ 4.18x − 56.7 .

© HAESE MATHEMATICS
CHAPTER 5 - REGRESSION LINE ON A SCATTER DIAGRAM
TI-nspire
Plot the regression line on the scatter diagram of the data below:

x 55 36 25 47 60 64 42 50
y 120 90 60 160 190 250 110 150

First, press  on and select Add Lists & Spreadsheet.


Enter the x-values into list A and name it x, then enter the y-values into list B
and name it y.

Press  on and select Add Data & Statistics.


Move the cursor to the bottom of the screen until Click or Enter to add variable
appears. Press enter , then select x.
Move the cursor to the left of the screen until Click or Enter to add variable
appears. Press enter , then select y.

To add the regression line to the diagram, press menu , select 4 Analyze, 6
Regression, then 1 Show Linear (mx + b).
So, the regression line is y ≈ 4.18x − 56.7 .

© HAESE MATHEMATICS
CHAPTER 5 - CONSTRUCTING RESIDUAL PLOTS
TI-nspire
Construct a residual plot for the data set alongside. x 3 4 6 9 11
y 7 4 10 11 20

Press  on and select Add Lists & Spreadsheet.


Enter the x-values into list A and name it one, then enter the y-values into list
B and name it two.

To obtain a scatter plot for the data, press  on , and select Add Data &
Statistics.
Move the cursor to the bottom of the screen until Click or Enter to add variable
appears. Press enter , then select one.
Move the cursor to the left of the screen until Click or Enter to add variable
appears. Press enter , then select two.

Next we add the regression line to the diagram.


Press menu , select 4 Analyze, select 6 Regression, then select 1 Show
Linear (mx + b).

To graph the residual plot, press menu , select 4 Analyze, select 7 Residuals,
then select 2 Show Residual Plot.

© HAESE MATHEMATICS
CHAPTER 6 - FINDING THE VERTEX OF A QUADRATIC
TI-nspire

To find the coordinates of the vertex of f (x) = x2 + 6x + 4, press  on and select B Graph or Add Graph.

Enter x2 + 6x + 4 into f1(x) and press enter to plot the graph.


Note: Ensure that the viewing window shows the vertex of the quadratic. To
adjust the viewing window, press menu and select 4 Window/Zoom,
1 Window Settings....

Press menu and select 6 Analyze Graph, 2 Minimum.


Note: If the vertex is a maximum, instead select 3 Maximum.
Place the lower bound to the left of the vertex, and the upper bound to the right.

So, the vertex is (−3, −5).

© HAESE MATHEMATICS
CHAPTER 6 - FINDING POINTS OF INTERSECTION
TI-nspire
To find the coordinates of the points of intersection of the graphs with equations y = x2 − x − 18 and y = x − 3, press
 on and select B Graph or Add Graph.
Press menu , 3 Graph Entry/Edit, 1 Function, and enter x2 − x − 18 in
f1(x), then press enter .
Repeat the first 3 steps of the instruction above, then enter x − 3 in f2(x), and
press enter to display both graphs.

Press menu , then choose 6 Analyze Graph and 4 Intersection.


Next, select a point to the left of the first point of intersection using J and I .

Press enter , and similarly select a point to the right.


Press enter again, and the coordinates of the first point of intersection will be
shown next to the point.

Repeat the process above with the remaining point of intersection.

So, the graphs intersect at (−3, −6) and (5, 2).

© HAESE MATHEMATICS
CHAPTER 7 - VARIATION MODELS
TI-nspire
To perform a power regression on the data shown alongside, it must r 5 8 10 14 18
first be entered into the calculator.
M 4.08 16.73 32.67 89.65 190.54

Start a new document by pressing  on , then selecting 1 New.


Select 4 Add Lists & Spreadsheet, and enter the data above in columns A and
B, as shown in the screenshot.
It helps to rename these columns x and y.

Press  on , then select Add Data & Statistics.


Select the bottom axis label where it says Click to add variable, and change the
variable to x. Similarly, change the left hand variable to y.
Press menu , 4 Analyze, 6 Regression, 7 Show Power and then enter .
Your screen should look like the one alongside.

So, M ≈ 0.0326r3 .

To display the value of the correlation coefficient r, press  on again, then


select Add Calculator.
Now press menu , 6 Statistics, and 2 Stat Results.
Press enter and the results will be displayed, as in the screenshot.

So, r ≈ 1.00 .

© HAESE MATHEMATICS
CHAPTER 8 - LOGARITHMS IN BASE 10
TI-nspire
We can perform operations involving logarithms in base 10 by pressing ctrl 10x (log).

Press  on , and select A Calculate, or Add Calculator.

To evaluate log 34, press ctrl 10x (log) 10 I 34 enter .


So, log 34 ≈ 1.53 .

© HAESE MATHEMATICS
CHAPTER 8 - NATURAL LOGARITHMS
TI-nspire
We can perform operations involving natural logarithms by pressing ctrl ex (ln).

To evaluate ln 30, press ctrl ex (ln) 30 enter .


So, ln 30 ≈ 3.40 .

© HAESE MATHEMATICS
CHAPTER 9 - PERIODIC BEHAVIOUR
TI-nspire
Plot the points for the data set below. Is there any evidence to suggest the data is periodic?

x 0 1 2 3 4 5 6 7 8 9 10 11 12
y 0 1 1.7 2.1 1.8 1.1 −0.2 −1.2 −1.6 −1.9 −1.7 −1 0

First, press  on and select Add Lists & Spreadsheet.


Enter the x-values into list A, and name the list x.
Enter the y-values into list B, and name the list y.

Press  on and select Add Data & Statistics.


You will see the labelled data points scattered on the screen.

Move the cursor to the bottom of the screen until Click or Enter to add variable
appears. Press enter , then select x.
Move the cursor to the left of the screen until Click or Enter to add variable
appears. Press enter , then select y.

The data appears to exhibit periodic behaviour.

© HAESE MATHEMATICS
CHAPTER 10 - GRADIENT OF A TANGENT
TI-nspire

To find the gradient of the tangent to y = x2 when x = 2, press  on , select Add Graph, and draw the graph of
y = x2 .
Press menu , select 6 Analyze Graphs, then select 5 dy/dx.
Press 2 enter .
So, at x = 2 the tangent a has gradient of 4.

Press menu , select 8 Geometry, 1 Points & Lines, then 8 Tangent.


Move the cursor towards the point (2, 4) until the phrase point on appears.
Press enter to draw the tangent.
The equation of the tangent will appear next to the drawn tangent.
So, the tangent has equation y = 4x − 4.

© HAESE MATHEMATICS
CHAPTER 10 - TABLE OF GRADIENTS
TI-nspire
Construct a table of gradients of y = x2 for x = −2, −1, 0, 1, and 2.
d
Press  on , select Add Graph, and enter (x2 ) in f1(x).
dx
 d
Note: To enter a derivative press ||  , then select .
d

Press ctrl T to open the table view, then press menu , select 2 Table,
and 5 Edit Table Settings.
Set up the screen as shown to have the table start at x = −2 and use increments of
1, then select OK.

x −2 −1 0 1 2
So, the table of gradients for y = x2 is dy
−4 −2 0 2 4
dx

© HAESE MATHEMATICS
CHAPTER 11 - EQUATION OF A TANGENT
TI-nspire
To find the equation of the tangent to f (x) = x2 + 1 at the point where x = 1,
press  on and select Add Graphs.

Enter x2 +1 in f1(x), and press enter .


Your screen should now look like the one shown alongside.

Press menu , select 8 Geometry, 1 Points & Lines and 2 Point On.

Select the curve with the cursor, then press ( 1 enter , and the point (1, 2) will
be displayed.

Press menu , then select 8 Geometry and 1 Points & Lines again. Select
8 Tangent, and then click on the point (1, 2) with your cursor.
The equation y=2x is now shown next to the point.

So, the equation of the tangent to f (x) at x = 1 is y = 2x.

© HAESE MATHEMATICS
CHAPTER 11 - FINDING AND CLASSIFYING STATIONARY POINTS
TI-nspire
Construct a sign diagram for f 0 (x), where f (x) = x3 − 3x2 − 9x + 5, by drawing the graph of f 0 (x), and solving
f 0 (x) = 0.
d
Press  on , select Add Graph, and enter (x3 − 3x2 − 9x + 5) in f1(x).
dx
 d
Note: To enter a derivative press ||  , then select .
d

Adjust the view window by pressing menu , then selecting 4 Window/Zoom,


1 Window Settings and entering the values as shown.

Select OK to draw the graph.

Press menu , then select 6 Analyze Graph, 1 Zero.


Select a lower bound to the left of the first root, press enter , then select an upper
bound and press enter again to show the first root.
Repeat the process above with the other root, and both points will be shown on
screen.

So, f 0 (x) = 0 when x = −1 or 3.


We also observe that f 0 (x) > 0 when x 6 −1 or x > 3, and f 0 (x) 6 0 when −1 6 x 6 3.

© HAESE MATHEMATICS
CHAPTER 13 - ESTIMATING AREA USING RECTANGLES
TI-nspire
To calculate the lower and upper sums for the area between the graph of y = x2 and the x-axis on the interval 0 6 x 6 1
using 4 equal subdivisions:

Press  on and select A Calculate or Add Calculator.


Press menu , select 4 Calculus, then select 3 Sum to insert a sum operator.

We will first calculate the lower sum.


Press X I 0 N N 3 to indicate that x ranges from 0 to 3.
Then press I and enter the expression (1 ÷ 4) × (x ÷ 4)2 .

Press I ctrl var (sto I) L followed by ctrl enter (≈) to calculate


the lower sum and store it in the variable l.

We can repeat this process to calculate the upper sum.


The only difference is that x ranges from 1 to 4 instead of 0 to 3 and we store the
result in a different variable u.

Finally, calculate the average of the upper and lower sums (u + l) ÷ 2 to obtain an
estimate of the area.

Note: You should be able to adapt these instructions to calculate lower and upper sums for different values of n (the
number of subdivisions).

© HAESE MATHEMATICS
CHAPTER 13 - TRAPEZOIDAL RULE
TI-nspire

Use the trapezoidal rule with 6 subintervals to estimate the area between f (x) = 6 − x2 and the x-axis from x = 1 to
x = 2.
b−a
Letting a = 1, b = 2, and n = 6, we find that h = = 16 , and xi = a + ih = 1 + 61 i.
n

Press  on and select Add Lists & Spreadsheet.


Enter the values of i from 0 to n = 6 into list A, and name the list i.
Note: To name a list, select the top cell and type in the name. For example, press
I to name the list i.

Next, enter the values for xi into B.


Move the cursor to the second cell of the list, press = , enter 1 + (1 ÷ 6)×’i,
and press enter .
Name this list xi.
Note: To use list i in the formula for xi, press var and select i from the list.
This will enter ’i, which is how lists are referenced on the TI-nspire.

Finally, calculate f (xi ) and store it in list C by entering = (6−’xi2 ), and
pressing enter .
The table of values is now shown in C.

So, we obtain the table of values i xi f (xi )


0 1 2.236 068
1 1 16 2.153 808
2 1 13 2.054 805
3 1 12 1.936 492
4 1 23 1.795 055
5 1 56 1.624 466
6 2 1.414 214

© HAESE MATHEMATICS
CHAPTER 13 - DEFINITE INTEGRALS
TI-nspire
Z 1
To find x2 dx, press  on and select A Calculate or Add Calculator.
0

Press menu , select 4 Calculus, then select 2 Numerical Integral.


Set up the screen as shown and press enter .

Z 1
So, x2 dx = 31 .
0

© HAESE MATHEMATICS
CHAPTER 13 - EVALUATING DEFINITE INTEGRALS
TI-nspire
Z 5
To find xex dx, press  on , and select Add Calculator.
2

Press menu , select 4 Calculus, then select 2 Numerical Integral.


Set up the screen as shown and press enter .

Note: e is accessed by pressing π I and selecting e, or by pressing ex .

Z 5
So, xex dx ≈ 586.3 .
2

© HAESE MATHEMATICS
CHAPTER 13 - AREA UNDER CURVES
TI-nspire
To find the area enclosed by y = x2 + 1, the x-axis, x = 1, and x = 2, we first draw the graph of y = x2 + 1.
Press menu , select 6 Analyze Graph, then select 6 Integral.
Press 1 enter to specify the lower bound.
Press 2 enter to specify the upper bound.

So, the area of the region is 3 13 units2 .

© HAESE MATHEMATICS
CHAPTER 14 - BINOMIAL PROBABILITIES
TI-nspire

To find P(X = 2) for X ∼ B(10, 0.3), press  on and select A Calculate or Add Calculator.
Press menu and select 5 Probability, 5 Distributions, A Binomial Pdf....
Set up the screen as shown, then press enter to display the result.

So, P(X = 2) ≈ 0.233 .

To find P(X 6 5) for X ∼ B(10, 0.3), press  on and select A Calculate or Add Calculator.
Press menu and select 5 Probability, 5 Distributions, B Binomial Cdf....
Set up the screen as shown, then press enter to display the result.

So, P(X 6 5) ≈ 0.953 .

© HAESE MATHEMATICS
CHAPTER 14 - MEAN AND STANDARD DEVIATION OF A BINOMIAL DISTRIBUTION
TI-nspire
Calculate the mean and standard deviation for the variable X ∼ B(30, 0.25).

Press  on , select Add Lists & Spreadsheet, and enter the values 0, 1, ...., 30 into list A and name it x.
Move the cursor to the second row of list B, press menu , select 4 Statistics,
select 2 Distributions, then select A Binomial Pdf....
Set up the screen as shown, then press enter .

This calculates P(X = x) for every value of x from 0 to 30.


Name this list y.

To draw a scatter plot of the data, press  on and select Add Data &
Statistics.
Move the cursor to the bottom of the screen until Click or Enter to add variable
appears. Press enter , then select x.
Move the cursor to the left of the screen until Click or Enter to add variable
appears. Press enter , then select y.

To calculate the descriptive statistics, press  on and select Add Calculator.


Press menu , select 6 Statistics, select 1 Stat Calculations, then select 1
One-Variable Statistics....
Press enter to use 1 list, then set up the screen as shown.

So, µ = 7.5 and σ ≈ 2.3717 .

© HAESE MATHEMATICS
CHAPTER 15 - NORMAL PROBABILITIES
TI-nspire
Suppose X is normally distributed with mean 40 and standard deviation 10.
To find P(37 < X < 48), start in the Calculator application.
Press menu and select 5 Probability, 5 Distributions, 2 Normal Cdf....
Set up the screen as shown, then press enter to display the result.

So, P(37 < X < 48) ≈ 0.406 .

© HAESE MATHEMATICS
CHAPTER 15 - CALCULATING QUANTILES
TI-nspire
Suppose X is normally distibuted with mean 70 and standard deviation 10.
To find k such that P(X 6 k) = 0.95, start in the Calculator application.
Press menu and select 5 Probability, 5 Distributions, then select 3
Inverse Normal....
Set up the screen as shown then press enter .

So, k ≈ 86.45 .

© HAESE MATHEMATICS
CHAPTER 16 - CALCULATING TEST STATISTICS
TI-nspire

Statistics input
A researcher takes a random sample of 50 bottles of a new insect repellent, and finds that the mean protection time is
x̄ = 6.12 hours, with standard deviation s = 15 minutes = 0.25 hours.
Calculate the test statistic t based on the hypotheses:
H0 : µ = 6 {the new product gives the same protection as the old ones}.
H1 : µ 6= 6 {the new product gives a different protection time compared with the old ones}.

First, press  on and select A Calculate or Add Calculator.


Press menu , then select 6 Statistics, 7 Stat Tests, and 2 t Test... .
Make sure the input method is Stats, then press OK and set up the screen as shown.
Press OK again to view the statistics.

So, t ≈ 3.39 .

Data input
A person's resting heartrate was measured at 9 am each day for a week. The results are shown in the table below:

Mon Tue Wed Thu Fri Sat Sun


Heart rate (bpm) 64 58 59 60 60 69 63
Calculate the test statistic t based on the hypotheses:
H0 : µ = 60 {the person's heart rate is 60 bpm}.
H1 : µ > 60 {the person's heart rate is greater than 60 bpm}.

First press  on , select Add Lists & Spreadsheet, then enter the data into
list A and name it x.
Press  on , then select Add Calculator.

Next press menu , then select 6 Statistics,


7 Stat tests, 2 t Test... .
Set up the screen as shown on the left, and press
OK to display the test statistic.
So, t ≈ 1.29 .

© HAESE MATHEMATICS
CHAPTER 16 - CALCULATING PROBABILITIES FOR THE t-DISTRIBUTION
TI-nspire

To find P(T > 3.39) for T ∼ t50−1 , press  on and select A Calculate
or Add Calculator.
Press menu , select 5 Probability, 5 Distributions, then 5 t Cdf... .
Set up the screen as shown, then press enter to display the result.

So, P(T > 3.39) ≈ 6.94 × 10−4 .

© HAESE MATHEMATICS
CHAPTER 16 - COMPARING POPULATION MEANS
TI-nspire

Calculating the t-statistic and p-value given sample statistics


A hypothesis test needs to be carried out to find out whether the reduction in cholesterol levels of patients using the old
medication is less than the reduction in cholesterol levels of patients using the new medication at the 5% significance level.
The results are shown below:
Sample mean Sample standard deviation
Old medication 0.351 0.058
New medication 0.497 0.077
Step 1: Let µ1 be the population mean reduction in cholesterol levels of the old medication, and µ2 be that of the new
medication.
So, the hypotheses to be considered are H0 : µ1 = µ2 , and H1 : µ1 < µ2 .
Step 2: The significance level is α = 0.05 .

Step 3: To calculate the test statistic and p-value, first press  on and select
Add Calculator.
Press menu , then select 6 Statistics, 7 Stat Tests, 4 2-Sample
t Test... .
Select Stats as the data input method, then press OK and enter the data
above.
Make sure to set Pooled to Yes.
Press OK again, and the results will be displayed.
So, t ≈ −5.99 .
Step 4: p-value ≈ 7.14 × 10−7 .
Step 5: Since p-value < 0.05, we have enough evidence to reject H0 in favour
of H1 on a 5% significance level.
Step 6: We therefore accept H1 , and conclude that the new medication reduces
cholesterol more than the old medication.

Calculating the t-statistic and p-value given data


We are given data from two samples X1 and X2 , shown alongside, and X1 4 3 5 6 3 2
asked to test if the population mean of X1 is less than the population mean
of X2 at a 5% level of significance. X2 6 7 6 6 4 7 8 10

Step 1: Let µ1 be the population mean of X1 , and µ2 be the population mean of X2 .


So, the hypotheses to be considered are H0 : µ1 = µ2 , and H1 : µ1 < µ2 .
Step 2: The significance level is α = 0.05 .

Step 3: To calculate the test statistic and p-value, press  on , select Add
Lists & Spreadsheet, then enter the data into list A and list B.
Name the lists x1 and x2 for easier reference later.
Press  on and select Add Calculator.

© HAESE MATHEMATICS
Press menu , select 6 Statistics, 7 Stat Tests, and 4 2-Sample
t Test... .
Set Data as the input method, then press OK.
Set up the screen as shown, then press OK again.

So, t ≈ −3.29 .
Step 4: p-value ≈ 0.00323 .
Step 5: Since p-value < 0.05, we have enough evidence to reject H0 in favour
of H1 at the 5% significance level.
Step 6: We therefore accept H1 , and conclude that µ1 < µ2 .

© HAESE MATHEMATICS
CHAPTER 16 - THE χ2 GOODNESS OF FIT TEST
TI-nspire
To test a hypothesis about population proportions, a χ2 goodness of fit test is carried out.
In this example we are given both the expected proportions of students' grades, and the actual distribution of results across
n = 151 students with df = 5 − 1.
Grade
HD D C P F
Number of Students 16 21 21 59 34
Expected Proportion 0.05 0.1 0.15 0.4 0.3
Step 1: The hypotheses to be considered are:
H0 : p1 = 0.05, p2 = 0.1, p3 = 0.15, p4 = 0.4, and p5 = 0.3 .
H1 : At least one of these is not true.
Step 2: The significance level is α = 0.05 .

Step 3: To calculate the test statistic and p-value, first press  on and select
Add Lists & Spreadsheet.
Enter the data as shown, where list B contains Expected Proportion × n.
Rename both lists for easy referencing later.

Press  on and select Add Calculator .


Press menu select 6 Statistics , 7 Stat Tests , 7 χ2 GOF... .
Enter the name of list A in Observed List , the name of list B in
Expected List , set df = 4, and press OK.

So, χ2 ≈ 14.7 .
Step 4: p-value ≈ 0.00529 .
Step 5: Since p-value < 0.05, we have enough evidence to reject H0 in favour
of H1 at a 5% significance level.
Step 6: We therefore accept that the course should be adjusted.

© HAESE MATHEMATICS
CHAPTER 16 - THE χ2 TEST FOR INDEPENDENCE
TI-nspire
Use a χ2 test for independence to determine whether a student's canteen preference depends on their year group at a 5%
level of significance.
Step 1: The hypotheses to be considered are:
H0 : year group and canteen preference are independent.
H1 : year group and canteen preference are not independent.
Step 2: The significance level is α = 0.05 .
Step 3: df = (2 − 1)(4 − 1) = 3.
Step 4: The contingency table and expected frequency table are given below.
Contingency table: Expected frequency table:

Year group Year group


9 10 11 12 Sum 9 10 11 12
C 7 9 13 14 43 C 10.6 10.6 11.1 10.6
C 0
14 12 9 7 42 C 0
10.4 10.4 10.9 10.4
Sum 21 21 22 21 85

Note: Only data from the contingency table is necessary to conduct the test on this calculator.
The expected frequency table is useful for checking the result later on.
Open a Calculator window, then press menu , select 7 Matrix & Vector, 1 Create, and 1 Matrix... .
When prompted, set rows to 2, and columns to 4.
Enter the C and C 0 values from the contingency table into the boxes as
shown, using the directional pad to move between them.
Press I until the cursor is outside the box, then press ctrl var
(sto→), type c, and press enter .
Note: This stores the values in the variable c.

Press menu , then select 6


Statistics, 7 Stat Tests, and then
8 χ2 2-way Test... .
Set c as the Observed Matrix, and
press OK to calculate the statistics.
So, the test statistic χ2 ≈ 5.81 .
Step 5: p-value ≈ 0.121 .

Step 6: Since p-value > 0.05, we do not have enough evidence to reject H0 in favour of H1 on a 5% significance level.
Step 7: We therefore accept H0 , and conclude that a student's year group and canteen preference are indepenent.
Note: To compare the expected frequency table provided above
with the one from the calculator, press var , then select
stat.ExpMatrix and press enter .

© HAESE MATHEMATICS

You might also like