Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationWed, 19 Nov 2008 11:53:10 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2008/Nov/19/t1227120949c5rljtocc8d3fcp.htm/, Retrieved Sun, 19 May 2024 11:12:01 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=25051, Retrieved Sun, 19 May 2024 11:12:01 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact220
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Q1 The Seatbeltlaw] [2007-11-14 19:27:43] [8cd6641b921d30ebe00b648d1481bba0]
F    D  [Multiple Regression] [Seatbelt Law - Q1] [2008-11-19 12:45:01] [82970caad4b026be9dd352fdec547fe4]
-    D      [Multiple Regression] [Seatbelt law - Q3...] [2008-11-19 18:53:10] [c33ddd06d9ea3933c8ac89c0e74c9b3a] [Current]
F    D        [Multiple Regression] [Seatbelt law - Q3...] [2008-11-19 19:03:08] [82970caad4b026be9dd352fdec547fe4]
Feedback Forum

Post a new message
Dataseries X:
10.413	0
10.709	0
10.662	0
10.570	0
10.297	0
10.635	0
10.872	0
10.296	0
10.383	0
10.431	0
10.574	0
10.653	0
10.805	0
10.872	0
10.625	0
10.407	0
10.463	0
10.556	0
10.646	0
10.702	0
11.353	1
11.346	1
11.451	1
11.964	1
12.574	1
13.031	1
13.812	1
14.544	1
14.931	1
14.886	1
16.005	1
17.064	1
15.168	1
16.050	1
15.839	1
15.137	1
14.954	1
15.648	1
15.305	1
15.579	1
16.348	1
15.928	1
16.171	1
15.937	1
15.713	1
15.594	1
15.683	1
16.438	1
17.032	1
17.696	1
17.745	1
19.394	1
20.148	1
20.108	1
18.584	1
18.441	1
18.391	1
19.178	1
18.079	1
18.483	1
19.644	1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001

\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 & 5 seconds \tabularnewline
R Server & 'Herman Ole Andreas Wold' @ 193.190.124.10:1001 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25051&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]5 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Herman Ole Andreas Wold' @ 193.190.124.10:1001[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25051&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25051&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 time5 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001







Multiple Linear Regression - Estimated Regression Equation
Goudkoers[t] = + 8.2133625 + 0.772593750000001DrasticChange[t] + 0.597173958333333M1[t] + 0.795041666666667M2[t] + 0.675209375M3[t] + 0.985777083333333M4[t] + 1.16594479166667M5[t] + 0.9927125M6[t] + 0.867280208333333M7[t] + 0.741247916666666M8[t] + 0.141896874999999M9[t] + 0.301664583333333M10[t] -0.0513677083333329M11[t] + 0.158432291666667t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Goudkoers[t] =  +  8.2133625 +  0.772593750000001DrasticChange[t] +  0.597173958333333M1[t] +  0.795041666666667M2[t] +  0.675209375M3[t] +  0.985777083333333M4[t] +  1.16594479166667M5[t] +  0.9927125M6[t] +  0.867280208333333M7[t] +  0.741247916666666M8[t] +  0.141896874999999M9[t] +  0.301664583333333M10[t] -0.0513677083333329M11[t] +  0.158432291666667t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25051&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Goudkoers[t] =  +  8.2133625 +  0.772593750000001DrasticChange[t] +  0.597173958333333M1[t] +  0.795041666666667M2[t] +  0.675209375M3[t] +  0.985777083333333M4[t] +  1.16594479166667M5[t] +  0.9927125M6[t] +  0.867280208333333M7[t] +  0.741247916666666M8[t] +  0.141896874999999M9[t] +  0.301664583333333M10[t] -0.0513677083333329M11[t] +  0.158432291666667t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25051&T=1

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

As an alternative you can also use a QR Code:  

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

