16–12 Statistics Programs
Program Listing:
Program Lines:
(In RPN mode)
Description
This routine initializes the normal distribution program.
Stores default value for mean.
!
"!
Prompts for and stores mean, M.
Stores default value for standard deviation.
!
"!
Prompts for and stores standard deviation, S.
!
Stops displaying value of standard deviation.
Checksum and length: D72F 48
This routine calculates Q(X) given X.
"! %
Prompts for and stores X.
%
Calculates upper tail area.
!
Stores value in Q so VIEW function can display it.
#$
Displays Q(X).
!
Loops to calculate another Q(X).
Checksum and length: EA54 18
This routine calculates X given Q(X).
"!
Prompts for and stores Q(X).
Recalls the mean.
! %
Stores the mean as the guess for X, called X
guess
.
Checksum and length: 79B9 12
! !
This label defines the start of the iterative loop.
! %
Calculates (Q( X
guess
)– Q(X)).
! .
! %
! !
!
¶
! %
Calculates the derivative at X
guess
.
! ª !
! ª
Calculates the correction for X
guess
.