Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_hypothesisprop2.wasp
Title produced by softwareTesting Population Proportion - P-Value
Date of computationTue, 25 Mar 2014 14:25:48 -0400
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2014/Mar/25/t1395772473k1vtc9bp2ag905n.htm/, Retrieved Tue, 14 May 2024 12:50:56 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=234358, Retrieved Tue, 14 May 2024 12:50:56 +0000
QR Codes:

Original text written by user:This is a z test to determine whether the prosecution using 4 of its first 5 peremptory challenge to strike African-American prospective jurors was statistically significant. The 80% strike rate is compared to the 31% of the jury pool estimated to be African American at the Criminal Courts Building in Los Angeles in the 1990s.
IsPrivate?No (this computation is public)
User-defined keywordsBatson, Wheeler, peremptory challenges, peremptory strikes, peremptories, racial discrimination, jury selection
Estimated Impact186
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Testing Population Proportion - P-Value] [Statistical Signi...] [2014-03-25 18:25:48] [d41d8cd98f00b204e9800998ecf8427e] [Current]
- R       [Testing Population Proportion - P-Value] [Test of statistic...] [2014-03-25 22:34:19] [74be16979710d4c4e7c6647856088456]
Feedback Forum

Post a new message




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time0 seconds
R Server'Herman Ole Andreas Wold' @ wold.wessa.net

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 0 seconds \tabularnewline
R Server & 'Herman Ole Andreas Wold' @ wold.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=234358&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]0 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Herman Ole Andreas Wold' @ wold.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=234358&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=234358&T=0

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time0 seconds
R Server'Herman Ole Andreas Wold' @ wold.wessa.net







Testing Population Proportion (normal approximation)
Sample size5
Sample proportion0.8
Null hypothesis0.31
Type I error (alpha)0.05
p-value (1-sided)0.00891672874842037

\begin{tabular}{lllllllll}
\hline
Testing Population Proportion (normal approximation) \tabularnewline
Sample size & 5 \tabularnewline
Sample proportion & 0.8 \tabularnewline
Null hypothesis & 0.31 \tabularnewline
Type I error (alpha) & 0.05 \tabularnewline
p-value (1-sided) & 0.00891672874842037 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=234358&T=1

[TABLE]
[ROW][C]Testing Population Proportion (normal approximation)[/C][/ROW]
[ROW][C]Sample size[/C][C]5[/C][/ROW]
[ROW][C]Sample proportion[/C][C]0.8[/C][/ROW]
[ROW][C]Null hypothesis[/C][C]0.31[/C][/ROW]
[ROW][C]Type I error (alpha)[/C][C]0.05[/C][/ROW]
[ROW][C]p-value (1-sided)[/C][C]0.00891672874842037[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=234358&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=234358&T=1

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Testing Population Proportion (normal approximation)
Sample size5
Sample proportion0.8
Null hypothesis0.31
Type I error (alpha)0.05
p-value (1-sided)0.00891672874842037



Parameters (Session):
par1 = 5 ; par2 = .8 ; par3 = 0.31 ; par4 = 0.05 ;
Parameters (R input):
par1 = 5 ; par2 = .8 ; par3 = 0.31 ; par4 = 0.05 ;
R code (references can be found in the software module):
par1 <- as.numeric(par1)
par2 <- as.numeric(par2)
par3 <- as.numeric(par3)
par4 <- as.numeric(par4)
u <- (par2 - par3) / sqrt(par3 * (1-par3) / par1)
pu <- pnorm(-abs(u))
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Testing Population Proportion (normal approximation)',2,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Sample size',header=TRUE)
a<-table.element(a,par1)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Sample proportion',header=TRUE)
a<-table.element(a,par2)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Null hypothesis',header=TRUE)
a<-table.element(a,par3)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Type I error (alpha)',header=TRUE)
a<-table.element(a,par4)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'p-value (1-sided)',header=TRUE)
a<-table.element(a,pu)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable.tab')