Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_hypothesismean5.wasp
Title produced by softwareTesting Population Mean with known Variance - Confidence Interval
Date of computationTue, 25 Oct 2011 14:48:23 -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/2011/Oct/25/t1319568583b5o08be2d3rp282.htm/, Retrieved Thu, 16 May 2024 09:34:30 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=136091, Retrieved Thu, 16 May 2024 09:34:30 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact85
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] [] [2011-10-25 07:44:16] [c53df38315e3cbde2dbe0de809195ef2]
- RMPD  [Testing Mean with unknown Variance - Critical Value] [] [2011-10-25 18:35:07] [c53df38315e3cbde2dbe0de809195ef2]
- RMPD      [Testing Population Mean with known Variance - Confidence Interval] [] [2011-10-25 18:48:23] [ff205c8f94ca61ac7cf7eb30cad83105] [Current]
- R           [Testing Population Mean with known Variance - Confidence Interval] [] [2011-10-25 18:51:28] [c53df38315e3cbde2dbe0de809195ef2]
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'Gwilym Jenkins' @ jenkins.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 & 'Gwilym Jenkins' @ jenkins.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=136091&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]'Gwilym Jenkins' @ jenkins.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=136091&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=136091&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'Gwilym Jenkins' @ jenkins.wessa.net







Testing Population Mean with known Variance
Population variance0.13
Sample size98
Sample mean20
Confidence interval0.65
Type of IntervalLeft tailRight tail
Two-sided confidence interval at 0.6519.965960792625920.0340392073741
Left one-sided confidence interval at 0.6519.9859660244486+inf
Right one-sided confidence interval at 0.65-inf20.0140339755514
more information about confidence interval

\begin{tabular}{lllllllll}
\hline
Testing Population Mean with known Variance \tabularnewline
Population variance & 0.13 \tabularnewline
Sample size & 98 \tabularnewline
Sample mean & 20 \tabularnewline
Confidence interval & 0.65 \tabularnewline
Type of Interval & Left tail & Right tail \tabularnewline
Two-sided confidence interval at  0.65 & 19.9659607926259 & 20.0340392073741 \tabularnewline
Left one-sided confidence interval at  0.65 & 19.9859660244486 & +inf \tabularnewline
Right one-sided confidence interval at  0.65 & -inf & 20.0140339755514 \tabularnewline
more information about confidence interval \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=136091&T=1

[TABLE]
[ROW][C]Testing Population Mean with known Variance[/C][/ROW]
[ROW][C]Population variance[/C][C]0.13[/C][/ROW]
[ROW][C]Sample size[/C][C]98[/C][/ROW]
[ROW][C]Sample mean[/C][C]20[/C][/ROW]
[ROW][C]Confidence interval[/C][C]0.65[/C][/ROW]
[ROW][C]Type of Interval[/C][C]Left tail[/C][C]Right tail[/C][/ROW]
[ROW][C]Two-sided confidence interval at  0.65[/C][C]19.9659607926259[/C][C]20.0340392073741[/C][/ROW]
[ROW][C]Left one-sided confidence interval at  0.65[/C][C]19.9859660244486[/C][C]+inf[/C][/ROW]
[ROW][C]Right one-sided confidence interval at  0.65[/C][C]-inf[/C][C]20.0140339755514[/C][/ROW]
[ROW][C]more information about confidence interval[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=136091&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=136091&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 Mean with known Variance
Population variance0.13
Sample size98
Sample mean20
Confidence interval0.65
Type of IntervalLeft tailRight tail
Two-sided confidence interval at 0.6519.965960792625920.0340392073741
Left one-sided confidence interval at 0.6519.9859660244486+inf
Right one-sided confidence interval at 0.65-inf20.0140339755514
more information about confidence interval



Parameters (Session):
par1 = 0.02 ; par2 = 20 ;
Parameters (R input):
par1 = 0.13 ; par2 = 98 ; par3 = 20 ; par4 = 0.65 ;
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)
sigma <- sqrt(par1)
sqrtn <- sqrt(par2)
ua <- par3 - abs(qnorm((1-par4)/2))* sigma / sqrtn
ub <- par3 + abs(qnorm((1-par4)/2))* sigma / sqrtn
ua
ub
ul <- par3 - qnorm(par4) * sigma / sqrtn
ul
ur <- par3 + qnorm(par4) * sigma / sqrtn
ur
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,hyperlink('ht_mean_knownvar.htm','Testing Population Mean with known Variance','learn more about Statistical Hypothesis Testing about the Mean when the Variance is known'),3,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Population variance',header=TRUE)
a<-table.element(a,par1,2)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Sample size',header=TRUE)
a<-table.element(a,par2,2)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Sample mean',header=TRUE)
a<-table.element(a,par3,2)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Confidence interval',header=TRUE)
a<-table.element(a,par4,2)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Type of Interval',header=TRUE)
a<-table.element(a,'Left tail',header=TRUE)
a<-table.element(a,'Right tail',header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,paste('Two-sided confidence interval at ',par4), header=TRUE)
a<-table.element(a,ua)
a<-table.element(a,ub)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,paste('Left one-sided confidence interval at ',par4), header=TRUE)
a<-table.element(a,ul)
a<-table.element(a,'+inf')
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,paste('Right one-sided confidence interval at ',par4), header=TRUE)
a<-table.element(a,'-inf')
a<-table.element(a,ur)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, hyperlink('ht_mean_knownvar.htm#ex5', 'more information about confidence interval','example'),3,TRUE)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable.tab')