Texas Instruments TINSPIRE Reference Guide - Page 109

Request, Computes the Student

Page 109 highlights

tCdf() tCdf(lowBound,upBound,df) ⇒ number if lowBound and upBound are numbers, list if lowBound and upBound are lists Computes the Student-t distribution probability between lowBound and upBound for the specified degrees of freedom df. For P(X { upBound), set lowBound = .9E999. Catalog > Text Catalog > Text promptString [, DispFlag] Programming command: Pauses the program and displays the character string promptString in a dialog box. When the user selects OK, program execution continues. The optional flag argument can be any expression. • If DispFlag is omitted or evaluates to 1, the text message is added to the Calculator history. • If DispFlag evaluates to 0, the text message is not added to the history. If the program needs a typed response from the user, refer to Request, page 83, or RequestStr, page 84. Note: You can use this command within a user-defined program but not within a function. Define a program that pauses to display each of five random numbers in a dialog box. Within the Prgm...EndPrgm template, complete each line by @ · pressing instead of . On the computer keyboard, hold down Alt and press Enter. Define text_demo()=Prgm For i,1,5 strinfo:="Random number " & string(rand(i)) Text strinfo Next EndPrgm Run the program: text_demo() Sample of one dialog box: Then See If, page 45. tInterval tInterval List[,Freq[,CLevel]] (Data list input) tInterval v,sx,n[,CLevel] (Summary stats input) Computes a t confidence interval. A summary of results is stored in the stat.results variable. (See page 97.) For information on the effect of empty elements in a list, see "Empty (void) elements" on page 131. Catalog > Output variable Description stat.CLower, stat.CUpper Confidence interval for an unknown population mean stat.x Sample mean of the data sequence from the normal random distribution stat.ME Margin of error stat.df Degrees of freedom stat.sx Sample standard deviation TI-Nspire™ Reference Guide 103

  • 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
103
tCdf()
Catalog >
tCdf(
lowBound
,
upBound
,
df
)
number
if
lowBound
and
upBound
are numbers,
list
if
lowBound
and
upBound
are lists
Computes the Student-
t
distribution probability between
lowBound
and
upBound
for the specified degrees of freedom
df
.
For P(X
{
upBound
), set
lowBound
=
.
9
E
999.
Text
Catalog >
Text
promptString
[
,
DispFlag
]
Programming command: Pauses the program and displays the
character string
promptString
in a dialog box.
When the user selects
OK
, program execution continues.
The optional
flag
argument can be any expression.
If
DispFlag
is omitted or evaluates to
1
, the text message is
added to the Calculator history.
If
DispFlag
evaluates to
0
, the text message is not added to the
history.
If the program needs a typed response from the user, refer to
Request
, page 83, or
RequestStr
, page 84.
Note:
You can use this command within a user-defined program but
not within a function.
Define a program that pauses to display each of five random
numbers in a dialog box.
Within the Prgm...EndPrgm template, complete each line by
pressing
@
instead of
·
. On the computer keyboard,
hold down
Alt
and press
Enter
.
Define text_demo()=Prgm
For i,1,5
strinfo:=”Random number “ & string(rand(i))
Text strinfo
Next
EndPrgm
Run the program:
text_demo()
Sample of one dialog box:
Then
See
If,
page
45
.
tInterval
Catalog >
tInterval
List
[
,
Freq
[
,
CLevel
]]
(Data list input)
tInterval
v
,
sx
,
n
[
,
CLevel
]
(Summary stats input)
Computes a
t
confidence interval. A summary of results is stored in
the
stat.results
variable. (See page 97.)
For information on the effect of empty elements in a list, see “Empty
(void) elements” on page 131.
Output variable
Description
stat.CLower, stat.CUpper
Confidence interval for an unknown population mean
stat.
x
Sample mean of the data sequence from the normal random distribution
stat.ME
Margin of error
stat.df
Degrees of freedom
stat.
s
x
Sample standard deviation