s-news
[Top] [All Lists]

heads or tails

To: <s-news@lists.biostat.wustl.edu>
Subject: heads or tails
From: Gianfranco MASTRACCHIO <gianfranco.mastracchio@st.com>
Date: Thu, 9 Mar 2006 16:37:03 +0100
Importance: Normal
Mind, this may be a basic question...
I have an long numeric vector of 0 and 1 (let's say with length 1000).
Is there a built-in function giving the confidence it comes out by chance, as 
calling heads or tails with a coin 1000 times?
Obviously the number of 0 must be very close to that of 1, but how to give a 
confidence on the specific order..?
Thank you for you help

S+ on Win XP, 6.2
Gianfranco Mastracchio
STMicroelectronics 
Agrate


<Prev in Thread] Current Thread [Next in Thread>
  • heads or tails, Gianfranco MASTRACCHIO <=