2.8 C
London
Friday, November 29, 2024
HomeTI-84Regression in TI-84How to Perform Quadratic Regression on a TI-84 Calculator

How to Perform Quadratic Regression on a TI-84 Calculator

Related stories

Learn About Opening an Automobile Repair Shop in India

Starting a car repair shop is quite a good...

Unlocking the Power: Embracing the Benefits of Tax-Free Investing

  Unlocking the Power: Embracing the Benefits of Tax-Free Investing For...

Income Splitting in Canada for 2023

  Income Splitting in Canada for 2023 The federal government’s expanded...

Can I Deduct Home Office Expenses on my Tax Return 2023?

Can I Deduct Home Office Expenses on my Tax...

Canadian Tax – Personal Tax Deadline 2022

  Canadian Tax – Personal Tax Deadline 2022 Resources and Tools...

When two variables have a linear relationship, we can often use simple linear regression to quantify their relationship.

Example of linear relationship

However, when two variables have a quadratic relationship, we can instead use quadratic regression to quantify their relationship.

Example of quadratic relationship

This tutorial explains how to perform quadratic regression on a TI-84 Calculator.

Example: Quadratic Regression on a TI-84 Calculator

Suppose we are interested in understanding the relationship between number of hours worked and happiness. We have the following data on the number of hours worked per week and the reported happiness level (on a scale of 0-100) for 11 different people:

Use the following steps to perform a quadratic regression on a TI-84 calculator.

Step 1: Visualize the data.

Before we can use quadratic regression, we need to make sure that the relationship between the explanatory variable (hours) and response variable (happiness) is actually quadratic.

First, we will input the data values for both the explanatory and the response variable. Press  Stat  and then press  EDIT . Enter the following values for the explanatory variable (hours worked) in column L1 and the values for the response variable (happiness) in column L2:

Raw data in TI-84 calculator

Next, press  2nd  and then press  y= to access the statplot menu. Highlight Plot1 and press  Enter. Make sure the plot is on and that L1 and L2 are selected for Xlist and Ylist, respectively:

Scatterplot on a TI-84

Next,  press  zoom and then press 9:ZoomStat. This will automatically produce the following scatterplot:

Quadratic scatterplot on TI-84 calculator

We can see that happiness tends to increase as number of hours worked increases from zero up to a certain point, but then begins to drop lower as the number of hours worked increases further.

This upside down “U” shape in the scatterplot indicates that there is a quadratic relationship between hours worked and happiness, which means we should use quadratic regression to quantify this relationship.

Step 2: Perform quadratic regression.

Next, we will perform quadratic regression. Press Stat and then scroll over to CALC. Then scroll down to 5: QuadReg and press Enter.

Quadratic regression on a TI-84 calculator

For Xlist and Ylist, make sure L1 and L2 are selected since these are the columns we used to input our data. Leave FreqList blank. Scroll down to Calculate and press Enter.

Quadratic regression example on a TI-84 calculator

The following output will automatically appear:

Quadratic regression output on a TI-84 calculator

Step 3: Interpret the output.

From the results, we can see that the estimated regression equation is as follows:

happiness = -0.1012(hours)2 + 6.7444(hours) – 18.2536

We can use this equation to find the predicted happiness of an individual, given the number of hours they work per week.

For example, an individual that works 60 hours per week is predicted to have a happiness level of 22.09:

happiness = -0.1012(60)2 + 6.7444(60) – 18.2536 = 22.09

Conversely, an individual that works 30 hours perk week is predicted to have a happiness level of 92.99:

happiness = -0.1012(30)2 + 6.7444(30) – 18.2536 = 92.99

We can also see that the r-squared for the regression model is r20.9602. This is the proportion of the variance in the response variable that can be explained by the explanatory variables. In this example, 96.02% of the variation in happiness can be explained by hours and hours2.

Subscribe

- Never miss a story with notifications

- Gain full access to our premium content

- Browse free from up to 5 devices at once

Latest stories