Classic CAS manual · Chapter 12 of 16
Lists, statistics and probability
Lists in curly braces, list arithmetic, summary statistics and probability distributions.
12.1Type and use a list#
A list is a set of values in curly braces. Open it with shift{( and close with shift}), with commas between the items. Math on a list applies to every item.
Multiply a list
Type {1,2,3} × 2.
shift{(1,2,3shift})×2enter

{2,4,6}Add two lists
Type {1,2,3} + {4,5,6}.
shift{(1,2,3shift})+shift{(4,5,6shift})enter

{5,7,9}Square roots of a list
Type sqrt({4,9}).
sqrt(shift{(4,9shift}))enter

{2,3}Store a list
Store l := {1,2,3}, then take mean(l).
l:=shift{(1,2,3shift})entermean(l)enter

l:={1,2,3} 2Make a list with seq
Type seq(n², n, 1, 5).
seq(n^2▶,n,1,5)enter

{1,4,9,16,25}Running totals
Type cumulativeSum({1,2,3}).
cumulativesum(shift{(1,2,3shift}))enter

{1,3,6}Size of a list
Type dim({1,2,3}).
dim(shift{(1,2,3shift}))enter

312.2Mean, median and spread#
The Statistics menu (menu, 6) holds mean, median, stDevSamp, stDevPop, varSamp, varPop, sum, product, cumulativeSum, seq, max and min. Answers stay exact.

Mean
Type mean({1,2,3,4}).
mean(shift{(1,2,3,4shift}))enter

5/2Median
Type median({1,3,2,4}).
median(shift{(1,3,2,4shift}))enter

5/2Sample standard deviation
Type stDevSamp({1,2,3,4}).
stdevsamp(shift{(1,2,3,4shift}))enter

√15/3Population standard deviation
Type stDevPop({1,2,3,4}).
stdevpop(shift{(1,2,3,4shift}))enter

√5/2Sample variance
Type varSamp({1,2,3,4}).
varsamp(shift{(1,2,3,4shift}))enter

5/3Population variance
Type varPop({1,2,3,4}).
varpop(shift{(1,2,3,4shift}))enter

5/4Sum and product
Type product({1,2,3,4}).
product(shift{(1,2,3,4shift}))enter

24Largest value
Type max({1,5,2}).
max(shift{(1,5,2shift}))enter

5Sum with seq
Type sum(seq(n,n,1,100)).
sum(seq(n,n,1,100))enter

505012.3Normal, binomial, Poisson and t distributions#
The Probability menu (menu, 5) has the distribution functions. Arguments are separated by commas.
| Function | Arguments | Meaning |
|---|---|---|
| normCdf | lower, upper, mean, deviation | Probability between two values |
| normPdf | x, mean, deviation | Height of the bell curve |
| invNorm | area, mean, deviation | Value with that area to its left |
| binomPdf / binomCdf | n, p, k | Exactly k / at most k successes |
| poissPdf / poissCdf | mean, k | Exactly k / at most k events |
| geomPdf / geomCdf | p, k | First success on trial k / by trial k |
| tCdf | lower, upper, degrees of freedom | Probability under the t curve |
| invt | area, degrees of freedom | Inverse t |
Within one deviation
Type normCdf(−1,1,0,1).
normcdf((−)1,1,0,1)enter

0.682689Normal density at the mean
Type normPdf(0,0,1).
normpdf(0,0,1)enter

0.398942Inverse normal
Type invNorm(0.975,0,1).
invnorm(0.975,0,1)enter

1.95996Binomial exactly 5
Type binomPdf(10,0.5,5).
binompdf(10,0.5,5)enter

0.246094Binomial at most 5
Type binomCdf(10,0.5,5).
binomcdf(10,0.5,5)enter

0.623047Poisson exactly 3
Type poissPdf(3,2).
poisspdf(3,2)enter

0.224042Student t
Type tCdf(−2,2,10).
tcdf((−)2,2,10)enter

0.926612Critical t value
Type invt(0.975,5).
invt(0.975,5)enter

2.57058TI-Nspire CX CAS is a trademark of Texas Instruments Incorporated. Trident Calculator is an independent product by South View Studios and is not affiliated with, sponsored by or endorsed by Texas Instruments. The name is used only to describe the kind of calculator this model resembles; Trident's names, keys, display, fonts and software are its own clean-room design.