Texas Instruments TINSPIRE Reference Guide - Page 45

freqTable@>list, List1, freqIntegerList, binsList, Datalist, Freq1, Hypoth, stat.results

Page 45 highlights

freqTable4list( ) freqTable4list(List1,freqIntegerList) ⇒ list Returns a list containing the elements from List1 expanded according to the frequencies in freqIntegerList. This function can be used for building a frequency table for the Data & Statistics application. List1 can be any valid list. freqIntegerList must have the same dimension as List1 and must contain non-negative integer elements only. Each element specifies the number of times the corresponding List1 element will be repeated in the result list. A value of zero excludes the corresponding List1 element. Note: You can insert this function from the computer keyboard by typing freqTable@>list(...). Empty (void) elements are ignored. For more information on empty elements, see page 131. Catalog > frequency( ) Catalog > frequency(List1,binsList) ⇒ list Returns a list containing counts of the elements in List1. The counts are based on ranges (bins) that you define in binsList. If binsList is {b(1), b(2), ..., b(n)}, the specified ranges are {?{b(1), b(1)

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164

TI-Nspire™ Reference Guide
39
freqTable
4
list()
Catalog >
freqTable
4
list(
List1
,
freqIntegerList
)
list
Returns a list containing the elements from
List1
expanded according
to the frequencies in
freqIntegerList
. This function can be used for
building a frequency table for the Data & Statistics application.
List1
can be any valid list.
freqIntegerList
must have the same dimension as
List1
and must
contain non-negative integer elements only. Each element specifies
the number of times the corresponding
List1
element will be
repeated in the result list. A value of zero excludes the corresponding
List1
element.
Note:
You can insert this function from the computer keyboard by
typing
freqTable@>list(
...
)
.
Empty (void) elements are ignored. For more information on empty
elements, see page 131.
frequency()
Catalog >
frequency(
List1,binsList
)
list
Returns a list containing counts of the elements in
List1
. The counts
are based on ranges (bins) that you define in
binsList
.
If
binsList
is {b(1), b(2), …, b(n)}, the specified ranges are {
?
{
b(1),
b(1)<
?
{
b(2),…,b(n-1)<
?
{
b(n), b(n)>
?
}. The resulting list is one
element longer than
binsList
.
Each element of the result corresponds to the number of elements
from
List1
that are in the range of that bin. Expressed in terms of the
countIf()
function, the result is { countIf(list,
?
{
b(1)),
countIf(list,
b(1)<
?
{
b(2)), …, countIf(list, b(n-1)<
?
{
b(n)), countIf(list, b(n)>
?
)}.
Elements of
List1
that cannot be “placed in a bin” are ignored.
Empty (void) elements are also ignored. For more information on
empty elements, see page 131.
Within the Lists & Spreadsheet application, you can use a range of
cells in place of both arguments.
Note:
See also
countIf()
, page 23.
Explanation of result:
2
elements from
Datalist
are
{
2.5
4
elements from
Datalist
are >2.5 and
{
4.5
3
elements from
Datalist
are >4.5
The element “hello” is a string and cannot be placed in any of
the defined bins.
F
Test_2Samp
Catalog >
F
Test_2Samp
List1
,
List2
[
,
Freq1
[
,
Freq2
[
,
Hypoth
]]]
FTest_2Samp
List1
,
List2
[
,
Freq1
[
,
Freq2
[
,
Hypoth
]]]
(Data list input)
F
Test_2Samp
sx1
,
n1
,
sx2
,
n2
[
,
Hypoth
]
FTest_2Samp
sx1
,
n1
,
sx2
,
n2
[
,
Hypoth
]
(Summary stats input)
Performs a two-sample
F
test. A summary of results is stored in the
stat.results
variable. (See page 97.)
For H
a
:
s
1 >
s
2, set
Hypoth
>0
For H
a
:
s
1
ƒ
s
2 (default), set
Hypoth
=0
For H
a
:
s
1 <
s
2, set
Hypoth
<0
For information on the effect of empty elements in a list, see “Empty
(void) elements” on page 131.