The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
5-Number Summary Calculation for the HP 42s
10-23-2024, 10:11 PM (This post was last modified: 10-24-2024 02:52 AM by cylurian.)
Post: #1
5-Number Summary Calculation for the HP 42s
Can someone help me with programming the 5-number summary for the HP 42s.

I'm working on two programs to calculate the 5-number summary using both the "Exclusive" and "Inclusive" methods. Usually, the TI calculators do the Exclusive method - meaning that they don't use the median to calculator Q1 or Q3. Here's a breakdown of what could happen.

Program 1: Exclusive Method
1. Create an nx1 matrix.
2. Sort the matrix in ascending order.
3. Identify the minimum and maximum values from the sorted matrix.
4. Determine if the dataset has an odd or even number of elements using a modulo operation.
5. Find the Median and Store it in M
6. Calculate Q1 and Q3:
- If the dataset is odd, exclude the median when dividing the data for Q1 and Q3.
7. Display the five-number summary: Min, Q1, Median, Q3, Max.

Program 2: Inclusive Method
1. Create an nx1 matrix.
2. Sort the matrix in ascending order.
3. Identify the minimum and maximum values from the sorted matrix.
4. Determine if the dataset has an odd or even number of elements using a modulo operation.
5. Find the Median
6. Calculate Q1 and Q3:
- If the dataset is odd, include the median when dividing the data for Q1 and Q3.
7. Display the five-number summary: Min, Q1, Median, Q3, Max.

Any guidance on how to implement this on an HP 42S calculator would be greatly appreciated!
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
5-Number Summary Calculation for the HP 42s - cylurian - 10-23-2024 10:11 PM



User(s) browsing this thread: 5 Guest(s)