Home » date » 2011 » Oct » 11 »

babies

*The author of this computation has been verified*
R Software Module: /rwasp_babies.wasp (opens new window with default values)
Title produced by software: Exercise 1.13
Date of computation: Tue, 11 Oct 2011 04:48:30 -0400
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2011/Oct/11/t13183230106uciu81gctrzb9r.htm/, Retrieved Tue, 21 May 2013 23:12:06 +0000
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
System-generated keywords (parent):
(pk = 0)
Estimated Impact
13
 
Output produced by software:

Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'AstonUniversity' @ aston.wessa.net


Exercise 1.13 p. 14 (Introduction to Probability, 2nd ed.)
Number of simulated days365
Expected number of births in Large Hospital45
Expected number of births in Small Hospital15
Percentage of Male births per day
(for which the probability is computed)
0.6
#Females births in Large Hospital8200
#Males births in Large Hospital8225
#Female births in Small Hospital2733
#Male births in Small Hospital2742
Probability of more than 60 % of male births in Large Hospital0.084931506849315
Probability of more than 60 % of male births in Small Hospital0.161643835616438
#Days per Year when more than 60 % of male births occur in Large Hospital31
#Days per Year when more than 60 % of male births occur in Small Hospital59
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2011/Oct/11/t13183230106uciu81gctrzb9r/16teb1318322907.png (opens in new window)
http://www.freestatistics.org/blog/date/2011/Oct/11/t13183230106uciu81gctrzb9r/16teb1318322907.ps (opens in new window)
Click here to open pdf file.


http://www.freestatistics.org/blog/date/2011/Oct/11/t13183230106uciu81gctrzb9r/2q69n1318322907.png (opens in new window)
http://www.freestatistics.org/blog/date/2011/Oct/11/t13183230106uciu81gctrzb9r/2q69n1318322907.ps (opens in new window)
Click here to open pdf file.


 
Parameters (Session):
par1 = 365 ; par2 = 45 ; par3 = 15 ; par4 = 0.6 ;
 
Parameters (R input):
par1 = 365 ; par2 = 45 ; par3 = 15 ; par4 = 0.6 ;
 
R code (references can be found in the software module):