Calculator User Manual
Appendix A: Functions and Instructions  843 
MedMed  MATH/Statistics/Regressions menu 
MedMed 
list1
, 
list2
[, [
list3
] [, 
list4
, 
list5
]] 
Calculates the median-median line and updates 
all the system statistics variables. 
All the lists must have equal dimensions except 
for 
list5
. 
list1
 represents xlist. 
list2
 represents ylist. 
list3
 represents frequency. 
list4
 represents category codes. 
list5
 represents category include list. 
Note: 
list1
 through 
list4
 must be a variable name 
or c1–c99 (columns in the last data variable 
shown in the Data/Matrix Editor). 
list5
 does not 
have to be a variable name and cannot be c1–
c99. 
In function graphing mode: 
{0,1,2,3,4,5,6}
! L1 ¸  {0 1 2 ...} 
{0,2,3,4,3,4,6}
! L2 ¸  {0 2 3 ...} 
MedMed L1,L2 ¸  Done 
ShowStat
 ¸ 
¸ 
Regeq(x)
! y1(x) ¸  Done 
NewPlot 1,1,L1,L2
 ¸  Done 
¥% 
mid()  MATH/String menu 
mid(
sourceString
, 
start
[, 
count
])  ⇒ 
string
Returns 
count
 characters from character string 
sourceString
, beginning with character number 
start
. 
If 
count
 is omitted or is greater than the 
dimension of 
sourceString
, returns all characters 
from 
sourceString
, beginning with character 
number 
start
. 
count
 must be ‚ 0. If 
count
 = 0, returns an empty 
string. 
mid("Hello there",2) ¸ 
 "ello there" 
mid("Hello there",7,3)
 ¸ 
"the" 
mid("Hello there",1,5)
 ¸ 
"Hello" 
mid("Hello there",1,0)
 ¸ 
 "" 
mid(
sourceList
, 
start
 [, 
count
])  ⇒
⇒⇒
⇒ 
list
Returns 
count
 elements from 
sourceList
, beginning 
with element number 
start
. 
If 
count
 is omitted or is greater than the 
dimension of 
sourceList
, returns all elements from 
sourceList
, beginning with element number 
start
. 
count
 must be ‚ 0. If count = 0, returns an empty 
list. 
mid({9,8,7,6},3) ¸ {7 6} 
mid({9,8,7,6},2,2)
 ¸ {8 7} 
mid({9,8,7,6},1,2)
 ¸ {9 8} 
mid({9,8,7,6},1,0)
 ¸ {} 
mid(
sourceStringList
, 
start
[, 
count
])  ⇒ 
list
Returns 
count
 strings from the list of strings 
sourceStringList
, beginning with element number 
start
. 
mid({"A","B","C","D"},2,2) ¸ 
 {"B" "C"} 










