![Casio ClassPad II fx-CP400+E User Manual Download Page 85](http://html.mh-extra.com/html/casio/classpad-ii-fx-cp400-e/classpad-ii-fx-cp400-e_user-manual_2567997085.webp)
Chapter 2: Main Application
85
Using the Distribution/Inv.Dist Submenu
The [Distribution/Inv.Dist] submenu includes functions related to each type of statistical calculation distribution
probability. The functions on this submenu perform the same calculations as the Distribution commands that
are available in the Statistics application and the Main, eActivity, and Program applications.
For information about the numeric expressions used in calculations, see “Distributions” on page 151.
For information about the meanings of the variables used in the syntaxes of the functions presented in this
section, and the system variables that store the values obtained as calculation results, see “Input and Output
Terms” on page 154.
Specifying Arguments within the Distribution Function
You can specify either values or list data for any of the arguments within the Distribution function. The normPDf
function (page 85) syntax (normPDf(
x
,
,
)) that returns normal probability density can be used to perform the
calculations shown below. The “Number Format” setting is “Fix 2” for all calculation results.
normPDf(1, 1, 0) = 0.24
normPDf({1, 2}, 1, 0) = {0.24, 0.05}
normPDf(1, {1, 2}, 0) = {0.24, 0.18}
normPDf({1, 2},{1, 2}, 0) = {0.24, 0.12}
normPDf({1, 2},{1, 2},{1, 0}) = {0.40, 0.12}
The following explains how to specify list data in arguments and how calculation results are output.
(a) Specifying list data for a single argument
• Basically, you can specify any list you like, but the each of the elements in the list must be in accordance
with the conditions required by the argument of the function being used.
• Calculation is performed on each element within the list and results are output as shown below.
normPDf(
x
, {
1
,
2
},
)
= {<normPDf(
x
,
1
,
) calculation result>, <normPDf(
x
,
2
,
) calculation result>}
(b) Specifying list data for multiple arguments
• In this case, all of the lists must have the same number of elements. Otherwise an Invalid Dimension error
will occur.
• Calculation is performed on each element within the list and results are output as shown below.
normPDf({
x
1
,
x
2
}, {
1
,
2
},
)
= {<normPDf(
x
1
,
1
,
) calculation results>, <normPDf(
x
2
,
2
,
) calculation results>}
Assignment of List Data Calculation Results to Variables
Using the list data in the argument of the Distribution function causes calculation results to be output as list
data, which is assigned as-is to the “ans” variable.
In addition to the “ans” variable, calculations that use the Distribution function causes calculation results also
to be assigned to certain system variables. For example, the normal probability density variable returned by
normPDf is assigned to system variable
prob
. Only the last element of the list data will be assigned to a system
variable as a calculation result.
In the distribution function explanations below, the names of the functions to which calculation results are
assigned are shown under “Calculation Result Output”.
u
normPDf
[Action][Distribution/Inv.Dist][Continuous][normPDf]
Function: Returns the normal probability density for a specified value.
Syntax: normPDf(
x
[,
σ
,
μ
)]
• When
σ
and
μ
are skipped,
σ
= 1 and
μ
= 0 are used.
Calculation Result Output:
prob
Example: To determine the normal probability density when
x
= 37.5,
σ
= 2,
μ
= 35