Assembly Language Programming: Inferential Statistics and Distribution Functions
30
chipdf
Computes the probability density function (pdf) for the
c
2
(chi-square)
distribution at a specified
x
value.
df
(degrees of freedom) must be an integer > 0.
To plot the
c
2
distribution, paste
chipdf
to the y= editor. The pdf is:
f x
df
x
e
x
df
df
x
( )
(
)
(1 / 2)
=
≥
−
−
1
2
0
2
2
1
2
Γ
/
,
/
/
/
chipdf(
x
,
df
)
Note: For this example,
xMin = 0
xMax = 30
xScl = 1
yMin =
L
.02
yMax = .132
yScl = 1
xRes = 1
chicdf
Computes the
c
2
(chi-square) distribution probability between
lowerbound
and
upperbound
for the specified
df
(degrees of freedom), which must be an
integer > 0.
chicdf(
lowerbound
,
upperbound
,
df
)
Ü
Computes the probability density function (pdf) for the
Û
distribution at a
specified
x
value.
numerator df
(degrees of freedom) and
denominator df
must
be integers > 0. To plot the
Û
distribution, paste
Ü
to the
y=
editor. The
is:
f x
n
d
n
d
n
d
x
nx d
x
n
n
n
d
( )
[(
)
]
(
) (
)
(
)
(
)
=
+
+
≥
−
−
+
Γ
Γ
Γ
/
/
/
/
,
/
/
/
2
2
2
1
0
2
2
1
2
where
n
= numerator degrees of freedom
d
= denominator degrees of freedom
Ü
pdf(
x
,
numerator df
,
denominator df
)
Note: For this example,
xMin = 0
xMax = 5
xScl = 1
yMin = 0
yMax = 1
y Scl = 1
xRes = 1