Statistics Programs 16-13
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: 70BF 26
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: 042A 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: A970 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
.