of Irreproducible Research!
Description of Statistical Computation | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Author's title | |||||||||||||||||||||
| Author | *The author of this computation has been verified* | ||||||||||||||||||||
| R Software Module | rwasp_meanplot.wasp | ||||||||||||||||||||
| Title produced by software | Mean Plot | ||||||||||||||||||||
| Date of computation | Sun, 27 Nov 2011 10:53:49 -0500 | ||||||||||||||||||||
| Cite this page as follows | Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2011/Nov/27/t1322409265gknjpf3ef067zry.htm/, Retrieved Sun, 07 Dec 2025 12:10:33 +0000 | ||||||||||||||||||||
| Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=147521, Retrieved Sun, 07 Dec 2025 12:10:33 +0000 | |||||||||||||||||||||
| QR Codes: | |||||||||||||||||||||
|
| |||||||||||||||||||||
| Original text written by user: | |||||||||||||||||||||
| IsPrivate? | No (this computation is public) | ||||||||||||||||||||
| User-defined keywords | |||||||||||||||||||||
| Estimated Impact | 361 | ||||||||||||||||||||
Tree of Dependent Computations | |||||||||||||||||||||
| Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data) | |||||||||||||||||||||
| - [Testing Mean with unknown Variance - Critical Value] [] [2010-10-22 10:07:01] [8a9a6f7c332640af31ddca253a8ded58] - D [Testing Mean with unknown Variance - Critical Value] [] [2010-10-25 17:55:27] [504b6ff240ec7a3fcbc007044ae7a0bb] - RMPD [Mean Plot] [] [2011-11-27 15:53:49] [5f9ad3d6882448a3cbf5628cc61fe2a1] [Current] | |||||||||||||||||||||
| Feedback Forum | |||||||||||||||||||||
Post a new message | |||||||||||||||||||||
Dataset | |||||||||||||||||||||
| Dataseries X: | |||||||||||||||||||||
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')
| |||||||||||||||||||||
Tables (Output of Computation) | |||||||||||||||||||||
| |||||||||||||||||||||
Figures (Output of Computation) | |||||||||||||||||||||
Input Parameters & R Code | |||||||||||||||||||||
| Parameters (Session): | |||||||||||||||||||||
| par1 = 12 ; | |||||||||||||||||||||
| Parameters (R input): | |||||||||||||||||||||
| par1 = 12 ; | |||||||||||||||||||||
| R code (references can be found in the software module): | |||||||||||||||||||||
par1 <- as.numeric(par1) | |||||||||||||||||||||