Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software ModuleIan.Hollidayrwasp_Pregnancy and cognition.wasp
Title produced by softwareCorrelation
Date of computationSun, 31 Oct 2010 16:52:25 +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/31/t1288543879geicaenlp03vl0w.htm/, Retrieved Mon, 29 Apr 2024 13:42:20 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=90561, Retrieved Mon, 29 Apr 2024 13:42:20 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact130
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Variability] [Pregnancy and Cog...] [2009-10-28 21:14:02] [98fd0e87c3eb04e0cc2efde01dbafab6]
-   P   [Correlation] [Pregnancy and Cog...] [2010-10-25 14:23:05] [3fdd735c61ad38cbc9b3393dc997cdb7]
- R       [Correlation] [Pregnancy and Cog...] [2010-10-26 11:16:18] [98fd0e87c3eb04e0cc2efde01dbafab6]
-    D        [Correlation] [compmemomean] [2010-10-31 16:52:25] [863e2385d974b5bf894b71fc7ce9900e] [Current]
Feedback Forum

Post a new message
Dataseries X:
4.8
5.4
6
6
4
6
4.2
4.2
4.2
4
4.6
5.666666667
3.8
4.8
4.2
4
5.4
4.6
4
4.4
5
5.4
5.2
4.4
4
3.4
4.4
4
4.4
4.4
4
4.8
4
4
5
4
3.4
4
5.4
4.2
4
5.6
4.8
4.4
4.6
4
5.2
4.8
4.6
4
4.2
4.6
4.4
5
5
4
3.8
5.2
4.2
4.4
4.2
6
4.8
4
4.4
4
4.8
4.8
5.6
6
4
4.2
5
4.4
4.2
4.6
4.4
4
4
4
4.2
4
5
4.2
5.4
4
6
3.8
5
4.4
5
4.4
5
4.2
4.6
5




\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 & 'RServer@AstonUniversity' @ vre.aston.ac.uk \tabularnewline
R Engine error message & 
Error in model.frame.default(formula = y ~ x, drop.unused.levels = TRUE) : 
  invalid type (NULL) for variable 'y'
Calls: abline ... lm -> eval -> eval -> model.frame -> model.frame.default
Execution halted
\tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=90561&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]'RServer@AstonUniversity' @ vre.aston.ac.uk[/C][/ROW]
[ROW][C]R Engine error message[/C][C]
Error in model.frame.default(formula = y ~ x, drop.unused.levels = TRUE) : 
  invalid type (NULL) for variable 'y'
Calls: abline ... lm -> eval -> eval -> model.frame -> model.frame.default
Execution halted
[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=90561&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=90561&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'RServer@AstonUniversity' @ vre.aston.ac.uk
R Engine error message
Error in model.frame.default(formula = y ~ x, drop.unused.levels = TRUE) : 
  invalid type (NULL) for variable 'y'
Calls: abline ... lm -> eval -> eval -> model.frame -> model.frame.default
Execution halted



Parameters (Session):
par1 = pearson ; par2 = less ;
Parameters (R input):
par1 = pearson ; par2 = less ;
R code (references can be found in the software module):
bitmap(file='test1.png')
plot(x,y, xlab=xlab, ylab=ylab)
abline(coef=(lm(y ~ x))$coeff, col='red')
ctp<-cor.test(x, y, use='pair', method='pearson')
legend('bottomright', c('cor =', as.character(signif(ctp$estimate, digits=4))))
dev.off()
(sw1<-shapiro.test(x))
(sw2<-shapiro.test(y))
(cxy<-cor.test(x, y, method=par1))
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,paste('Shapiro Test (', xlab,')',sep=''),3,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Statistic W',header=TRUE)
a<-table.element(a,'Probability',header=TRUE)
a<-table.element(a,'Link',header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,signif(sw1$statistic, digits=4))
a<-table.element(a,signif(sw1$p.value, digits=4))
a<-table.element(a,hyperlink('http://en.wikipedia.org/wiki/Shapiro%E2%80%93Wilk_test','Shapiro-Wilk Test','Shapiro-Wilk Test'))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, paste('Shapiro Test (', ylab,')',sep=''),3,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Statistic W',header=TRUE)
a<-table.element(a,'probability',header=TRUE)
a<-table.element(a,'Link',header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,signif(sw2$statistic, digits=4))
a<-table.element(a,signif(sw2$p.value, digits=4))
a<-table.element(a,hyperlink('http://en.wikipedia.org/wiki/Shapiro%E2%80%93Wilk_test','Shapiro-Wilk Test','Shapiro-Wilk Test'))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable1.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Correlation Test X-Y',6,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Statistic',header=TRUE)
a<-table.element(a,'Value',header=TRUE)
a<-table.element(a,'probability',header=TRUE)
a<-table.element(a,'Method',header=TRUE)
a<-table.element(a,'alternative',header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,names(cxy$estimate))
a<-table.element(a,signif(cxy$estimate, digits=4))
a<-table.element(a,signif(cxy$p.value, digits=4))
a<-table.element(a,cxy$method)
a<-table.element(a,cxy$alternative)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable2.tab')