 |
|
List Archives > 
Mathcad List Archive > 
Archive by date > 
This Month By Date > 
This Month By Topic
[mathcad] RE: rgeom mistake?
| [mathcad] RE: rgeom mistake? |
|
Author: Oakley, Philip SELEX UK
Posted: Wed, 11 Jan 2006 16:48:49 +0000
|
Have you checked your zero tolerance? try multiplying the result by 10^300 (or suitable large number) to see if it just 'very small'
Philip
From: Marc Artzrouni "mailto:marc.artzrouni"
Sent: 11 January 2006 15:26
To: Mathcad Discussion List
Subject: [mathcad] rgeom mistake?
*** WARNING ***
This mail has originated outside your organization,
either from an external partner or the Global Internet.
Keep this in mind if you answer this message.
Hi:
When using rgeom to simulate the geometric random variable G I have values of 0 - which isn't possible for the "trial number
on which the first success occurs". The Help file (and my 2001i manual) have p(1-p)^k for the probability
of G=k. An exponent k explains why G can indeed by 0 - however every probability textbook I check
tells me the exponent is k-1, not k, with a smallest possible value of G equal to 1 and not 0.
Can anyone confirm that this is a mistake, and let me know whether it's been fixed in
more recent versions ?
Many thanks
Marc Artzrouni
Marc Artzrouni
Département de Mathématiques (IPRA)
Université de Pau - BP 1155
64013 Pau Cedex
FRANCE
Home page/page perso:
http://www.univ-pau.fr/~artzroun/
**********************************
tel: + 33 - (0)5 59 40 75 50
fax: + 33 - (0)5 59 40 75 55
e-mail: "marc.artzrouni"
**********************************
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************
|
[View Complete Thread]
Previous by date: [mathcad] RE: Mathcad 13 and C_Dilla, Jan Theodore Galkowski
Next by date: [mathcad] RE: Mathcad 13 and C_Dilla, Oakley, Philip SELEX UK
Previous thread: [mathcad] RE: Mathcad 13 and C_Dilla, Oakley, Philip SELEX UK
Next thread: [mathcad] RE: Mathcad 13 and C_Dilla, Oakley, Philip SELEX UK
|
|
|