Multiple Linear Regression - Estimated Regression Equation
Goudkoers[t] = + 8.2133625 + 0.772593750000001DrasticChange[t] + 0.597173958333333M1[t] + 0.795041666666667M2[t] + 0.675209375M3[t] + 0.985777083333333M4[t] + 1.16594479166667M5[t] + 0.9927125M6[t] + 0.867280208333333M7[t] + 0.741247916666666M8[t] + 0.141896874999999M9[t] + 0.301664583333333M10[t] -0.0513677083333329M11[t] + 0.158432291666667t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)8.21336250.53259115.421500
DrasticChange0.7725937500000010.4884271.58180.1204020.060201
M10.5971739583333330.6211060.96150.3412380.170619
M20.7950416666666670.6518311.21970.2286620.114331
M30.6752093750.650961.03730.3049260.152463
M40.9857770833333330.6503461.51580.1362740.068137
M51.165944791666670.649991.79380.0792820.039641
M60.99271250.6498931.52750.1333390.066669
M70.8672802083333330.6500541.33420.1885780.094289
M80.7412479166666660.6504741.13960.2602480.130124
M90.1418968749999990.648560.21880.8277630.413881
M100.3016645833333330.6479120.46560.6436560.321828
M11-0.05136770833333290.647523-0.07930.9371070.468554
t0.1584322916666670.01296312.221500

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Ordinary Least Squares \tabularnewline
Variable & Parameter & S.D. & T-STATH0: parameter = 0 & 2-tail p-value & 1-tail p-value \tabularnewline
(Intercept) & 8.2133625 & 0.532591 & 15.4215 & 0 & 0 \tabularnewline
DrasticChange & 0.772593750000001 & 0.488427 & 1.5818 & 0.120402 & 0.060201 \tabularnewline
M1 & 0.597173958333333 & 0.621106 & 0.9615 & 0.341238 & 0.170619 \tabularnewline
M2 & 0.795041666666667 & 0.651831 & 1.2197 & 0.228662 & 0.114331 \tabularnewline
M3 & 0.675209375 & 0.65096 & 1.0373 & 0.304926 & 0.152463 \tabularnewline
M4 & 0.985777083333333 & 0.650346 & 1.5158 & 0.136274 & 0.068137 \tabularnewline
M5 & 1.16594479166667 & 0.64999 & 1.7938 & 0.079282 & 0.039641 \tabularnewline
M6 & 0.9927125 & 0.649893 & 1.5275 & 0.133339 & 0.066669 \tabularnewline
M7 & 0.867280208333333 & 0.650054 & 1.3342 & 0.188578 & 0.094289 \tabularnewline
M8 & 0.741247916666666 & 0.650474 & 1.1396 & 0.260248 & 0.130124 \tabularnewline
M9 & 0.141896874999999 & 0.64856 & 0.2188 & 0.827763 & 0.413881 \tabularnewline
M10 & 0.301664583333333 & 0.647912 & 0.4656 & 0.643656 & 0.321828 \tabularnewline
M11 & -0.0513677083333329 & 0.647523 & -0.0793 & 0.937107 & 0.468554 \tabularnewline
t & 0.158432291666667 & 0.012963 & 12.2215 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25051&T=2

[TABLE]
[ROW][C]Multiple Linear Regression - Ordinary Least Squares[/C][/ROW]
[ROW][C]Variable[/C][C]Parameter[/C][C]S.D.[/C][C]T-STATH0: parameter = 0[/C][C]2-tail p-value[/C][C]1-tail p-value[/C][/ROW]
[ROW][C](Intercept)[/C][C]8.2133625[/C][C]0.532591[/C][C]15.4215[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]DrasticChange[/C][C]0.772593750000001[/C][C]0.488427[/C][C]1.5818[/C][C]0.120402[/C][C]0.060201[/C][/ROW]
[ROW][C]M1[/C][C]0.597173958333333[/C][C]0.621106[/C][C]0.9615[/C][C]0.341238[/C][C]0.170619[/C][/ROW]
[ROW][C]M2[/C][C]0.795041666666667[/C][C]0.651831[/C][C]1.2197[/C][C]0.228662[/C][C]0.114331[/C][/ROW]
[ROW][C]M3[/C][C]0.675209375[/C][C]0.65096[/C][C]1.0373[/C][C]0.304926[/C][C]0.152463[/C][/ROW]
[ROW][C]M4[/C][C]0.985777083333333[/C][C]0.650346[/C][C]1.5158[/C][C]0.136274[/C][C]0.068137[/C][/ROW]
[ROW][C]M5[/C][C]1.16594479166667[/C][C]0.64999[/C][C]1.7938[/C][C]0.079282[/C][C]0.039641[/C][/ROW]
[ROW][C]M6[/C][C]0.9927125[/C][C]0.649893[/C][C]1.5275[/C][C]0.133339[/C][C]0.066669[/C][/ROW]
[ROW][C]M7[/C][C]0.867280208333333[/C][C]0.650054[/C][C]1.3342[/C][C]0.188578[/C][C]0.094289[/C][/ROW]
[ROW][C]M8[/C][C]0.741247916666666[/C][C]0.650474[/C][C]1.1396[/C][C]0.260248[/C][C]0.130124[/C][/ROW]
[ROW][C]M9[/C][C]0.141896874999999[/C][C]0.64856[/C][C]0.2188[/C][C]0.827763[/C][C]0.413881[/C][/ROW]
[ROW][C]M10[/C][C]0.301664583333333[/C][C]0.647912[/C][C]0.4656[/C][C]0.643656[/C][C]0.321828[/C][/ROW]
[ROW][C]M11[/C][C]-0.0513677083333329[/C][C]0.647523[/C][C]-0.0793[/C][C]0.937107[/C][C]0.468554[/C][/ROW]
[ROW][C]t[/C][C]0.158432291666667[/C][C]0.012963[/C][C]12.2215[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25051&T=2

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

As an alternative you can also use a QR Code:  

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

Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)8.21336250.53259115.421500
DrasticChange0.7725937500000010.4884271.58180.1204020.060201
M10.5971739583333330.6211060.96150.3412380.170619
M20.7950416666666670.6518311.21970.2286620.114331
M30.6752093750.650961.03730.3049260.152463
M40.9857770833333330.6503461.51580.1362740.068137
M51.165944791666670.649991.79380.0792820.039641
M60.99271250.6498931.52750.1333390.066669
M70.8672802083333330.6500541.33420.1885780.094289
M80.7412479166666660.6504741.13960.2602480.130124
M90.1418968749999990.648560.21880.8277630.413881
M100.3016645833333330.6479120.46560.6436560.321828
M11-0.05136770833333290.647523-0.07930.9371070.468554
t0.1584322916666670.01296312.221500







