Texas Instruments NS/CLM/1L1/B Reference Guide - Page 19

Catalog &gt, Output variable, Description, clearAZ, ClrErr - 84

Page 19 highlights

c2GOF c2GOF obsList,expList,df chi2GOF obsList,expList,df Performs a test to confirm that sample data is from a population that conforms to a specified distribution. A summary of results is stored in the stat.results variable. (See page 76.) Output variable stat.c2 stat.PVal stat.df stat.CompList Description Chi square stat: sum((observed - expected)2/expected Least probability at which the null hypothesis can be rejected. Degrees of freedom for the chi square statistics. Elemental chi square statistic contributions. c2Pdf() c2Pdf(XVal,df) ⇒ number if XVal is a number, list if XVal is a list chi2Pdf(XVal,df) ⇒ number if XVal is a number, list if XVal is a list Computes the probability density function (pdf) for the c2 distribution at a specified XVal value for the specified degrees of freedom df. clearAZ clearAZ Clears all single-character variables in the current problem space. Catalog > Catalog > Catalog > ClrErr Catalog > ClrErr Clears the error status and sets system variable errCode to zero. For an example of ClrErr, See Example 2 under the Try command, page 84. The Else clause of the Try...Else...EndTry block should use ClrErr or PassErr. If the error is to be processed or ignored, use ClrErr. If what to do with the error is not known, use PassErr to send it to the next error handler. If there are no more pending Try...Else...EndTry error handlers, the error dialog box will be displayed as normal. Note: See also PassErr, page 58, and Try, page 84. Note for entering the example: In the Calculator application on the handheld, you can enter multi-line definitions by pressing @ · instead of at the end of each line. On the computer keyboard, hold down Alt and press Enter. TI-Nspire™ Reference Guide 13

  • 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

TI-Nspire™ Reference Guide
13
c
2
GOF
Catalog >
c
2
GOF
obsList
,
expList
,
df
chi2GOF
obsList
,
expList
,
df
Performs a test to confirm that sample data is from a population that
conforms to a specified distribution. A summary of results is stored in
the
stat.results
variable. (See page 76.)
Output variable
Description
stat.
c
2
Chi square stat: sum((observed - expected)
2
/expected
stat.PVal
Least probability at which the null hypothesis can be rejected.
stat.df
Degrees of freedom for the chi square statistics.
stat.CompList
Elemental chi square statistic contributions.
c
2
Pdf()
Catalog >
c
2
Pdf(
XVal
,
df
)
number
if
XVal
is a number,
list
if
XVal
is a
list
chi2Pdf(
XVal
,
df
)
number
if
XVal
is a number,
list
if
XVal
is
a list
Computes the probability density function (pdf) for the
c
2
distribution
at a specified
XVal
value for the specified degrees of freedom
df
.
clearAZ
Catalog >
clearAZ
Clears all single-character variables in the current problem space.
ClrErr
Catalog >
ClrErr
Clears the error status and sets system variable
errCode
to zero.
The
Else
clause of the
Try...Else...EndTry
block should use
ClrErr
or
PassErr
. If the error is to be processed or ignored, use
ClrErr
. If
what to do with the error is not known, use
PassErr
to send it to the
next error handler. If there are no more pending
Try...Else...EndTry
error handlers, the error dialog box will be displayed as normal.
Note:
See also
PassErr
, page 58, and
Try
, page 84.
Note for entering the example:
In the Calculator application
on the handheld, you can enter multi-line definitions by pressing
@
instead of
·
at the end of each line. On the computer
keyboard, hold down
Alt
and press
Enter
.
For an example of
ClrErr
, See Example 2 under the
Try
command, page 84.