Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software ModulePatrick.Wessarwasp_iko1.wasp
Title produced by softwareSimple Linear Regression
Date of computationSun, 21 Nov 2010 19:41:09 +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/Nov/21/t1290368711b2xrfdn5yofuzli.htm/, Retrieved Thu, 02 May 2024 10:31:11 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=98399, Retrieved Thu, 02 May 2024 10:31:11 +0000
QR Codes:

Original text written by user:Geeft verband tussen aanwezigheid tijdens de les (8 keer gemeten) en punten
IsPrivate?No (this computation is public)
User-defined keywordsPC toepassingen 2009 2010
Estimated Impact149
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Simple Linear Regression] [Verband aanwezigh...] [2010-11-21 19:41:09] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
9
5
0
2
8
8
3
6
2
5
8
2
8
9
6
1
4
4
8
9
9
1
0
1
4
3
7
9
4
2
9
6
9
3
0
4
0
6
6
7
4
1
8
2
5
3
1
7
5
2
Dataseries Y:
13
2
0
4
17
8
1
6
7
10
9
9
2
15
11
2
7
8
14
15
16
3
1
0
14
11
12
12
5
8
9
9
7
7
5
6
6
15
9
12
12
6
17
8
9
8
9
10
7
2




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=98399&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=98399&T=0

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







Y = alpha + beta X
Intercept (alpha)3.6325
Slope (beta)0.9931
S.D. (beta)0.1673
T-Stat (beta)5.9348
P-Value (beta)0
Correlation0.6506
R-squared0.4232

\begin{tabular}{lllllllll}
\hline
Y = alpha + beta X \tabularnewline
Intercept (alpha) & 3.6325 \tabularnewline
Slope (beta) & 0.9931 \tabularnewline
S.D. (beta) & 0.1673 \tabularnewline
T-Stat (beta) & 5.9348 \tabularnewline
P-Value (beta) & 0 \tabularnewline
Correlation & 0.6506 \tabularnewline
R-squared & 0.4232 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=98399&T=1

[TABLE]
[ROW][C]Y = alpha + beta X[/C][/ROW]
[ROW][C]Intercept (alpha)[/C][C]3.6325[/C][/ROW]
[ROW][C]Slope (beta)[/C][C]0.9931[/C][/ROW]
[ROW][C]S.D. (beta)[/C][C]0.1673[/C][/ROW]
[ROW][C]T-Stat (beta)[/C][C]5.9348[/C][/ROW]
[ROW][C]P-Value (beta)[/C][C]0[/C][/ROW]
[ROW][C]Correlation[/C][C]0.6506[/C][/ROW]
[ROW][C]R-squared[/C][C]0.4232[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=98399&T=1

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

As an alternative you can also use a QR Code:  

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

Y = alpha + beta X
Intercept (alpha)3.6325
Slope (beta)0.9931
S.D. (beta)0.1673
T-Stat (beta)5.9348
P-Value (beta)0
Correlation0.6506
R-squared0.4232



Parameters (Session):
Parameters (R input):
R code (references can be found in the software module):
m <- lm(y ~ x)
sm <- summary(m)
bitmap(file='test1.png')
myscatter<-plot(x,y,main=main,xlab=xlab,ylab=ylab)
abline(m)
grid()
dev.off()
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Y = alpha + beta X',2,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Intercept (alpha)',header=TRUE)
a<-table.element(a,round(m$coef[[1]],4))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Slope (beta)',header=TRUE)
a<-table.element(a,round(m$coef[[2]],4))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'S.D. (beta)',header=TRUE)
a<-table.element(a,round(sm$coef[2,2],4))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'T-Stat (beta)',header=TRUE)
a<-table.element(a,round(sm$coef[2,3],4))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'P-Value (beta)',header=TRUE)
a<-table.element(a,round(sm$coef[2,4],4))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Correlation',header=TRUE)
a<-table.element(a,round(sqrt(sm$r.sq),4))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'R-squared',header=TRUE)
a<-table.element(a,round(sm$r.sq,4))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable.tab')