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 computationThu, 13 Nov 2008 07:56:36 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2008/Nov/13/t1226588229oq20qtip2v8i0nd.htm/, Retrieved Mon, 20 May 2024 11:45:03 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=24638, Retrieved Mon, 20 May 2024 11:45:03 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact138
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
F     [Box-Cox Linearity Plot] [question 3 box-co...] [2008-11-12 15:13:33] [31c9f333c18b3396ccf9d2485dd39c8a]
F RMPD  [Maximum-likelihood Fitting - Normal Distribution] [question 5] [2008-11-12 15:49:20] [31c9f333c18b3396ccf9d2485dd39c8a]
F RMPD      [Testing Population Mean with known Variance - Confidence Interval] [question 5] [2008-11-13 14:56:36] [490fee4f334e2e025c95681783e3fd0b] [Current]
Feedback Forum
2008-11-22 15:41:29 [6066575aa30c0611e452e930b1dff53d] [reply
Ook hier is de ouput produced by software verkeerd. De populatie variantie moet gelijk zijn aan 0.012. De sample mean moet gelijk zijn aan 0.1546. Verder heeft hij hier wel de juiste tabel gebruikt. De conclusie is verkeerd. We gebruiken hier enkel de right one-sided confidence interval at 0.95 omdat enkel deze de afwijking van het vetpercentage naar boven toe geeft en dit een economisch voordeel kan betekenen voor de producent. Het werkelijke vetpercentage ligt dus tussen min oneindig en 18,93%. Bovendien ligt 15,46% tussen min oneindig en 18,93%.
2008-11-22 19:07:26 [c00776cbed2786c9c4960950021bd861] [reply
Er werden weer verkeerde cijfers gebruikt in de berekening: dit is de juiste tabel:
Population variance 0.012
Sample size 27
Sample mean 0.1546
Confidence interval 0.95
Type of Interval Left tail Right tail
Two-sided confidence interval at 0.95 0.113280331179696 0.195919668820304
Left one-sided confidence interval at 0.95 0.119923440808296 +inf
Right one-sided confidence interval at 0.95 -inf 0.189276559191704

We gebruiken hier de right one-sided confidence interval omdat we enkel fraude kunnen hebben van te veel vet. De sample mean ligt dus perfect in het betrouwbaarheidsinterval.
het gaat hier ook om een vermoeden van fraude dus gebruiken we zeker geen 2-sided betrouwbaarheidsinterval.
2008-11-24 15:51:49 [4679c4d03f1d346a85e79d87ba60ec2b] [reply
Goede methode hier maar weer verkeerde gegevens. Ook hier population variance, sample mean verkeerd ingegeven waardoor ook hier een andere uitkomst gegenereerd word. Er moet gebruik gemaakt worden van de one-sided confindence interval van de rechter staart omdat de foutmarge van 5% bij de rechterkant hoort en omdat enkel de afwijking van het vetpercentage naar boven toe belangrijk is aangezien die een voordeel kan betekenen voor de producent.

Post a new message




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'George Udny Yule' @ 72.249.76.132

\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 & 1 seconds \tabularnewline
R Server & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=24638&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]1 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=24638&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=24638&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 time1 seconds
R Server'George Udny Yule' @ 72.249.76.132







Testing Population Mean with known Variance
Population variance1.2
Sample size27
Sample mean15.46
Confidence interval0.95
Type of IntervalLeft tailRight tail
Two-sided confidence interval at 0.9515.046803311797015.8731966882030
Left one-sided confidence interval at 0.9515.1132344080830+inf
Right one-sided confidence interval at 0.95-inf15.8067655919170
more information about confidence interval

\begin{tabular}{lllllllll}
\hline
Testing Population Mean with known Variance \tabularnewline
Population variance & 1.2 \tabularnewline
Sample size & 27 \tabularnewline
Sample mean & 15.46 \tabularnewline
Confidence interval & 0.95 \tabularnewline
Type of Interval & Left tail & Right tail \tabularnewline
Two-sided confidence interval at  0.95 & 15.0468033117970 & 15.8731966882030 \tabularnewline
Left one-sided confidence interval at  0.95 & 15.1132344080830 & +inf \tabularnewline
Right one-sided confidence interval at  0.95 & -inf & 15.8067655919170 \tabularnewline
more information about confidence interval \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=24638&T=1

[TABLE]
[ROW][C]Testing Population Mean with known Variance[/C][/ROW]
[ROW][C]Population variance[/C][C]1.2[/C][/ROW]
[ROW][C]Sample size[/C][C]27[/C][/ROW]
[ROW][C]Sample mean[/C][C]15.46[/C][/ROW]
[ROW][C]Confidence interval[/C][C]0.95[/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.95[/C][C]15.0468033117970[/C][C]15.8731966882030[/C][/ROW]
[ROW][C]Left one-sided confidence interval at  0.95[/C][C]15.1132344080830[/C][C]+inf[/C][/ROW]
[ROW][C]Right one-sided confidence interval at  0.95[/C][C]-inf[/C][C]15.8067655919170[/C][/ROW]
[ROW][C]more information about confidence interval[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=24638&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=24638&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 variance1.2
Sample size27
Sample mean15.46
Confidence interval0.95
Type of IntervalLeft tailRight tail
Two-sided confidence interval at 0.9515.046803311797015.8731966882030
Left one-sided confidence interval at 0.9515.1132344080830+inf
Right one-sided confidence interval at 0.95-inf15.8067655919170
more information about confidence interval



Parameters (Session):
par1 = 1.2 ; par2 = 27 ; par3 = 15.46 ; par4 = 0.95 ;
Parameters (R input):
par1 = 1.2 ; par2 = 27 ; par3 = 15.46 ; par4 = 0.95 ;
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')