Post Reply 
(35S) Statistical Distributions Functions
10-27-2015, 11:41 PM (This post was last modified: 10-27-2015 11:45 PM by PedroLeiva.)
Post: #18
RE: HP 35s Statistical Distributions Functions
(10-27-2015 10:29 PM)Thomas Klemm Wrote:  
(10-27-2015 05:22 PM)PedroLeiva Wrote:  the program do not stop integration!

Let's try to pin that down. Dieter already gave a hint: the accuracy in register E and the display precision should match.
But since the program I uses program C I first want to know if you get the same result for this example:

XEQ T ENTER
K?
7
R/S

XEQ C ENTER
X?
1.5
R/S
0.911351

This is just to make sure that program C works fine.

If that's okay please make sure to set FIX 3 and E = 1E-3 before running the next example.

XEQ I ENTER
X?
0.99
R/S
2.997

It should flicker about four times INTEGRATING and then display the result.

If the integration doesn't stop then please add an R/S command between lines I007 and I008 and report both the value displayed and the contents of register X (use VIEW X). Just use R/S to run the next round of the loop for a couple of times.

Hopefully this helps to find the problem.

Cheers
Thomas

PS: Thanks for posting the HP-67 programs. It's always interesting to learn something new. For instance I didn't know about the formula used to calculate the CDF of the Student's t-distribution. But then I must admit that I'm not familiar with statistics. Still I'm curious how they came up with that formula.
For routing T the value after R/S is 0.385
For routing C the value is the same as yours, 0.911351
The program did not stop integration again. After R/S adition the figures are:
1° time: x=0.878, y=3.782 E-2; variable X= 1.273
2° time: x=0.5, y=3.850 E-7; variable X= 0.001
# times: the same as 2° time
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP 35s Statistical Distributions Functions - PedroLeiva - 10-27-2015 11:41 PM



User(s) browsing this thread: 1 Guest(s)