Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_hypothesismeanu.wasp
Title produced by softwareTesting Mean with unknown Variance - Critical Value
Date of computationTue, 26 Oct 2010 14:18:56 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2010/Oct/26/t12881026587rxzp0viua0d7v2.htm/, Retrieved Mon, 06 May 2024 04:18:30 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=89194, Retrieved Mon, 06 May 2024 04:18:30 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact145
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Maximum-likelihood Fitting - Normal Distribution] [Intrinsic Motivat...] [2010-10-12 11:57:21] [b98453cac15ba1066b407e146608df68]
-   PD  [Maximum-likelihood Fitting - Normal Distribution] [WS3 - Intr2 fitdi...] [2010-10-17 20:45:33] [b11c112f8986de933f8b95cd30e75cc2]
F RMPD    [Testing Mean with unknown Variance - Critical Value] [WS4 - Question 2] [2010-10-24 13:36:22] [b11c112f8986de933f8b95cd30e75cc2]
- RMPD      [Central Tendency] [] [2010-10-24 15:21:20] [ed939ef6f97e5f2afb6796311d9e7a5f]
-             [Central Tendency] [W4] [2010-10-26 08:29:36] [5ddc7dfb25e070b079c4c8fcccc4d42e]
F RMPD            [Testing Mean with unknown Variance - Critical Value] [ws4q2h2] [2010-10-26 14:18:56] [5f761c4a622da19727fd2adf71158b48] [Current]
-   PD              [Testing Mean with unknown Variance - Critical Value] [] [2010-10-31 09:45:46] [2960375a246cc0628590c95c4038a43c]
Feedback Forum
2010-10-31 09:47:18 [48eb36e2c01435ad7e4ea7854a9d98fe] [reply
Het is mij als reviewer totaal onduidelijk waarom de student hier gewerkt heeft met een nulhypothese van 50, ik vermoed dan ook dat het gaat om een schrijffout en dat de nulhypothese eigenlijk 0 diende te zijn.

Bovendien werd er ook geen duidelijke nulhypothese en alternatieve hypothese geformuleerd, wat maakt dat ik de conclusie die door de student werd geformuleerd niet duidelijk vind.

Het is namelijk de bedoeling dat we een nulhypothese formuleren: bvb µ = 0 (de treatment heeft geen invloed) en een alternatieve hypothese: µ ≠ 0 (de treatment heeft wel een invloed). Wanneer we dit dan toepassen op deze gegevens: http://www.freestatistics.org/blog/index.php?v=date/2010/Oct/31/t12885182583c95isyx8kpio79.htm/ kunnen we vaststellen dat de nulhypothese niet gelegen is in het betrouwbaarheidsinterval en dat we deze dus gaan verwerpen. Dit betekent dat we de alternatieve hypothese aanvaarden.
2010-11-01 11:17:54 [201022de16daa1dc0c172603d7d3cd57] [reply
Het is mij volkomen onduidelijk wat de student hier aan het doen is. Hij werkt met een nulhypothese van 50, dit is niet correct en moet gelijk zijn aan 0. Dit heeft echter wel geen effect op de berekening maar wel op de interpretatie de getrokken moet worden.
Doordat het onduidelijk is welke gegevens er gebruikt worden kan ik geen verdere uitspraken doen over deze berekening.

Post a new message
Dataseries X:
1
1
1
1
1
1
1
0
1
1
1
1
0
1
1
1
0
1
1
1
1
0
0
1
1
1
0
0
1
1
0
1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

\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 & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=89194&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]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=89194&T=0

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







Hypothesis Test about the Mean - Confidence Interval
Sample size32
Sample standard deviation0.43994134506406
Confidence0.95
Null hypothesis50
Sample Mean0.75
2-sided Confidence Interval[ 0.591384230650032 , 0.908615769349968 ]
Left-sided Confidence Interval[ 0.618137169374385 , +inf ]
Right-sided Confidence Interval[ -inf, 0.881862830625615 ]

\begin{tabular}{lllllllll}
\hline
Hypothesis Test about the Mean - Confidence Interval \tabularnewline
Sample size & 32 \tabularnewline
Sample standard deviation & 0.43994134506406 \tabularnewline
Confidence & 0.95 \tabularnewline
Null hypothesis & 50 \tabularnewline
Sample Mean & 0.75 \tabularnewline
2-sided Confidence Interval & [ 0.591384230650032 , 0.908615769349968 ] \tabularnewline
Left-sided Confidence Interval & [ 0.618137169374385 , +inf ] \tabularnewline
Right-sided Confidence Interval & [ -inf,  0.881862830625615 ] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=89194&T=1

[TABLE]
[ROW][C]Hypothesis Test about the Mean - Confidence Interval[/C][/ROW]
[ROW][C]Sample size[/C][C]32[/C][/ROW]
[ROW][C]Sample standard deviation[/C][C]0.43994134506406[/C][/ROW]
[ROW][C]Confidence[/C][C]0.95[/C][/ROW]
[ROW][C]Null hypothesis[/C][C]50[/C][/ROW]
[ROW][C]Sample Mean[/C][C]0.75[/C][/ROW]
[ROW][C]2-sided Confidence Interval[/C][C][ 0.591384230650032 , 0.908615769349968 ][/C][/ROW]
[ROW][C]Left-sided Confidence Interval[/C][C][ 0.618137169374385 , +inf ][/C][/ROW]
[ROW][C]Right-sided Confidence Interval[/C][C][ -inf,  0.881862830625615 ][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=89194&T=1

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

As an alternative you can also use a QR Code:  

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

Hypothesis Test about the Mean - Confidence Interval
Sample size32
Sample standard deviation0.43994134506406
Confidence0.95
Null hypothesis50
Sample Mean0.75
2-sided Confidence Interval[ 0.591384230650032 , 0.908615769349968 ]
Left-sided Confidence Interval[ 0.618137169374385 , +inf ]
Right-sided Confidence Interval[ -inf, 0.881862830625615 ]



Parameters (Session):
par1 = 0.95 ; par2 = 50 ;
Parameters (R input):
par1 = 0.95 ; par2 = 50 ;
R code (references can be found in the software module):
par1 <- as.numeric(par1)
par2 <- as.numeric(par2)
len <- length(x)
df <- len - 1
sd <- sd(x)
mx <- mean(x)
load(file='createtable')
delta2 <- abs(qt((1-par1)/2,df)) * sd / sqrt(len)
delta1 <- abs(qt((1-par1),df)) * sd / sqrt(len)
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Hypothesis Test about the Mean - Confidence Interval',2,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Sample size',header=TRUE)
a<-table.element(a,len)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Sample standard deviation',header=TRUE)
a<-table.element(a,sd)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Confidence',header=TRUE)
a<-table.element(a,par1)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Null hypothesis',header=TRUE)
a<-table.element(a,par2)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Sample Mean',header=TRUE)
a<-table.element(a,mx)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'2-sided Confidence Interval',header=TRUE)
dum <- paste('[',mx-delta2)
dum <- paste(dum,',')
dum <- paste(dum,mx+delta2)
dum <- paste(dum,']')
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Left-sided Confidence Interval',header=TRUE)
dum <- paste('[',mx-delta1)
dum <- paste(dum,', +inf ]')
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Right-sided Confidence Interval',header=TRUE)
dum <- paste('[ -inf, ',mx+delta1)
dum <- paste(dum,']')
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable.tab')