Assembly Language Programming: Inferential Statistics and Distribution Functions
33
DRAW (Distribution Shading) Functions
STAT DRAW (Inferential Statistics Draw) Menu
-
Œ
/
'
(
TESTS
DISTR
DRAW
FUNC
Uninst
4
RsltOn
RsltOf
ShdN
Shdt
ShdChi
ShdF
4
Instruction
Function
ShdN
Shades normal distribution
Shdt
Shades Student-
t
distribution
ShdChi
Shades
c
2
distribution
ShdF
Shades
Û
distribution
DRAW
instructions draw various types of density functions, shade the area
specified by
lowerbound
and
upperbound
, and display the computed area value.
Before you execute a
DRAW
instruction:
¦
Set the window variables so the desired distribution fits the screen.
¦
Turn off the y= functions.
To clear the drawings, select
CLDRW
from the
GRAPH DRAW
menu.
To remove the menu from a drawing, press
:
.
ShdN
Draws the normal density function specified by mean
m
and standard deviation
s
and shades the area between
lowerbound
and
upperbound
. The defaults are
m
=0
and
s
=1.
ShdN(
lowerbound
,
upperbound
[
,
m
,
s
]
)
Note: For this example,
xMin = 55
xMax = 72
xScl = 1
yMin =
L
.05
yMax = .2
yScl = 1
xRes = 1
Shdt
Draws the density function for the Student-
t
distribution specified by
df
(degrees
of freedom) and shades the area between
lowerbound
and
upperbound
.
Shdt(
lowerbound
,
upperbound
,
df
)
Note: For this example,
xMin =
L
3
xMax = 3
xScl = 1
yMin =
L
.15
yMax = .5
yScl = 1
xRes = 1