Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_hypothesismean5.wasp
Title produced by softwareTesting Population Mean with known Variance - Confidence Interval
Date of computationThu, 07 May 2020 01:00:21 +0200
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2020/May/07/t1588806147d6peorwnfqljgvg.htm/, Retrieved Thu, 25 Apr 2024 16:00:53 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=319145, Retrieved Thu, 25 Apr 2024 16:00:53 +0000
QR Codes:

Original text written by user:Hotels in more populated and popular places can be priced differently compared to hotels in a rural area where not a lot of people visit for vacations.
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact112
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Testing Population Mean with known Variance - Confidence Interval] [Hotels and their ...] [2020-05-06 23:00:21] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message




Summary of computational transaction
Raw Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R ServerBig Analytics Cloud Computing Center

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input view raw input (R code)  \tabularnewline
Raw Outputview raw output of R engine  \tabularnewline
Computing time1 seconds \tabularnewline
R ServerBig Analytics Cloud Computing Center \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=319145&T=0

[TABLE]
[ROW]
Summary of computational transaction[/C][/ROW] [ROW]Raw Input[/C] view raw input (R code) [/C][/ROW] [ROW]Raw Output[/C]view raw output of R engine [/C][/ROW] [ROW]Computing time[/C]1 seconds[/C][/ROW] [ROW]R Server[/C]Big Analytics Cloud Computing Center[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=319145&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=319145&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 Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R ServerBig Analytics Cloud Computing Center







Testing Population Mean with known Variance
Population varianceNA
Sample size30
Sample mean95.8
Confidence intervalNA
Type of IntervalLeft tailRight tail
Two-sided confidence interval at NANANA
Left one-sided confidence interval at NANA+inf
Right one-sided confidence interval at NA-infNA

\begin{tabular}{lllllllll}
\hline
Testing Population Mean with known Variance \tabularnewline
Population variance & NA \tabularnewline
Sample size & 30 \tabularnewline
Sample mean & 95.8 \tabularnewline
Confidence interval & NA \tabularnewline
Type of Interval & Left tail & Right tail \tabularnewline
Two-sided confidence interval at  NA & NA & NA \tabularnewline
Left one-sided confidence interval at  NA & NA & +inf \tabularnewline
Right one-sided confidence interval at  NA & -inf & NA \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=319145&T=1

[TABLE]
[ROW][C]Testing Population Mean with known Variance[/C][/ROW]
[ROW][C]Population variance[/C][C]NA[/C][/ROW]
[ROW][C]Sample size[/C][C]30[/C][/ROW]
[ROW][C]Sample mean[/C][C]95.8[/C][/ROW]
[ROW][C]Confidence interval[/C][C]NA[/C][/ROW]
[ROW][C]Type of Interval[/C][C]Left tail[/C][C]Right tail[/C][/ROW]
[ROW][C]Two-sided confidence interval at  NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]Left one-sided confidence interval at  NA[/C][C]NA[/C][C]+inf[/C][/ROW]
[ROW][C]Right one-sided confidence interval at  NA[/C][C]-inf[/C][C]NA[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=319145&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=319145&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 varianceNA
Sample size30
Sample mean95.8
Confidence intervalNA
Type of IntervalLeft tailRight tail
Two-sided confidence interval at NANANA
Left one-sided confidence interval at NANA+inf
Right one-sided confidence interval at NA-infNA



Parameters (Session):
Parameters (R input):
par1 = ; par2 = 30 ; par3 = 95.8 ; par4 = ;
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
print(ua)
print(ub)
ul <- par3 - qnorm(par4) * sigma / sqrtn
print(ul)
ur <- par3 + qnorm(par4) * sigma / sqrtn
print(ur)
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Testing Population Mean with known Variance',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.end(a)
table.save(a,file='mytable.tab')