Multiple Linear Regression - Regression Statistics
Multiple R0.959503406781168
R-squared0.920646787624667
Adjusted R-squared0.898698026754894
F-TEST (value)41.945273953599
F-TEST (DF numerator)13
F-TEST (DF denominator)47
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1.02361855058467
Sum Squared Residuals49.24636204375

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.959503406781168 \tabularnewline
R-squared & 0.920646787624667 \tabularnewline
Adjusted R-squared & 0.898698026754894 \tabularnewline
F-TEST (value) & 41.945273953599 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 1.02361855058467 \tabularnewline
Sum Squared Residuals & 49.24636204375 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25051&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.959503406781168[/C][/ROW]
[ROW][C]R-squared[/C][C]0.920646787624667[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.898698026754894[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]41.945273953599[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]47[/C][/ROW]
[ROW][C]p-value[/C][C]0[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]1.02361855058467[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]49.24636204375[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25051&T=3

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

As an alternative you can also use a QR Code:  

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

Multiple Linear Regression - Regression Statistics
Multiple R0.959503406781168
R-squared0.920646787624667
Adjusted R-squared0.898698026754894
F-TEST (value)41.945273953599
F-TEST (DF numerator)13
F-TEST (DF denominator)47
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1.02361855058467
Sum Squared Residuals49.24636204375







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
110.4138.968968751.44403125
210.7099.325268751.38373125
310.6629.363868751.29813125
410.579.832868750.73713125
510.29710.171468750.125531250000001
610.63510.156668750.47833125
710.87210.189668750.68233125
810.29610.222068750.0739312499999999
910.3839.781150.60185
1010.43110.099350.331649999999998
1110.5749.904750.66925
1210.65310.114550.53845
1310.80510.87015625-0.0651562500000002
1410.87211.22645625-0.354456250000001
1510.62511.26505625-0.64005625
1610.40711.73405625-1.32705625
1710.46312.07265625-1.60965625
1810.55612.05785625-1.50185625
1910.64612.09085625-1.44485625
2010.70212.12325625-1.42125625
2111.35312.45493125-1.10193125000000
2211.34612.77313125-1.42713125
2311.45112.57853125-1.12753125000000
2411.96412.78833125-0.82433125
2512.57413.5439375-0.9699375
2613.03113.9002375-0.8692375
2713.81213.9388375-0.126837500000000
2814.54414.40783750.136162500000000
2914.93114.74643750.184562499999999
3014.88614.73163750.154362499999999
3116.00514.76463751.2403625
3217.06414.79703752.2669625
3315.16814.356118750.81188125
3416.0514.674318751.37568125
3515.83914.479718751.35928125
3615.13714.689518750.44748125
3714.95415.445125-0.491125
3815.64815.801425-0.153425000000001
3915.30515.840025-0.535025
4015.57916.309025-0.730025
4116.34816.647625-0.299625000000001
4215.92816.632825-0.704825
4316.17116.665825-0.494825000000001
4415.93716.698225-0.761225
4515.71316.25730625-0.54430625
4615.59416.57550625-0.981506250000001
4715.68316.38090625-0.697906250000001
4816.43816.59070625-0.152706250000001
4917.03217.3463125-0.314312500000000
5017.69617.7026125-0.00661249999999896
5117.74517.74121250.00378750000000093
5219.39418.21021251.18378750000000
5320.14818.54881251.5991875
5420.10818.53401251.57398750000000
5518.58418.56701250.0169875000000003
5618.44118.5994125-0.158412500000000
5718.39118.158493750.232506249999999
5819.17818.476693750.70130625
5918.07918.28209375-0.203093750000000
6018.48318.49189375-0.0088937499999988
6119.64419.24750.396499999999999

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 10.413 & 8.96896875 & 1.44403125 \tabularnewline
2 & 10.709 & 9.32526875 & 1.38373125 \tabularnewline
3 & 10.662 & 9.36386875 & 1.29813125 \tabularnewline
4 & 10.57 & 9.83286875 & 0.73713125 \tabularnewline
5 & 10.297 & 10.17146875 & 0.125531250000001 \tabularnewline
6 & 10.635 & 10.15666875 & 0.47833125 \tabularnewline
7 & 10.872 & 10.18966875 & 0.68233125 \tabularnewline
8 & 10.296 & 10.22206875 & 0.0739312499999999 \tabularnewline
9 & 10.383 & 9.78115 & 0.60185 \tabularnewline
10 & 10.431 & 10.09935 & 0.331649999999998 \tabularnewline
11 & 10.574 & 9.90475 & 0.66925 \tabularnewline
12 & 10.653 & 10.11455 & 0.53845 \tabularnewline
13 & 10.805 & 10.87015625 & -0.0651562500000002 \tabularnewline
14 & 10.872 & 11.22645625 & -0.354456250000001 \tabularnewline
15 & 10.625 & 11.26505625 & -0.64005625 \tabularnewline
16 & 10.407 & 11.73405625 & -1.32705625 \tabularnewline
17 & 10.463 & 12.07265625 & -1.60965625 \tabularnewline
18 & 10.556 & 12.05785625 & -1.50185625 \tabularnewline
19 & 10.646 & 12.09085625 & -1.44485625 \tabularnewline
20 & 10.702 & 12.12325625 & -1.42125625 \tabularnewline
21 & 11.353 & 12.45493125 & -1.10193125000000 \tabularnewline
22 & 11.346 & 12.77313125 & -1.42713125 \tabularnewline
23 & 11.451 & 12.57853125 & -1.12753125000000 \tabularnewline
24 & 11.964 & 12.78833125 & -0.82433125 \tabularnewline
25 & 12.574 & 13.5439375 & -0.9699375 \tabularnewline
26 & 13.031 & 13.9002375 & -0.8692375 \tabularnewline
27 & 13.812 & 13.9388375 & -0.126837500000000 \tabularnewline
28 & 14.544 & 14.4078375 & 0.136162500000000 \tabularnewline
29 & 14.931 & 14.7464375 & 0.184562499999999 \tabularnewline
30 & 14.886 & 14.7316375 & 0.154362499999999 \tabularnewline
31 & 16.005 & 14.7646375 & 1.2403625 \tabularnewline
32 & 17.064 & 14.7970375 & 2.2669625 \tabularnewline
33 & 15.168 & 14.35611875 & 0.81188125 \tabularnewline
34 & 16.05 & 14.67431875 & 1.37568125 \tabularnewline
35 & 15.839 & 14.47971875 & 1.35928125 \tabularnewline
36 & 15.137 & 14.68951875 & 0.44748125 \tabularnewline
37 & 14.954 & 15.445125 & -0.491125 \tabularnewline
38 & 15.648 & 15.801425 & -0.153425000000001 \tabularnewline
39 & 15.305 & 15.840025 & -0.535025 \tabularnewline
40 & 15.579 & 16.309025 & -0.730025 \tabularnewline
41 & 16.348 & 16.647625 & -0.299625000000001 \tabularnewline
42 & 15.928 & 16.632825 & -0.704825 \tabularnewline
43 & 16.171 & 16.665825 & -0.494825000000001 \tabularnewline
44 & 15.937 & 16.698225 & -0.761225 \tabularnewline
45 & 15.713 & 16.25730625 & -0.54430625 \tabularnewline
46 & 15.594 & 16.57550625 & -0.981506250000001 \tabularnewline
47 & 15.683 & 16.38090625 & -0.697906250000001 \tabularnewline
48 & 16.438 & 16.59070625 & -0.152706250000001 \tabularnewline
49 & 17.032 & 17.3463125 & -0.314312500000000 \tabularnewline
50 & 17.696 & 17.7026125 & -0.00661249999999896 \tabularnewline
51 & 17.745 & 17.7412125 & 0.00378750000000093 \tabularnewline
52 & 19.394 & 18.2102125 & 1.18378750000000 \tabularnewline
53 & 20.148 & 18.5488125 & 1.5991875 \tabularnewline
54 & 20.108 & 18.5340125 & 1.57398750000000 \tabularnewline
55 & 18.584 & 18.5670125 & 0.0169875000000003 \tabularnewline
56 & 18.441 & 18.5994125 & -0.158412500000000 \tabularnewline
57 & 18.391 & 18.15849375 & 0.232506249999999 \tabularnewline
58 & 19.178 & 18.47669375 & 0.70130625 \tabularnewline
59 & 18.079 & 18.28209375 & -0.203093750000000 \tabularnewline
60 & 18.483 & 18.49189375 & -0.0088937499999988 \tabularnewline
61 & 19.644 & 19.2475 & 0.396499999999999 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25051&T=4

[TABLE]
[ROW][C]Multiple Linear Regression - Actuals, Interpolation, and Residuals[/C][/ROW]
[ROW][C]Time or Index[/C][C]Actuals[/C][C]InterpolationForecast[/C][C]ResidualsPrediction Error[/C][/ROW]
[ROW][C]1[/C][C]10.413[/C][C]8.96896875[/C][C]1.44403125[/C][/ROW]
[ROW][C]2[/C][C]10.709[/C][C]9.32526875[/C][C]1.38373125[/C][/ROW]
[ROW][C]3[/C][C]10.662[/C][C]9.36386875[/C][C]1.29813125[/C][/ROW]
[ROW][C]4[/C][C]10.57[/C][C]9.83286875[/C][C]0.73713125[/C][/ROW]
[ROW][C]5[/C][C]10.297[/C][C]10.17146875[/C][C]0.125531250000001[/C][/ROW]
[ROW][C]6[/C][C]10.635[/C][C]10.15666875[/C][C]0.47833125[/C][/ROW]
[ROW][C]7[/C][C]10.872[/C][C]10.18966875[/C][C]0.68233125[/C][/ROW]
[ROW][C]8[/C][C]10.296[/C][C]10.22206875[/C][C]0.0739312499999999[/C][/ROW]
[ROW][C]9[/C][C]10.383[/C][C]9.78115[/C][C]0.60185[/C][/ROW]
[ROW][C]10[/C][C]10.431[/C][C]10.09935[/C][C]0.331649999999998[/C][/ROW]
[ROW][C]11[/C][C]10.574[/C][C]9.90475[/C][C]0.66925[/C][/ROW]
[ROW][C]12[/C][C]10.653[/C][C]10.11455[/C][C]0.53845[/C][/ROW]
[ROW][C]13[/C][C]10.805[/C][C]10.87015625[/C][C]-0.0651562500000002[/C][/ROW]
[ROW][C]14[/C][C]10.872[/C][C]11.22645625[/C][C]-0.354456250000001[/C][/ROW]
[ROW][C]15[/C][C]10.625[/C][C]11.26505625[/C][C]-0.64005625[/C][/ROW]
[ROW][C]16[/C][C]10.407[/C][C]11.73405625[/C][C]-1.32705625[/C][/ROW]
[ROW][C]17[/C][C]10.463[/C][C]12.07265625[/C][C]-1.60965625[/C][/ROW]
[ROW][C]18[/C][C]10.556[/C][C]12.05785625[/C][C]-1.50185625[/C][/ROW]
[ROW][C]19[/C][C]10.646[/C][C]12.09085625[/C][C]-1.44485625[/C][/ROW]
[ROW][C]20[/C][C]10.702[/C][C]12.12325625[/C][C]-1.42125625[/C][/ROW]
[ROW][C]21[/C][C]11.353[/C][C]12.45493125[/C][C]-1.10193125000000[/C][/ROW]
[ROW][C]22[/C][C]11.346[/C][C]12.77313125[/C][C]-1.42713125[/C][/ROW]
[ROW][C]23[/C][C]11.451[/C][C]12.57853125[/C][C]-1.12753125000000[/C][/ROW]
[ROW][C]24[/C][C]11.964[/C][C]12.78833125[/C][C]-0.82433125[/C][/ROW]
[ROW][C]25[/C][C]12.574[/C][C]13.5439375[/C][C]-0.9699375[/C][/ROW]
[ROW][C]26[/C][C]13.031[/C][C]13.9002375[/C][C]-0.8692375[/C][/ROW]
[ROW][C]27[/C][C]13.812[/C][C]13.9388375[/C][C]-0.126837500000000[/C][/ROW]
[ROW][C]28[/C][C]14.544[/C][C]14.4078375[/C][C]0.136162500000000[/C][/ROW]
[ROW][C]29[/C][C]14.931[/C][C]14.7464375[/C][C]0.184562499999999[/C][/ROW]
[ROW][C]30[/C][C]14.886[/C][C]14.7316375[/C][C]0.154362499999999[/C][/ROW]
[ROW][C]31[/C][C]16.005[/C][C]14.7646375[/C][C]1.2403625[/C][/ROW]
[ROW][C]32[/C][C]17.064[/C][C]14.7970375[/C][C]2.2669625[/C][/ROW]
[ROW][C]33[/C][C]15.168[/C][C]14.35611875[/C][C]0.81188125[/C][/ROW]
[ROW][C]34[/C][C]16.05[/C][C]14.67431875[/C][C]1.37568125[/C][/ROW]
[ROW][C]35[/C][C]15.839[/C][C]14.47971875[/C][C]1.35928125[/C][/ROW]
[ROW][C]36[/C][C]15.137[/C][C]14.68951875[/C][C]0.44748125[/C][/ROW]
[ROW][C]37[/C][C]14.954[/C][C]15.445125[/C][C]-0.491125[/C][/ROW]
[ROW][C]38[/C][C]15.648[/C][C]15.801425[/C][C]-0.153425000000001[/C][/ROW]
[ROW][C]39[/C][C]15.305[/C][C]15.840025[/C][C]-0.535025[/C][/ROW]
[ROW][C]40[/C][C]15.579[/C][C]16.309025[/C][C]-0.730025[/C][/ROW]
[ROW][C]41[/C][C]16.348[/C][C]16.647625[/C][C]-0.299625000000001[/C][/ROW]
[ROW][C]42[/C][C]15.928[/C][C]16.632825[/C][C]-0.704825[/C][/ROW]
[ROW][C]43[/C][C]16.171[/C][C]16.665825[/C][C]-0.494825000000001[/C][/ROW]
[ROW][C]44[/C][C]15.937[/C][C]16.698225[/C][C]-0.761225[/C][/ROW]
[ROW][C]45[/C][C]15.713[/C][C]16.25730625[/C][C]-0.54430625[/C][/ROW]
[ROW][C]46[/C][C]15.594[/C][C]16.57550625[/C][C]-0.981506250000001[/C][/ROW]
[ROW][C]47[/C][C]15.683[/C][C]16.38090625[/C][C]-0.697906250000001[/C][/ROW]
[ROW][C]48[/C][C]16.438[/C][C]16.59070625[/C][C]-0.152706250000001[/C][/ROW]
[ROW][C]49[/C][C]17.032[/C][C]17.3463125[/C][C]-0.314312500000000[/C][/ROW]
[ROW][C]50[/C][C]17.696[/C][C]17.7026125[/C][C]-0.00661249999999896[/C][/ROW]
[ROW][C]51[/C][C]17.745[/C][C]17.7412125[/C][C]0.00378750000000093[/C][/ROW]
[ROW][C]52[/C][C]19.394[/C][C]18.2102125[/C][C]1.18378750000000[/C][/ROW]
[ROW][C]53[/C][C]20.148[/C][C]18.5488125[/C][C]1.5991875[/C][/ROW]
[ROW][C]54[/C][C]20.108[/C][C]18.5340125[/C][C]1.57398750000000[/C][/ROW]
[ROW][C]55[/C][C]18.584[/C][C]18.5670125[/C][C]0.0169875000000003[/C][/ROW]
[ROW][C]56[/C][C]18.441[/C][C]18.5994125[/C][C]-0.158412500000000[/C][/ROW]
[ROW][C]57[/C][C]18.391[/C][C]18.15849375[/C][C]0.232506249999999[/C][/ROW]
[ROW][C]58[/C][C]19.178[/C][C]18.47669375[/C][C]0.70130625[/C][/ROW]
[ROW][C]59[/C][C]18.079[/C][C]18.28209375[/C][C]-0.203093750000000[/C][/ROW]
[ROW][C]60[/C][C]18.483[/C][C]18.49189375[/C][C]-0.0088937499999988[/C][/ROW]
[ROW][C]61[/C][C]19.644[/C][C]19.2475[/C][C]0.396499999999999[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25051&T=4

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

As an alternative you can also use a QR Code:  

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

Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
110.4138.968968751.44403125
210.7099.325268751.38373125
310.6629.363868751.29813125
410.579.832868750.73713125
510.29710.171468750.125531250000001
610.63510.156668750.47833125
710.87210.189668750.68233125
810.29610.222068750.0739312499999999
910.3839.781150.60185
1010.43110.099350.331649999999998
1110.5749.904750.66925
1210.65310.114550.53845
1310.80510.87015625-0.0651562500000002
1410.87211.22645625-0.354456250000001
1510.62511.26505625-0.64005625
1610.40711.73405625-1.32705625
1710.46312.07265625-1.60965625
1810.55612.05785625-1.50185625
1910.64612.09085625-1.44485625
2010.70212.12325625-1.42125625
2111.35312.45493125-1.10193125000000
2211.34612.77313125-1.42713125
2311.45112.57853125-1.12753125000000
2411.96412.78833125-0.82433125
2512.57413.5439375-0.9699375
2613.03113.9002375-0.8692375
2713.81213.9388375-0.126837500000000
2814.54414.40783750.136162500000000
2914.93114.74643750.184562499999999
3014.88614.73163750.154362499999999
3116.00514.76463751.2403625
3217.06414.79703752.2669625
3315.16814.356118750.81188125
3416.0514.674318751.37568125
3515.83914.479718751.35928125
3615.13714.689518750.44748125
3714.95415.445125-0.491125
3815.64815.801425-0.153425000000001
3915.30515.840025-0.535025
4015.57916.309025-0.730025
4116.34816.647625-0.299625000000001
4215.92816.632825-0.704825
4316.17116.665825-0.494825000000001
4415.93716.698225-0.761225
4515.71316.25730625-0.54430625
4615.59416.57550625-0.981506250000001
4715.68316.38090625-0.697906250000001
4816.43816.59070625-0.152706250000001
4917.03217.3463125-0.314312500000000
5017.69617.7026125-0.00661249999999896
5117.74517.74121250.00378750000000093
5219.39418.21021251.18378750000000
5320.14818.54881251.5991875
5420.10818.53401251.57398750000000
5518.58418.56701250.0169875000000003
5618.44118.5994125-0.158412500000000
5718.39118.158493750.232506249999999
5819.17818.476693750.70130625
5918.07918.28209375-0.203093750000000
6018.48318.49189375-0.0088937499999988
6119.64419.24750.396499999999999



Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
R code (references can be found in the software module):
library(lattice)
par1 <- as.numeric(par1)
x <- t(y)
k <- length(x[1,])
n <- length(x[,1])
x1 <- cbind(x[,par1], x[,1:k!=par1])
mycolnames <- c(colnames(x)[par1], colnames(x)[1:k!=par1])
colnames(x1) <- mycolnames #colnames(x)[par1]
x <- x1
if (par3 == 'First Differences'){
x2 <- array(0, dim=c(n-1,k), dimnames=list(1:(n-1), paste('(1-B)',colnames(x),sep='')))
for (i in 1:n-1) {
for (j in 1:k) {
x2[i,j] <- x[i+1,j] - x[i,j]
}
}
x <- x2
}
if (par2 == 'Include Monthly Dummies'){
x2 <- array(0, dim=c(n,11), dimnames=list(1:n, paste('M', seq(1:11), sep ='')))
for (i in 1:11){
x2[seq(i,n,12),i] <- 1
}
x <- cbind(x, x2)
}
if (par2 == 'Include Quarterly Dummies'){
x2 <- array(0, dim=c(n,3), dimnames=list(1:n, paste('Q', seq(1:3), sep ='')))
for (i in 1:3){
x2[seq(i,n,4),i] <- 1
}
x <- cbind(x, x2)
}
k <- length(x[1,])
if (par3 == 'Linear Trend'){
x <- cbind(x, c(1:n))
colnames(x)[k+1] <- 't'
}
x
k <- length(x[1,])
df <- as.data.frame(x)
(mylm <- lm(df))
(mysum <- summary(mylm))
bitmap(file='test0.png')
plot(x[,1], type='l', main='Actuals and Interpolation', ylab='value of Actuals and Interpolation (dots)', xlab='time or index')
points(x[,1]-mysum$resid)
grid()
dev.off()
bitmap(file='test1.png')
plot(mysum$resid, type='b', pch=19, main='Residuals', ylab='value of Residuals', xlab='time or index')
grid()
dev.off()
bitmap(file='test2.png')
hist(mysum$resid, main='Residual Histogram', xlab='values of Residuals')
grid()
dev.off()
bitmap(file='test3.png')
densityplot(~mysum$resid,col='black',main='Residual Density Plot', xlab='values of Residuals')
dev.off()
bitmap(file='test4.png')
qqnorm(mysum$resid, main='Residual Normal Q-Q Plot')
grid()
dev.off()
(myerror <- as.ts(mysum$resid))
bitmap(file='test5.png')
dum <- cbind(lag(myerror,k=1),myerror)
dum
dum1 <- dum[2:length(myerror),]
dum1
z <- as.data.frame(dum1)
z
plot(z,main=paste('Residual Lag plot, lowess, and regression line'), ylab='values of Residuals', xlab='lagged values of Residuals')
lines(lowess(z))
abline(lm(z))
grid()
dev.off()
bitmap(file='test6.png')
acf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Autocorrelation Function')
grid()
dev.off()
bitmap(file='test7.png')
pacf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Partial Autocorrelation Function')
grid()
dev.off()
bitmap(file='test8.png')
opar <- par(mfrow = c(2,2), oma = c(0, 0, 1.1, 0))
plot(mylm, las = 1, sub='Residual Diagnostics')
par(opar)
dev.off()
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Estimated Regression Equation', 1, TRUE)
a<-table.row.end(a)
myeq <- colnames(x)[1]
myeq <- paste(myeq, '[t] = ', sep='')
for (i in 1:k){
if (mysum$coefficients[i,1] > 0) myeq <- paste(myeq, '+', '')
myeq <- paste(myeq, mysum$coefficients[i,1], sep=' ')
if (rownames(mysum$coefficients)[i] != '(Intercept)') {
myeq <- paste(myeq, rownames(mysum$coefficients)[i], sep='')
if (rownames(mysum$coefficients)[i] != 't') myeq <- paste(myeq, '[t]', sep='')
}
}
myeq <- paste(myeq, ' + e[t]')
a<-table.row.start(a)
a<-table.element(a, myeq)
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,hyperlink('ols1.htm','Multiple Linear Regression - Ordinary Least Squares',''), 6, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Variable',header=TRUE)
a<-table.element(a,'Parameter',header=TRUE)
a<-table.element(a,'S.D.',header=TRUE)
a<-table.element(a,'T-STAT
H0: parameter = 0',header=TRUE)
a<-table.element(a,'2-tail p-value',header=TRUE)
a<-table.element(a,'1-tail p-value',header=TRUE)
a<-table.row.end(a)
for (i in 1:k){
a<-table.row.start(a)
a<-table.element(a,rownames(mysum$coefficients)[i],header=TRUE)
a<-table.element(a,mysum$coefficients[i,1])
a<-table.element(a, round(mysum$coefficients[i,2],6))
a<-table.element(a, round(mysum$coefficients[i,3],4))
a<-table.element(a, round(mysum$coefficients[i,4],6))
a<-table.element(a, round(mysum$coefficients[i,4]/2,6))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable2.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Regression Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple R',1,TRUE)
a<-table.element(a, sqrt(mysum$r.squared))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'R-squared',1,TRUE)
a<-table.element(a, mysum$r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Adjusted R-squared',1,TRUE)
a<-table.element(a, mysum$adj.r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (value)',1,TRUE)
a<-table.element(a, mysum$fstatistic[1])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF numerator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[2])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF denominator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[3])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'p-value',1,TRUE)
a<-table.element(a, 1-pf(mysum$fstatistic[1],mysum$fstatistic[2],mysum$fstatistic[3]))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Residual Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Residual Standard Deviation',1,TRUE)
a<-table.element(a, mysum$sigma)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Sum Squared Residuals',1,TRUE)
a<-table.element(a, sum(myerror*myerror))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable3.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Actuals, Interpolation, and Residuals', 4, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Time or Index', 1, TRUE)
a<-table.element(a, 'Actuals', 1, TRUE)
a<-table.element(a, 'Interpolation
Forecast', 1, TRUE)
a<-table.element(a, 'Residuals
Prediction Error', 1, TRUE)
a<-table.row.end(a)
for (i in 1:n) {
a<-table.row.start(a)
a<-table.element(a,i, 1, TRUE)
a<-table.element(a,x[i])
a<-table.element(a,x[i]-mysum$resid[i])
a<-table.element(a,mysum$resid[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable4.tab')