Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_hypothesismean4.wasp
Title produced by softwareTesting Mean with known Variance - Sample Size
Date of computationTue, 07 Oct 2014 09:44:52 +0100
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/Oct/07/t1412671506j3tkjdug9ybbvnc.htm/, Retrieved Fri, 10 May 2024 13:55:47 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=239102, Retrieved Fri, 10 May 2024 13:55:47 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact261
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Testing Mean with known Variance - Sample Size] [] [2010-10-25 22:04:31] [b98453cac15ba1066b407e146608df68]
- RMP     [Testing Mean with known Variance - Sample Size] [] [2014-10-07 08:44:52] [63a9f0ea7bb98050796b649e85481845] [Current]
- RMP       [Minimum Sample Size - Testing Mean] [] [2014-10-22 08:23:22] [2b9d0c54c8c845c625e475ed5f1f3af1]
-           [Testing Mean with known Variance - Sample Size] [] [2014-10-22 10:55:59] [784816b0c716a476fc48ddde921cf7ea]
-           [Testing Mean with known Variance - Sample Size] [] [2014-10-22 11:02:02] [784816b0c716a476fc48ddde921cf7ea]
-   P       [Testing Mean with known Variance - Sample Size] [Q10] [2014-10-22 11:38:21] [673773038936aef3a5778d7e6bda5c1e]
- RMP       [Minimum Sample Size - Testing Mean] [q11] [2014-10-22 11:43:17] [673773038936aef3a5778d7e6bda5c1e]
-           [Testing Mean with known Variance - Sample Size] [] [2014-10-22 12:17:52] [40df8d8b5657a9599acc6ccced535535]
- RMP       [Minimum Sample Size - Testing Mean] [] [2014-10-22 12:18:52] [40df8d8b5657a9599acc6ccced535535]
-   P       [Testing Mean with known Variance - Sample Size] [TASK 10] [2014-10-22 13:25:51] [2ba32e9656c7c3fdddad3ba3f1588288]
-   P       [Testing Mean with known Variance - Sample Size] [] [2014-10-22 13:45:42] [d253a55552bf9917a397def3be261e30]
-           [Testing Mean with known Variance - Sample Size] [Vraag 10] [2014-10-22 13:53:27] [36781f05c04c55e165b348994b753b95]
- RM        [Minimum Sample Size - Testing Mean] [vraag 11] [2014-10-22 13:54:39] [36781f05c04c55e165b348994b753b95]
- RMP       [Minimum Sample Size - Testing Mean] [] [2014-10-22 13:54:31] [d253a55552bf9917a397def3be261e30]
- R P       [Testing Mean with known Variance - Sample Size] [] [2014-10-22 13:57:46] [c2c160edf30e228bd3a949bf24376c2c]
- RMPD      [Testing Mean with unknown Variance - Critical Value] [] [2014-10-22 14:02:28] [c2c160edf30e228bd3a949bf24376c2c]
- RMPD      [Testing Mean with unknown Variance - Critical Value] [] [2014-10-22 14:06:09] [c2c160edf30e228bd3a949bf24376c2c]
- R P       [Testing Mean with known Variance - Sample Size] [] [2014-10-22 14:09:22] [c2c160edf30e228bd3a949bf24376c2c]
- RM        [Minimum Sample Size - Testing Mean] [WS 4 Vraag 11] [2014-10-22 14:20:30] [36781f05c04c55e165b348994b753b95]
-           [Testing Mean with known Variance - Sample Size] [WS4 vraag 10] [2014-10-22 14:30:16] [36781f05c04c55e165b348994b753b95]
-  M        [Testing Mean with known Variance - Sample Size] [] [2014-10-22 14:40:47] [b2fe7fef0850359c2a41ad606a8f04c2]
-  M        [Testing Mean with known Variance - Sample Size] [] [2014-10-22 14:51:54] [ae96d02647dd9ad9c105f1fa6642e295]
- RMP       [Minimum Sample Size - Testing Mean] [] [2014-10-22 14:58:14] [ae96d02647dd9ad9c105f1fa6642e295]
-           [Testing Mean with known Variance - Sample Size] [WS4 SHW] [2014-10-22 15:09:50] [cac6c5fb035463be46c296b46e439cb5]
-   P       [Testing Mean with known Variance - Sample Size] [WS4 Q10] [2014-10-22 15:12:55] [bcf5edf18529a33bd1494456d2c6cb9a]
-   P       [Testing Mean with known Variance - Sample Size] [] [2014-10-22 16:05:23] [99723d3e379f668157309b7b2091b15d]
- RMPD        [Paired and Unpaired Two Samples Tests about the Mean] [q1] [2014-10-28 13:49:10] [673773038936aef3a5778d7e6bda5c1e]
-    D          [Paired and Unpaired Two Samples Tests about the Mean] [q2] [2014-10-28 13:53:09] [673773038936aef3a5778d7e6bda5c1e]
-    D          [Paired and Unpaired Two Samples Tests about the Mean] [q3] [2014-10-28 13:54:33] [673773038936aef3a5778d7e6bda5c1e]
-    D          [Paired and Unpaired Two Samples Tests about the Mean] [q5] [2014-10-28 13:58:30] [673773038936aef3a5778d7e6bda5c1e]
-    D          [Paired and Unpaired Two Samples Tests about the Mean] [q5] [2014-10-28 14:00:41] [673773038936aef3a5778d7e6bda5c1e]
-    D          [Paired and Unpaired Two Samples Tests about the Mean] [q5] [2014-10-28 14:01:33] [673773038936aef3a5778d7e6bda5c1e]
- RM D          [One-Way-Between-Groups ANOVA- Free Statistics Software (Calculator)] [q6] [2014-10-28 14:04:07] [673773038936aef3a5778d7e6bda5c1e]
- RM D          [One-Way-Between-Groups ANOVA- Free Statistics Software (Calculator)] [q7] [2014-10-28 14:05:51] [673773038936aef3a5778d7e6bda5c1e]
- RM D          [Two-Way ANOVA] [q8] [2014-10-28 14:10:49] [673773038936aef3a5778d7e6bda5c1e]
-   PD          [Paired and Unpaired Two Samples Tests about the Mean] [two sample t test] [2014-12-10 15:25:37] [673773038936aef3a5778d7e6bda5c1e]
-  M        [Testing Mean with known Variance - Sample Size] [] [2014-10-22 17:15:12] [1a6d42b46b3d01bc960fcfb45e99fecd]
-   P       [Testing Mean with known Variance - Sample Size] [11] [2014-10-23 08:16:36] [9378e2688aa9dcfd1390615d31e9d404]
-  M        [Testing Mean with known Variance - Sample Size] [] [2014-10-23 12:48:37] [a86b94943a9e798c2d09bb837c6a8141]
-  M        [Testing Mean with known Variance - Sample Size] [aanpassing type 2...] [2014-10-23 13:30:45] [eee95947b6243a1febfcd5f41483d733]
-           [Testing Mean with known Variance - Sample Size] [yoyo] [2014-10-23 13:50:47] [118a39334d200089014f927b57d44a19]
-  M        [Testing Mean with known Variance - Sample Size] [] [2014-10-23 14:05:49] [dd7a37d66cc3f8699a204e53c0324369]
- RMPD      [Variability] [question 8] [2014-10-23 14:34:53] [18108d1ac0353540c4304edbd3652e0f]
- RMPD      [Variability] [question 8] [2014-10-23 14:37:25] [18108d1ac0353540c4304edbd3652e0f]
-   P       [Testing Mean with known Variance - Sample Size] [Task 10 ws 4] [2014-10-23 15:26:03] [56d77bf8347cfd1e104fa9098ce46dbd]
-   P       [Testing Mean with known Variance - Sample Size] [question 10] [2014-10-23 16:28:12] [1e921ed6280e31020168fe5cd3fc7265]
-           [Testing Mean with known Variance - Sample Size] [question 10] [2014-10-23 16:36:58] [1e921ed6280e31020168fe5cd3fc7265]
-  M        [Testing Mean with known Variance - Sample Size] [Q10] [2014-10-23 16:56:07] [1651e47f7f65f3a10bbbb444d4b26be7]
-           [Testing Mean with known Variance - Sample Size] [WS4 SHW] [2014-10-23 17:09:58] [cac6c5fb035463be46c296b46e439cb5]
-  M        [Testing Mean with known Variance - Sample Size] [] [2014-10-23 17:18:21] [8d160a85bfd9526a7d0e42afc5fb569b]

[Truncated]
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=239102&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=239102&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=239102&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 Mean with known Variance
population variance13
null hypothesis about mean20
alternative hypothesis about mean21
type I error0.05
type II error0.15
sample size93.4609008392543

\begin{tabular}{lllllllll}
\hline
Testing Mean with known Variance \tabularnewline
population variance & 13 \tabularnewline
null hypothesis about mean & 20 \tabularnewline
alternative hypothesis about mean & 21 \tabularnewline
type I error & 0.05 \tabularnewline
type II error & 0.15 \tabularnewline
sample size & 93.4609008392543 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=239102&T=1

[TABLE]
[ROW][C]Testing Mean with known Variance[/C][/ROW]
[ROW][C]population variance[/C][C]13[/C][/ROW]
[ROW][C]null hypothesis about mean[/C][C]20[/C][/ROW]
[ROW][C]alternative hypothesis about mean[/C][C]21[/C][/ROW]
[ROW][C]type I error[/C][C]0.05[/C][/ROW]
[ROW][C]type II error[/C][C]0.15[/C][/ROW]
[ROW][C]sample size[/C][C]93.4609008392543[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=239102&T=1

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

As an alternative you can also use a QR Code:  

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

Testing Mean with known Variance
population variance13
null hypothesis about mean20
alternative hypothesis about mean21
type I error0.05
type II error0.15
sample size93.4609008392543



Parameters (Session):
par1 = 0.95 ; par2 = 20 ;
Parameters (R input):
par1 = 13 ; par2 = 20 ; par3 = 21 ; par4 = 0.05 ; par5 = 0.15 ;
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)
par5<-as.numeric(par5)
c <- 'NA'
csn <- abs(qnorm(par5))
if (par2 == par3)
{
conclusion <- 'Error: the null hypothesis and alternative hypothesis must not be equal.'
}
ua <- abs(qnorm(par4))
ub <- qnorm(par5)
c <- (par2+ua/ub*(-par3))/(1-(ua/ub))
sqrtn <- ua*sqrt(par1)/(c - par2)
samplesize <- sqrtn * sqrtn
ua
ub
c
sqrtn
samplesize
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,hyperlink('ht_mean_knownvar.htm','Testing Mean with known Variance','learn more about Statistical Hypothesis Testing about the Mean when the Variance is known'),2,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'population variance',header=TRUE)
a<-table.element(a,par1)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'null hypothesis about mean',header=TRUE)
a<-table.element(a,par2)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'alternative hypothesis about mean',header=TRUE)
a<-table.element(a,par3)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'type I error',header=TRUE)
a<-table.element(a,par4)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'type II error',header=TRUE)
a<-table.element(a,par5)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,hyperlink('ht_mean_knownvar.htm#ex4','sample size','example'),header=TRUE)
a<-table.element(a,samplesize)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable.tab')