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, 27 Nov 2019 20:17:42 +0100
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2019/Nov/27/t1574882282c34kmr16qgmo2eo.htm/, Retrieved Fri, 17 May 2024 03:02:27 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=318955, Retrieved Fri, 17 May 2024 03:02:27 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact96
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [PAPER 2014 YT] [2019-11-27 19:17:42] [319a831b7675e92e234a98cb19c503b3] [Current]
Feedback Forum

Post a new message
Dataseries X:
7.5 149 18 1 0.5 0.67 0.67 0 0.5 1 0 11
6 139 31 0.89 0.5 0.83 0.33 0.5 1 1 1 19
6.5 148 39 0.89 0.4 1 0.67 0 1 1 0 16
1 158 46 0.89 0.5 0.83 0 0 0 1 1 24
1 128 31 0.89 0.7 0.67 0 1 1 1 1 15
5.5 224 67 0.78 0.3 0 0 0.5 0.5 1 1 17
8.5 159 35 0.89 0.4 0.83 0.67 0.5 0 1 0 19
6.5 105 52 1 0.4 0.5 0.67 1 1 1 1 19
4.5 159 77 0.89 0.7 0.83 0 0.5 0 1 1 28
2 167 37 0.78 0.6 0.33 0.67 0.5 0.5 1 1 26
5 165 32 1 0.6 0.5 1 0 0.5 1 1 15
0.5 159 36 0.78 0.2 0.67 0 0.5 0.5 1 1 26
5 119 38 0.89 0.4 1 0 0.5 0.5 1 1 16
5 176 69 0.89 0.4 0.5 0.67 0 1 1 0 24
2.5 54 21 0.89 0.5 0.67 0.33 0 0 1 0 25
5 91 26 0.89 0.3 0.17 0.67 0 0.5 0 0 22
5.5 163 54 0.89 0.4 0.83 0.33 0.5 0.5 1 1 15
3.5 124 36 0.67 0.7 0.67 0.33 0.5 1 1 0 21
3 137 42 1 0.5 0.67 0.33 0 1 0 1 22
4 121 23 0.78 0.2 0.67 0 0 1 1 0 27
0.5 153 34 0.78 0.3 0.5 0.67 0 0.5 1 1 26
6.5 148 112 0.89 0.6 1 0.33 0 1 1 1 26
4.5 221 35 0.78 0.6 0.83 0.33 0 1 1 0 22
7.5 188 47 0.89 0.2 0.83 0.33 0 1 1 1 21
5.5 149 47 0.89 0.7 1 0.67 1 0 1 1 22
4 244 37 0.33 0.2 0.67 0 0 0 1 1 20
7.5 148 109 1 1 1 0.33 1 1 0 1 21
7 92 24 0.89 0.4 0.83 0.67 0 0.5 0 0 20
4 150 20 0.89 0.4 1 1 0 1 1 1 22
5.5 153 22 0.67 0.2 0.83 0.67 0 0.5 1 0 21
2.5 94 23 0.56 0.4 0.67 0.33 0 1 1 0 8
5.5 156 32 0.89 0.4 0.67 0 0.5 1 1 0 22
3.5 132 30 0.89 0.7 1 0.67 0.5 0.5 1 1 20
2.5 161 92 1 0.2 0.67 0.67 0 0.5 1 1 24
4.5 105 43 0.78 0.6 1 1 0 0.5 1 1 17
4.5 97 55 0.78 0.3 1 1 0.5 0.5 1 1 20
4.5 151 16 0.33 0.3 0.5 0.33 0 0 1 0 23
6 131 49 0.78 0.2 0.67 0 0.5 0 0 1 20
2.5 166 71 0.89 0.5 0.83 0.67 0.5 0.5 1 1 22
5 157 43 0.89 0.7 1 0.67 0.5 1 1 0 19
0 111 29 0.78 0.6 1 0.67 0.5 0.5 1 1 15
5 145 56 0.89 0.4 1 0.67 0.5 1 1 1 20
6.5 162 46 0.89 0.6 1 0.33 0.5 1 1 1 22
5 163 19 1 0.4 1 1 0 1 1 1 17
6 59 23 0.67 0.3 0.83 0.67 0 1 0 1 14
4.5 187 59 1 0.5 0.83 0.67 0.5 0.5 1 0 24
5.5 109 30 0.89 0.2 0.5 0 0 1 1 1 17
1 90 61 0.89 0.3 0.83 0 0.5 1 0 1 23
7.5 105 7 0.89 0.5 0.17 0 0 1 1 0 25
6 83 38 0.78 0.7 0.83 1 0.5 1 0 1 16
5 116 32 0.89 0.4 1 0.67 1 0.5 0 1 18
1 42 16 0.78 0.3 1 0 0 0.5 0 1 20
5 148 19 0.78 0.2 0.67 0.67 1 1 1 1 18
6.5 155 22 1 0.5 1 0 0 0.5 0 1 23
7 125 48 0.78 0.4 1 0 0.5 0 1 1 24
4.5 116 23 1 0.6 1 0.67 1 1 1 1 23
0 128 26 0.78 0.4 0.83 1 0 1 0 0 13
8.5 138 33 0.67 0.4 0.33 0 0 0.5 1 1 20
3.5 49 9 0.33 0.2 0.33 0.33 0 0 0 0 20
7.5 96 24 1 0.9 1 0.67 0.5 1 0 1 19
3.5 164 34 1 0.8 1 0.67 1 0.5 1 1 22
6 162 48 0.78 0.8 0.83 0 0.5 1 1 0 22
1.5 99 18 0.67 0.3 1 1 0.5 1 1 0 15
9 202 43 1 0.2 0.83 0.67 0 0.5 1 1 17
3.5 186 33 0.89 0.4 0.67 0 0.5 1 1 0 19
3.5 66 28 0.89 0.2 0.83 1 0 1 0 1 20
4 183 71 0.78 0.2 0.67 0.67 0.5 1 1 0 22
6.5 214 26 1 0.1 0.83 0.67 0 1 1 1 21
7.5 188 67 0.56 0.4 0.67 1 0.5 0 1 1 21
6 104 34 0.67 0.5 1 0 0.5 0.5 0 0 16
5 177 80 0.89 0.8 0.83 0.33 0.5 1 1 0 20
5.5 126 29 0.89 0.4 0.67 0.67 0 0.5 1 0 21
3.5 76 16 0.89 0.6 0.83 0.33 0.5 0.5 0 0 20
7.5 99 59 0.89 0.5 0.83 0.67 0.5 1 0 1 23
6.5 139 32 0.78 0.3 0.67 0 0 0 1 0 18
6.5 162 43 1 0.4 0.33 0 0.5 0 1 0 16
6.5 108 38 1 0.6 0.83 0.67 0.5 0.5 0 1 17
7 159 29 0.89 0.4 1 0.33 0 0.5 1 0 24
3.5 74 36 0.44 0.3 0.83 0 0 0 0 0 13
1.5 110 32 0.78 0.8 0.83 0 1 1 1 1 19
4 96 35 0.89 0.6 0.5 0.33 1 1 0 0 20
7.5 116 21 0.67 0.3 0.5 0 0 0 0 0 22
4.5 87 29 0.78 0.5 0.83 0.67 0.5 1 0 0 19
0 97 12 0.78 0.4 1 0.33 0 1 0 1 21
3.5 127 37 0.33 0.3 0.33 0.67 0 0 0 0 15
5.5 106 37 0.89 0.7 1 0.33 0 0.5 0 1 21
5 80 47 0.89 0.2 0.67 0.33 0.5 0.5 0 1 24
4.5 74 51 0.89 0.4 0.83 1 0 1 0 0 22
2.5 91 32 0.89 0.6 1 0.67 0.5 0.5 0 0 20
7.5 133 21 0.56 0.6 0.83 0 0 1 0 0 21
7 74 13 0.67 0.6 0.83 0.67 0.5 0.5 0 1 19
0 114 14 0.67 0.4 1 0.33 0.5 1 0 1 14
4.5 140 -2 0.78 0.6 0.83 0 0 1 0 1 25
3 95 20 0.78 0.5 1 0.33 0.5 1 0 0 11
1.5 98 24 0.78 0.5 0.83 0 0 1 0 1 17
3.5 121 11 0.89 0.6 0.67 0 0 1 0 0 22
2.5 126 23 1 0.8 0.83 0.33 0.5 1 0 1 20
5.5 98 24 0.89 0.5 0.83 0.67 1 0.5 0 1 22
8 95 14 0.89 0.6 0.83 0.67 0.5 1 0 1 15
1 110 52 0.78 0.4 0.83 0.67 0.5 1 0 1 23
5 70 15 1 0.3 0.67 0.67 0.5 1 0 1 20
4.5 102 23 0.78 0.3 0.83 1 0 0.5 0 0 22
3 86 19 0.67 0.2 0 0 0 0 0 1 16
3 130 35 0.78 0.4 0.83 0 0 0.5 0 1 25
8 96 24 0.89 0.5 1 0 0 0.5 0 1 18
2.5 102 39 0.67 0.3 0.17 0 0.5 0 0 0 19
7 100 29 0.22 0.4 0.17 0 0.5 0 0 0 25
0 94 13 0.44 0.5 0.5 1 0 0 0 0 21
1 52 8 0.89 0.3 0.5 0.67 0 1 0 0 22
3.5 98 18 0.67 0.5 1 0 0 0.5 0 0 21
5.5 118 24 0.89 0.4 0.67 0.67 0 0.5 0 0 22
5.5 99 19 0.67 0.4 0.83 0.67 0 1 0 1 23
0.5 48 23 0.78 0.6 1 0 1 1 1 1 20
7.5 50 16 0.78 0.3 1 0.67 1 1 1 1 6
9 150 33 0.78 0.4 1 0.33 1 0.5 1 1 15
9.5 154 32 1 0.3 1 1 1 1 1 1 18
8.5 109 37 0.78 1 1 1 1 1 0 0 24
7 68 14 0.67 0.4 1 0 0 0.5 0 1 22
8 194 52 0.89 0.8 0.83 1 0.5 1 1 1 21
10 158 75 0.89 0.3 1 0.67 1 1 1 0 23
7 159 72 1 0.5 0.83 0.67 0 1 1 1 20
8.5 67 15 0.78 0.4 1 0 0 0.5 1 0 20
9 147 29 0.67 0.3 0.83 0.67 0 1 1 0 18
9.5 39 13 0.89 0.5 0.83 1 0 1 1 1 25
4 100 40 0.67 0.3 1 0.67 0 1 1 1 16
6 111 19 0.67 0.3 0.67 0 0 1 1 1 20
8 138 24 1 0.4 0.83 0 0 1 1 1 14
5.5 101 121 0.67 0.3 1 0 0 0.5 1 1 22
9.5 131 93 1 0.6 1 0.33 0.5 0.5 0 1 26
7.5 101 36 0.89 0.6 0.83 0.67 1 1 1 1 20
7 114 23 0.89 0.4 1 1 1 1 1 1 17
7.5 165 85 1 0.4 1 0 0 0 1 0 22
8 114 41 0.67 0.4 1 0.67 0 0.5 1 1 22
7 111 46 0.44 0.3 0.67 0.67 0.5 1 1 1 20
7 75 18 0.89 0.2 1 0.33 1 0 1 1 17
6 82 35 0.56 0.5 0.83 0.67 0 1 1 1 22
10 121 17 0.78 0.4 1 0.67 1 1 1 1 17
2.5 32 4 1 0.4 1 0.67 0 0 1 1 22
9 150 28 1 0.4 0.83 0.67 0 1 1 0 21
8 117 44 0.89 0.3 0.67 0.67 0.5 0.5 1 1 25
6 71 10 0.67 0.4 0.83 0.67 1 0.5 0 1 11
8.5 165 38 0.89 0.2 1 0.33 0.5 1 1 1 19
6 154 57 0.33 0 0 0 0 0 1 1 24
9 126 23 0.89 0.4 1 0.67 0.5 1 1 1 17
8 149 36 0.78 0.6 1 0 1 1 1 0 22
9 145 22 1 0.4 0.67 0.67 0 0.5 1 0 17
5.5 120 40 0.44 0.4 1 0 0 0.5 1 1 26
7 109 31 0.67 0.4 0.83 0 0.5 0 1 0 20
5.5 132 11 0.33 0.2 0.17 0 0.5 0 1 0 19
9 172 38 0.89 0.4 0.83 1 1 1 1 1 21
2 169 24 0.89 0.3 0.83 0 0 0.5 1 0 24
8.5 114 37 1 0.6 0.83 0.67 1 0 1 1 21
9 156 37 0.89 0.6 0.83 1 0 1 1 1 19
8.5 172 22 0.89 0.4 0.83 0 0 1 1 0 13
9 68 15 1 0.5 1 0.67 1 0.5 0 1 24
7.5 89 2 0.89 0.4 0.83 0 0.5 1 0 1 28
10 167 43 1 0.6 1 1 1 1 1 1 27
9 113 31 0.78 0.6 0.83 0.67 0.5 1 1 0 22
7.5 115 29 0.78 0.9 1 0.67 0.5 1 0 0 23
6 78 45 0.67 0.4 0.83 0.67 0.5 0 0 0 19
10.5 118 25 0.89 0.8 1 1 0.5 1 0 0 18
8.5 87 4 0.67 0.5 0.83 1 0 1 0 1 23
8 173 31 0.78 0.4 0.83 1 0 0 1 0 21
10 2 -4 0.89 0.4 1 0.67 1 0.5 1 1 22
10.5 162 66 0.89 0.7 1 1 1 0.5 0 0 17
6.5 49 61 0.78 0.4 1 0.33 1 1 0 1 15
9.5 122 32 1 0.8 1 0.67 0.5 1 0 0 21
8.5 96 31 1 0.4 1 1 1 0.5 0 1 20
7.5 100 39 1 0.3 1 0.67 0 0.5 0 0 26
5 82 19 0.67 0.5 1 0.67 0.5 1 0 0 19
8 100 31 0.89 0.8 1 0.67 1 1 0 1 28
10 115 36 1 0.4 0.83 0.33 0 0.5 0 0 21
7 141 42 1 1 1 1 0.5 0 0 1 19
7.5 165 21 0.89 0.5 1 0.67 1 1 1 1 22
7.5 165 21 0.89 0.5 1 0.67 1 1 1 1 21
9.5 110 25 0.89 0.3 1 0.33 0 1 0 1 20
6 118 32 0.89 0.3 0.83 0.33 0.5 1 1 1 19
10 158 26 0.89 0.3 0.5 0 0 1 1 0 11
7 146 28 1 0.4 0.67 0.33 0.5 0.5 0 1 17
3 49 32 0.67 0.5 1 0.33 0 1 1 0 19
6 90 41 1 0.5 0.67 0.67 0.5 1 0 0 20
7 121 29 0.89 0.4 1 0 0 0 0 0 17
10 155 33 0.89 0.7 1 1 0.5 0 1 1 21
7 104 17 0.89 0.5 0.5 0.33 0 0.5 0 0 21
3.5 147 13 0.89 0.4 0.67 0.33 1 0 0 1 12
8 110 32 1 0.7 0.67 1 0 1 0 0 23
10 108 30 1 0.7 0.67 1 0 1 0 0 22
5.5 113 34 1 0.7 0.67 1 0 1 0 0 22
6 115 59 0.89 0.7 0.67 1 0 1 0 0 21
6.5 61 13 0.89 0.7 0.67 0 0 0 0 1 20
6.5 60 23 0.89 0.7 1 0.67 0.5 1 0 1 18
8.5 109 10 0.33 0.1 0.67 0.33 0.5 0 0 1 21
4 68 5 0.67 0.2 0.67 0.67 0.5 1 0 1 24
9.5 111 31 0.56 0.3 0.33 0.33 0 1 0 0 22
8 77 19 0.44 0.6 0.83 0.33 0 0.5 0 0 20
8.5 73 32 1 0.8 1 1 1 1 0 1 17
5.5 151 30 0.89 0.8 1 0.33 0.5 0.5 1 0 19
7 89 25 0.33 0 0.17 0 0 0 0 0 16
9 78 48 0.67 0.3 0.67 0.33 0 1 0 0 19
8 110 35 0.67 0.6 0.83 0.33 0.5 1 0 0 23
10 220 67 1 0.5 0.83 0.67 0 1 1 1 8
8 65 15 0.78 0.7 1 0.33 0 0.5 0 1 22
6 141 22 0.67 0.3 0.83 0 0.5 1 1 0 23
8 117 18 1 0.3 1 0.67 0 0 0 0 15
5 122 33 0.78 0.4 1 0.67 0 0.5 1 1 17
9 63 46 0.89 0.4 0.83 1 0 1 0 0 21
4.5 44 24 0.89 0.1 0.83 0 0 1 1 1 25
8.5 52 14 0.89 0.5 1 0.67 0 1 0 1 18
9.5 131 12 0 0 0 0 0 0 0 0 20
8.5 101 38 0.67 0.4 1 0.33 0.5 0 0 1 21
7.5 42 12 1 0.6 0.83 0.67 1 0.5 0 1 21
7.5 152 28 1 0.4 1 0.33 0.5 1 1 1 24
5 107 41 0.67 0.1 0.33 0 0.5 1 1 0 22
7 77 12 0.89 0.3 0.83 0 0 1 0 0 22
8 154 31 0.89 0.7 0.83 0.67 0 1 1 0 23
5.5 103 33 0.56 0.3 0.17 0 0 1 1 1 17
8.5 96 34 0.67 0.5 0.83 0.33 0.5 0 0 1 15
9.5 175 21 1 0.3 0.83 0.67 1 1 1 1 22
7 57 20 1 0.6 0.67 0.67 0.5 1 0 1 19
8 112 44 1 0.9 1 1 0 1 0 0 18
8.5 143 52 0.67 0.4 0.83 0 0.5 1 1 0 21
3.5 49 7 0.44 0.3 1 0 0.5 0.5 0 0 20
6.5 110 29 0.89 0.9 1 0.67 1 1 1 1 19
6.5 131 11 0.44 0.5 1 0 0.5 0 1 1 19
10.5 167 26 0.56 0.3 1 1 0.5 0.5 1 0 16
8.5 56 24 0.89 0.6 0.83 0.67 0 0.5 0 0 18
8 137 7 0.67 0.2 1 0.33 0 0.5 1 0 23
10 86 60 0.89 0.4 0.83 1 0.5 1 0 1 22
10 121 13 1 0.5 0.83 0.67 0.5 0.5 1 1 23
9.5 149 20 0.78 0.4 0.83 0.67 0 0.5 1 0 20
9 168 52 0.44 0 0 0 0 0 1 0 24
10 140 28 0.89 0.2 1 0.33 0.5 1 1 0 25
7.5 88 25 0.89 0.5 1 0.67 0.5 1 0 1 25
4.5 168 39 0.89 0.3 1 0.67 0 0.5 1 1 20
4.5 94 9 0.44 0 0 0 0 0 1 1 23
0.5 51 19 1 0.5 0.83 1 0 1 1 1 21
6.5 48 13 0.89 0.6 0.83 0.33 0 1 0 0 23
4.5 145 60 0.67 0.3 0.83 0 0.5 0.5 1 1 23
5.5 66 19 0.33 0 0 0 0 0 1 1 11
5 85 34 0.78 0.3 0.67 0 0.5 0 0 1 21
6 109 14 0.89 0.5 1 0.67 0.5 1 1 0 27
4 63 17 0.78 0.4 0.67 0 0 1 0 0 19
8 102 45 0.78 0.5 0.83 0.67 0 0.5 0 1 21
10.5 162 66 0.89 0.7 1 1 1 0.5 0 0 16
6.5 86 48 0.78 0.8 1 0.67 0.5 1 0 1 21
8 114 29 0.78 0.6 1 0.33 0.5 1 0 1 22
8.5 164 -2 0.67 0.4 0.83 0.33 0 0.5 1 0 16
5.5 119 51 0.89 0.5 0.83 0.33 0.5 0 1 1 18
7 126 2 0.89 0.5 1 0 0.5 1 1 0 23
5 132 24 0.78 0.3 1 0.33 0 1 1 1 24
3.5 142 40 1 0.6 1 0 0.5 1 1 1 20
5 83 20 1 0.3 0.67 0.67 0 0.5 1 0 20
9 94 19 0.78 0.6 0.83 1 0.5 0.5 0 1 18
8.5 81 16 0.78 0.3 0.33 0.33 0 1 0 0 4
5 166 20 0.89 0.7 1 0.67 1 1 1 1 14
9.5 110 40 0.89 0.7 1 1 0 1 0 0 22
3 64 27 0.67 0.6 0.67 1 0.5 1 0 1 17
1.5 93 25 1 0.5 1 0.33 0.5 0 1 0 23
6 104 49 0.67 0.5 0.83 0.33 0 0.5 0 0 20
0.5 105 39 0.56 0.4 0.67 0 0 1 0 1 18
6.5 49 61 0.78 0.4 1 0.33 1 1 0 1 19
7.5 88 19 1 0.7 1 1 0 1 0 0 20
4.5 95 67 0.67 0.2 0.17 0 0.5 0 0 1 15
8 102 45 0.78 0.5 0.83 0.67 0 0.5 0 1 24
9 99 30 0.56 0.4 0.83 0.67 0.5 0 0 0 21
7.5 63 8 1 0.2 1 0.67 1 1 0 1 19
8.5 76 19 0.89 0.5 0.67 0.67 0 0 0 0 19
7 109 52 0.44 0.4 0.5 0 0 1 0 0 27
9.5 117 22 1 0.7 0.67 1 1 1 0 1 23
6.5 57 17 0.89 0.6 0.83 0.67 1 0 0 1 23
9.5 120 33 0.78 0.4 0.83 0 0 0 0 0 20
6 73 34 0.89 0.5 1 0.67 1 1 0 1 17
8 91 22 0.11 0 0.17 0 0 0 0 0 21
9.5 108 30 0.89 0.7 1 0.67 0.5 1 0 0 23
8 105 25 0.89 0.4 0.67 0.67 0 1 0 1 22
8 117 38 1 0.5 0.67 1 0 1 1 0 16
9 119 26 0.89 0.6 0.83 0.67 0 0.5 0 0 20
5 31 13 1 0.8 0.5 0.67 0.5 0.5 0 1 16




Summary of computational transaction
Raw Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R ServerBig Analytics Cloud Computing Center

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input view raw input (R code)  \tabularnewline
Raw Outputview raw output of R engine  \tabularnewline
Computing time3 seconds \tabularnewline
R ServerBig Analytics Cloud Computing Center \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=318955&T=0

[TABLE]
[ROW]
Summary of computational transaction[/C][/ROW] [ROW]Raw Input[/C] view raw input (R code) [/C][/ROW] [ROW]Raw Output[/C]view raw output of R engine [/C][/ROW] [ROW]Computing time[/C]3 seconds[/C][/ROW] [ROW]R Server[/C]Big Analytics Cloud Computing Center[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=318955&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=318955&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 Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R ServerBig Analytics Cloud Computing Center







Multiple Linear Regression - Estimated Regression Equation
Ex[t] = + 3.9804 + 0.0112468LFM[t] -0.00267528PRH[t] + 0.54035Calculation[t] -0.972362Algebraic_Reasoning[t] + 0.963587Graphical_Interpretation[t] + 1.42618Proportionality_and_Ratio[t] + 0.742287Probability_and_Sampling[t] -0.211817Estimation[t] -0.636227group[t] -0.754744gender[t] + 0.00934061AMS.I1[t] + e[t]
Warning: you did not specify the column number of the endogenous series! The first column was selected by default.

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Ex[t] =  +  3.9804 +  0.0112468LFM[t] -0.00267528PRH[t] +  0.54035Calculation[t] -0.972362Algebraic_Reasoning[t] +  0.963587Graphical_Interpretation[t] +  1.42618Proportionality_and_Ratio[t] +  0.742287Probability_and_Sampling[t] -0.211817Estimation[t] -0.636227group[t] -0.754744gender[t] +  0.00934061AMS.I1[t]  + e[t] \tabularnewline
Warning: you did not specify the column number of the endogenous series! The first column was selected by default. \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=318955&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Ex[t] =  +  3.9804 +  0.0112468LFM[t] -0.00267528PRH[t] +  0.54035Calculation[t] -0.972362Algebraic_Reasoning[t] +  0.963587Graphical_Interpretation[t] +  1.42618Proportionality_and_Ratio[t] +  0.742287Probability_and_Sampling[t] -0.211817Estimation[t] -0.636227group[t] -0.754744gender[t] +  0.00934061AMS.I1[t]  + e[t][/C][/ROW]
[ROW][C]Warning: you did not specify the column number of the endogenous series! The first column was selected by default.[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=318955&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=318955&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
Ex[t] = + 3.9804 + 0.0112468LFM[t] -0.00267528PRH[t] + 0.54035Calculation[t] -0.972362Algebraic_Reasoning[t] + 0.963587Graphical_Interpretation[t] + 1.42618Proportionality_and_Ratio[t] + 0.742287Probability_and_Sampling[t] -0.211817Estimation[t] -0.636227group[t] -0.754744gender[t] + 0.00934061AMS.I1[t] + e[t]
Warning: you did not specify the column number of the endogenous series! The first column was selected by default.







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)+3.98 1.105+3.6010e+00 0.0003785 0.0001893
LFM+0.01125 0.004688+2.3990e+00 0.01713 0.008565
PRH-0.002675 0.008627-3.1010e-01 0.7567 0.3784
Calculation+0.5403 1.012+5.3420e-01 0.5937 0.2968
Algebraic_Reasoning-0.9724 0.9523-1.0210e+00 0.3081 0.1541
Graphical_Interpretation+0.9636 0.7377+1.3060e+00 0.1926 0.09629
Proportionality_and_Ratio+1.426 0.4645+3.0700e+00 0.002361 0.00118
Probability_and_Sampling+0.7423 0.4437+1.6730e+00 0.0955 0.04775
Estimation-0.2118 0.4115-5.1480e-01 0.6072 0.3036
group-0.6362 0.3593-1.7710e+00 0.07771 0.03885
gender-0.7547 0.3203-2.3570e+00 0.01917 0.009584
AMS.I1+0.009341 0.04028+2.3190e-01 0.8168 0.4084

\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) & +3.98 &  1.105 & +3.6010e+00 &  0.0003785 &  0.0001893 \tabularnewline
LFM & +0.01125 &  0.004688 & +2.3990e+00 &  0.01713 &  0.008565 \tabularnewline
PRH & -0.002675 &  0.008627 & -3.1010e-01 &  0.7567 &  0.3784 \tabularnewline
Calculation & +0.5403 &  1.012 & +5.3420e-01 &  0.5937 &  0.2968 \tabularnewline
Algebraic_Reasoning & -0.9724 &  0.9523 & -1.0210e+00 &  0.3081 &  0.1541 \tabularnewline
Graphical_Interpretation & +0.9636 &  0.7377 & +1.3060e+00 &  0.1926 &  0.09629 \tabularnewline
Proportionality_and_Ratio & +1.426 &  0.4645 & +3.0700e+00 &  0.002361 &  0.00118 \tabularnewline
Probability_and_Sampling & +0.7423 &  0.4437 & +1.6730e+00 &  0.0955 &  0.04775 \tabularnewline
Estimation & -0.2118 &  0.4115 & -5.1480e-01 &  0.6072 &  0.3036 \tabularnewline
group & -0.6362 &  0.3593 & -1.7710e+00 &  0.07771 &  0.03885 \tabularnewline
gender & -0.7547 &  0.3203 & -2.3570e+00 &  0.01917 &  0.009584 \tabularnewline
AMS.I1 & +0.009341 &  0.04028 & +2.3190e-01 &  0.8168 &  0.4084 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=318955&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]+3.98[/C][C] 1.105[/C][C]+3.6010e+00[/C][C] 0.0003785[/C][C] 0.0001893[/C][/ROW]
[ROW][C]LFM[/C][C]+0.01125[/C][C] 0.004688[/C][C]+2.3990e+00[/C][C] 0.01713[/C][C] 0.008565[/C][/ROW]
[ROW][C]PRH[/C][C]-0.002675[/C][C] 0.008627[/C][C]-3.1010e-01[/C][C] 0.7567[/C][C] 0.3784[/C][/ROW]
[ROW][C]Calculation[/C][C]+0.5403[/C][C] 1.012[/C][C]+5.3420e-01[/C][C] 0.5937[/C][C] 0.2968[/C][/ROW]
[ROW][C]Algebraic_Reasoning[/C][C]-0.9724[/C][C] 0.9523[/C][C]-1.0210e+00[/C][C] 0.3081[/C][C] 0.1541[/C][/ROW]
[ROW][C]Graphical_Interpretation[/C][C]+0.9636[/C][C] 0.7377[/C][C]+1.3060e+00[/C][C] 0.1926[/C][C] 0.09629[/C][/ROW]
[ROW][C]Proportionality_and_Ratio[/C][C]+1.426[/C][C] 0.4645[/C][C]+3.0700e+00[/C][C] 0.002361[/C][C] 0.00118[/C][/ROW]
[ROW][C]Probability_and_Sampling[/C][C]+0.7423[/C][C] 0.4437[/C][C]+1.6730e+00[/C][C] 0.0955[/C][C] 0.04775[/C][/ROW]
[ROW][C]Estimation[/C][C]-0.2118[/C][C] 0.4115[/C][C]-5.1480e-01[/C][C] 0.6072[/C][C] 0.3036[/C][/ROW]
[ROW][C]group[/C][C]-0.6362[/C][C] 0.3593[/C][C]-1.7710e+00[/C][C] 0.07771[/C][C] 0.03885[/C][/ROW]
[ROW][C]gender[/C][C]-0.7547[/C][C] 0.3203[/C][C]-2.3570e+00[/C][C] 0.01917[/C][C] 0.009584[/C][/ROW]
[ROW][C]AMS.I1[/C][C]+0.009341[/C][C] 0.04028[/C][C]+2.3190e-01[/C][C] 0.8168[/C][C] 0.4084[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=318955&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=318955&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)+3.98 1.105+3.6010e+00 0.0003785 0.0001893
LFM+0.01125 0.004688+2.3990e+00 0.01713 0.008565
PRH-0.002675 0.008627-3.1010e-01 0.7567 0.3784
Calculation+0.5403 1.012+5.3420e-01 0.5937 0.2968
Algebraic_Reasoning-0.9724 0.9523-1.0210e+00 0.3081 0.1541
Graphical_Interpretation+0.9636 0.7377+1.3060e+00 0.1926 0.09629
Proportionality_and_Ratio+1.426 0.4645+3.0700e+00 0.002361 0.00118
Probability_and_Sampling+0.7423 0.4437+1.6730e+00 0.0955 0.04775
Estimation-0.2118 0.4115-5.1480e-01 0.6072 0.3036
group-0.6362 0.3593-1.7710e+00 0.07771 0.03885
gender-0.7547 0.3203-2.3570e+00 0.01917 0.009584
AMS.I1+0.009341 0.04028+2.3190e-01 0.8168 0.4084







Multiple Linear Regression - Regression Statistics
Multiple R 0.3187
R-squared 0.1015
Adjusted R-squared 0.06439
F-TEST (value) 2.733
F-TEST (DF numerator)11
F-TEST (DF denominator)266
p-value 0.002303
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation 2.451
Sum Squared Residuals 1598

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R &  0.3187 \tabularnewline
R-squared &  0.1015 \tabularnewline
Adjusted R-squared &  0.06439 \tabularnewline
F-TEST (value) &  2.733 \tabularnewline
F-TEST (DF numerator) & 11 \tabularnewline
F-TEST (DF denominator) & 266 \tabularnewline
p-value &  0.002303 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation &  2.451 \tabularnewline
Sum Squared Residuals &  1598 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=318955&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C] 0.3187[/C][/ROW]
[ROW][C]R-squared[/C][C] 0.1015[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C] 0.06439[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C] 2.733[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]11[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]266[/C][/ROW]
[ROW][C]p-value[/C][C] 0.002303[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C] 2.451[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C] 1598[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=318955&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=318955&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 R 0.3187
R-squared 0.1015
Adjusted R-squared 0.06439
F-TEST (value) 2.733
F-TEST (DF numerator)11
F-TEST (DF denominator)266
p-value 0.002303
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation 2.451
Sum Squared Residuals 1598







Menu of Residual Diagnostics
DescriptionLink
HistogramCompute
Central TendencyCompute
QQ PlotCompute
Kernel Density PlotCompute
Skewness/Kurtosis TestCompute
Skewness-Kurtosis PlotCompute
Harrell-Davis PlotCompute
Bootstrap Plot -- Central TendencyCompute
Blocked Bootstrap Plot -- Central TendencyCompute
(Partial) Autocorrelation PlotCompute
Spectral AnalysisCompute
Tukey lambda PPCC PlotCompute
Box-Cox Normality PlotCompute
Summary StatisticsCompute

\begin{tabular}{lllllllll}
\hline
Menu of Residual Diagnostics \tabularnewline
Description & Link \tabularnewline
Histogram & Compute \tabularnewline
Central Tendency & Compute \tabularnewline
QQ Plot & Compute \tabularnewline
Kernel Density Plot & Compute \tabularnewline
Skewness/Kurtosis Test & Compute \tabularnewline
Skewness-Kurtosis Plot & Compute \tabularnewline
Harrell-Davis Plot & Compute \tabularnewline
Bootstrap Plot -- Central Tendency & Compute \tabularnewline
Blocked Bootstrap Plot -- Central Tendency & Compute \tabularnewline
(Partial) Autocorrelation Plot & Compute \tabularnewline
Spectral Analysis & Compute \tabularnewline
Tukey lambda PPCC Plot & Compute \tabularnewline
Box-Cox Normality Plot & Compute \tabularnewline
Summary Statistics & Compute \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=318955&T=4

[TABLE]
[ROW][C]Menu of Residual Diagnostics[/C][/ROW]
[ROW][C]Description[/C][C]Link[/C][/ROW]
[ROW][C]Histogram[/C][C]Compute[/C][/ROW]
[ROW][C]Central Tendency[/C][C]Compute[/C][/ROW]
[ROW][C]QQ Plot[/C][C]Compute[/C][/ROW]
[ROW][C]Kernel Density Plot[/C][C]Compute[/C][/ROW]
[ROW][C]Skewness/Kurtosis Test[/C][C]Compute[/C][/ROW]
[ROW][C]Skewness-Kurtosis Plot[/C][C]Compute[/C][/ROW]
[ROW][C]Harrell-Davis Plot[/C][C]Compute[/C][/ROW]
[ROW][C]Bootstrap Plot -- Central Tendency[/C][C]Compute[/C][/ROW]
[ROW][C]Blocked Bootstrap Plot -- Central Tendency[/C][C]Compute[/C][/ROW]
[ROW][C](Partial) Autocorrelation Plot[/C][C]Compute[/C][/ROW]
[ROW][C]Spectral Analysis[/C][C]Compute[/C][/ROW]
[ROW][C]Tukey lambda PPCC Plot[/C][C]Compute[/C][/ROW]
[ROW][C]Box-Cox Normality Plot[/C][C]Compute[/C][/ROW]
[ROW][C]Summary Statistics[/C][C]Compute[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=318955&T=4

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

As an alternative you can also use a QR Code:  

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

Menu of Residual Diagnostics
DescriptionLink
HistogramCompute
Central TendencyCompute
QQ PlotCompute
Kernel Density PlotCompute
Skewness/Kurtosis TestCompute
Skewness-Kurtosis PlotCompute
Harrell-Davis PlotCompute
Bootstrap Plot -- Central TendencyCompute
Blocked Bootstrap Plot -- Central TendencyCompute
(Partial) Autocorrelation PlotCompute
Spectral AnalysisCompute
Tukey lambda PPCC PlotCompute
Box-Cox Normality PlotCompute
Summary StatisticsCompute







Ramsey RESET F-Test for powers (2 and 3) of fitted values
> reset_test_fitted
	RESET test
data:  mylm
RESET = 1.0111, df1 = 2, df2 = 264, p-value = 0.3652
Ramsey RESET F-Test for powers (2 and 3) of regressors
> reset_test_regressors
	RESET test
data:  mylm
RESET = 0.87411, df1 = 22, df2 = 244, p-value = 0.6293
Ramsey RESET F-Test for powers (2 and 3) of principal components
> reset_test_principal_components
	RESET test
data:  mylm
RESET = 0.81084, df1 = 2, df2 = 264, p-value = 0.4456

\begin{tabular}{lllllllll}
\hline
Ramsey RESET F-Test for powers (2 and 3) of fitted values \tabularnewline
> reset_test_fitted
	RESET test
data:  mylm
RESET = 1.0111, df1 = 2, df2 = 264, p-value = 0.3652
\tabularnewline Ramsey RESET F-Test for powers (2 and 3) of regressors \tabularnewline
> reset_test_regressors
	RESET test
data:  mylm
RESET = 0.87411, df1 = 22, df2 = 244, p-value = 0.6293
\tabularnewline Ramsey RESET F-Test for powers (2 and 3) of principal components \tabularnewline
> reset_test_principal_components
	RESET test
data:  mylm
RESET = 0.81084, df1 = 2, df2 = 264, p-value = 0.4456
\tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=318955&T=5

[TABLE]
[ROW][C]Ramsey RESET F-Test for powers (2 and 3) of fitted values[/C][/ROW]
[ROW][C]
> reset_test_fitted
	RESET test
data:  mylm
RESET = 1.0111, df1 = 2, df2 = 264, p-value = 0.3652
[/C][/ROW] [ROW][C]Ramsey RESET F-Test for powers (2 and 3) of regressors[/C][/ROW] [ROW][C]
> reset_test_regressors
	RESET test
data:  mylm
RESET = 0.87411, df1 = 22, df2 = 244, p-value = 0.6293
[/C][/ROW] [ROW][C]Ramsey RESET F-Test for powers (2 and 3) of principal components[/C][/ROW] [ROW][C]
> reset_test_principal_components
	RESET test
data:  mylm
RESET = 0.81084, df1 = 2, df2 = 264, p-value = 0.4456
[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=318955&T=5

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

As an alternative you can also use a QR Code:  

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

Ramsey RESET F-Test for powers (2 and 3) of fitted values
> reset_test_fitted
	RESET test
data:  mylm
RESET = 1.0111, df1 = 2, df2 = 264, p-value = 0.3652
Ramsey RESET F-Test for powers (2 and 3) of regressors
> reset_test_regressors
	RESET test
data:  mylm
RESET = 0.87411, df1 = 22, df2 = 244, p-value = 0.6293
Ramsey RESET F-Test for powers (2 and 3) of principal components
> reset_test_principal_components
	RESET test
data:  mylm
RESET = 0.81084, df1 = 2, df2 = 264, p-value = 0.4456







Variance Inflation Factors (Multicollinearity)
> vif
                      LFM                       PRH               Calculation 
                 1.608518                  1.219627                  1.533418 
      Algebraic_Reasoning  Graphical_Interpretation Proportionality_and_Ratio 
                 1.556834                  1.458787                  1.241894 
 Probability_and_Sampling                Estimation                     group 
                 1.240524                  1.180969                  1.492767 
                   gender                    AMS.I1 
                 1.164750                  1.032774 

\begin{tabular}{lllllllll}
\hline
Variance Inflation Factors (Multicollinearity) \tabularnewline
> vif
                      LFM                       PRH               Calculation 
                 1.608518                  1.219627                  1.533418 
      Algebraic_Reasoning  Graphical_Interpretation Proportionality_and_Ratio 
                 1.556834                  1.458787                  1.241894 
 Probability_and_Sampling                Estimation                     group 
                 1.240524                  1.180969                  1.492767 
                   gender                    AMS.I1 
                 1.164750                  1.032774 
\tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=318955&T=6

[TABLE]
[ROW][C]Variance Inflation Factors (Multicollinearity)[/C][/ROW]
[ROW][C]
> vif
                      LFM                       PRH               Calculation 
                 1.608518                  1.219627                  1.533418 
      Algebraic_Reasoning  Graphical_Interpretation Proportionality_and_Ratio 
                 1.556834                  1.458787                  1.241894 
 Probability_and_Sampling                Estimation                     group 
                 1.240524                  1.180969                  1.492767 
                   gender                    AMS.I1 
                 1.164750                  1.032774 
[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=318955&T=6

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

As an alternative you can also use a QR Code:  

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

Variance Inflation Factors (Multicollinearity)
> vif
                      LFM                       PRH               Calculation 
                 1.608518                  1.219627                  1.533418 
      Algebraic_Reasoning  Graphical_Interpretation Proportionality_and_Ratio 
                 1.556834                  1.458787                  1.241894 
 Probability_and_Sampling                Estimation                     group 
                 1.240524                  1.180969                  1.492767 
                   gender                    AMS.I1 
                 1.164750                  1.032774 



Parameters (Session):
par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ; par6 = 12 ;
Parameters (R input):
par1 = ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ; par4 = ; par5 = ; par6 = 12 ;
R code (references can be found in the software module):
library(lattice)
library(lmtest)
library(car)
library(MASS)
n25 <- 25 #minimum number of obs. for Goldfeld-Quandt test
mywarning <- ''
par6 <- as.numeric(par6)
if(is.na(par6)) {
par6 <- 12
mywarning = 'Warning: you did not specify the seasonality. The seasonal period was set to s = 12.'
}
par1 <- as.numeric(par1)
if(is.na(par1)) {
par1 <- 1
mywarning = 'Warning: you did not specify the column number of the endogenous series! The first column was selected by default.'
}
if (par4=='') par4 <- 0
par4 <- as.numeric(par4)
if (!is.numeric(par4)) par4 <- 0
if (par5=='') par5 <- 0
par5 <- as.numeric(par5)
if (!is.numeric(par5)) par5 <- 0
x <- na.omit(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'){
(n <- n -1)
x2 <- array(0, dim=c(n,k), dimnames=list(1:n, paste('(1-B)',colnames(x),sep='')))
for (i in 1:n) {
for (j in 1:k) {
x2[i,j] <- x[i+1,j] - x[i,j]
}
}
x <- x2
}
if (par3 == 'Seasonal Differences (s)'){
(n <- n - par6)
x2 <- array(0, dim=c(n,k), dimnames=list(1:n, paste('(1-Bs)',colnames(x),sep='')))
for (i in 1:n) {
for (j in 1:k) {
x2[i,j] <- x[i+par6,j] - x[i,j]
}
}
x <- x2
}
if (par3 == 'First and Seasonal Differences (s)'){
(n <- n -1)
x2 <- array(0, dim=c(n,k), dimnames=list(1:n, paste('(1-B)',colnames(x),sep='')))
for (i in 1:n) {
for (j in 1:k) {
x2[i,j] <- x[i+1,j] - x[i,j]
}
}
x <- x2
(n <- n - par6)
x2 <- array(0, dim=c(n,k), dimnames=list(1:n, paste('(1-Bs)',colnames(x),sep='')))
for (i in 1:n) {
for (j in 1:k) {
x2[i,j] <- x[i+par6,j] - x[i,j]
}
}
x <- x2
}
if(par4 > 0) {
x2 <- array(0, dim=c(n-par4,par4), dimnames=list(1:(n-par4), paste(colnames(x)[par1],'(t-',1:par4,')',sep='')))
for (i in 1:(n-par4)) {
for (j in 1:par4) {
x2[i,j] <- x[i+par4-j,par1]
}
}
x <- cbind(x[(par4+1):n,], x2)
n <- n - par4
}
if(par5 > 0) {
x2 <- array(0, dim=c(n-par5*par6,par5), dimnames=list(1:(n-par5*par6), paste(colnames(x)[par1],'(t-',1:par5,'s)',sep='')))
for (i in 1:(n-par5*par6)) {
for (j in 1:par5) {
x2[i,j] <- x[i+par5*par6-j*par6,par1]
}
}
x <- cbind(x[(par5*par6+1):n,], x2)
n <- n - par5*par6
}
if (par2 == 'Include Seasonal Dummies'){
x2 <- array(0, dim=c(n,par6-1), dimnames=list(1:n, paste('M', seq(1:(par6-1)), sep ='')))
for (i in 1:(par6-1)){
x2[seq(i,n,par6),i] <- 1
}
x <- cbind(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[n,]))
if (par3 == 'Linear Trend'){
x <- cbind(x, c(1:n))
colnames(x)[k+1] <- 't'
}
print(x)
(k <- length(x[n,]))
head(x)
df <- as.data.frame(x)
(mylm <- lm(df))
(mysum <- summary(mylm))
if (n > n25) {
kp3 <- k + 3
nmkm3 <- n - k - 3
gqarr <- array(NA, dim=c(nmkm3-kp3+1,3))
numgqtests <- 0
numsignificant1 <- 0
numsignificant5 <- 0
numsignificant10 <- 0
for (mypoint in kp3:nmkm3) {
j <- 0
numgqtests <- numgqtests + 1
for (myalt in c('greater', 'two.sided', 'less')) {
j <- j + 1
gqarr[mypoint-kp3+1,j] <- gqtest(mylm, point=mypoint, alternative=myalt)$p.value
}
if (gqarr[mypoint-kp3+1,2] < 0.01) numsignificant1 <- numsignificant1 + 1
if (gqarr[mypoint-kp3+1,2] < 0.05) numsignificant5 <- numsignificant5 + 1
if (gqarr[mypoint-kp3+1,2] < 0.10) numsignificant10 <- numsignificant10 + 1
}
gqarr
}
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')
sresid <- studres(mylm)
hist(sresid, freq=FALSE, main='Distribution of Studentized Residuals')
xfit<-seq(min(sresid),max(sresid),length=40)
yfit<-dnorm(xfit)
lines(xfit, yfit)
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')
qqPlot(mylm, main='QQ 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)
print(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()
if (n > n25) {
bitmap(file='test9.png')
plot(kp3:nmkm3,gqarr[,2], main='Goldfeld-Quandt test',ylab='2-sided p-value',xlab='breakpoint')
grid()
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, signif(mysum$coefficients[i,1],6), 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.row.start(a)
a<-table.element(a, mywarning)
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,'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,formatC(signif(mysum$coefficients[i,1],5),format='g',flag='+'))
a<-table.element(a,formatC(signif(mysum$coefficients[i,2],5),format='g',flag=' '))
a<-table.element(a,formatC(signif(mysum$coefficients[i,3],4),format='e',flag='+'))
a<-table.element(a,formatC(signif(mysum$coefficients[i,4],4),format='g',flag=' '))
a<-table.element(a,formatC(signif(mysum$coefficients[i,4]/2,4),format='g',flag=' '))
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,formatC(signif(sqrt(mysum$r.squared),6),format='g',flag=' '))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'R-squared',1,TRUE)
a<-table.element(a,formatC(signif(mysum$r.squared,6),format='g',flag=' '))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Adjusted R-squared',1,TRUE)
a<-table.element(a,formatC(signif(mysum$adj.r.squared,6),format='g',flag=' '))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (value)',1,TRUE)
a<-table.element(a,formatC(signif(mysum$fstatistic[1],6),format='g',flag=' '))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF numerator)',1,TRUE)
a<-table.element(a, signif(mysum$fstatistic[2],6))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF denominator)',1,TRUE)
a<-table.element(a, signif(mysum$fstatistic[3],6))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'p-value',1,TRUE)
a<-table.element(a,formatC(signif(1-pf(mysum$fstatistic[1],mysum$fstatistic[2],mysum$fstatistic[3]),6),format='g',flag=' '))
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,formatC(signif(mysum$sigma,6),format='g',flag=' '))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Sum Squared Residuals',1,TRUE)
a<-table.element(a,formatC(signif(sum(myerror*myerror),6),format='g',flag=' '))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable3.tab')
myr <- as.numeric(mysum$resid)
myr
a <-table.start()
a <- table.row.start(a)
a <- table.element(a,'Menu of Residual Diagnostics',2,TRUE)
a <- table.row.end(a)
a <- table.row.start(a)
a <- table.element(a,'Description',1,TRUE)
a <- table.element(a,'Link',1,TRUE)
a <- table.row.end(a)
a <- table.row.start(a)
a <-table.element(a,'Histogram',1,header=TRUE)
a <- table.element(a,hyperlink( paste('https://supernova.wessa.net/rwasp_histogram.wasp?convertgetintopost=1&data=',paste(as.character(mysum$resid),sep='',collapse=' '),sep='') ,'Compute','Click here to examine the Residuals.'),1)
a <- table.row.end(a)
a <- table.row.start(a)
a <-table.element(a,'Central Tendency',1,header=TRUE)
a <- table.element(a,hyperlink( paste('https://supernova.wessa.net/rwasp_centraltendency.wasp?convertgetintopost=1&data=',paste(as.character(mysum$resid),sep='',collapse=' '),sep='') ,'Compute','Click here to examine the Residuals.'),1)
a <- table.row.end(a)
a <- table.row.start(a)
a <-table.element(a,'QQ Plot',1,header=TRUE)
a <- table.element(a,hyperlink( paste('https://supernova.wessa.net/rwasp_fitdistrnorm.wasp?convertgetintopost=1&data=',paste(as.character(mysum$resid),sep='',collapse=' '),sep='') ,'Compute','Click here to examine the Residuals.'),1)
a <- table.row.end(a)
a <- table.row.start(a)
a <-table.element(a,'Kernel Density Plot',1,header=TRUE)
a <- table.element(a,hyperlink( paste('https://supernova.wessa.net/rwasp_density.wasp?convertgetintopost=1&data=',paste(as.character(mysum$resid),sep='',collapse=' '),sep='') ,'Compute','Click here to examine the Residuals.'),1)
a <- table.row.end(a)
a <- table.row.start(a)
a <-table.element(a,'Skewness/Kurtosis Test',1,header=TRUE)
a <- table.element(a,hyperlink( paste('https://supernova.wessa.net/rwasp_skewness_kurtosis.wasp?convertgetintopost=1&data=',paste(as.character(mysum$resid),sep='',collapse=' '),sep='') ,'Compute','Click here to examine the Residuals.'),1)
a <- table.row.end(a)
a <- table.row.start(a)
a <-table.element(a,'Skewness-Kurtosis Plot',1,header=TRUE)
a <- table.element(a,hyperlink( paste('https://supernova.wessa.net/rwasp_skewness_kurtosis_plot.wasp?convertgetintopost=1&data=',paste(as.character(mysum$resid),sep='',collapse=' '),sep='') ,'Compute','Click here to examine the Residuals.'),1)
a <- table.row.end(a)
a <- table.row.start(a)
a <-table.element(a,'Harrell-Davis Plot',1,header=TRUE)
a <- table.element(a,hyperlink( paste('https://supernova.wessa.net/rwasp_harrell_davis.wasp?convertgetintopost=1&data=',paste(as.character(mysum$resid),sep='',collapse=' '),sep='') ,'Compute','Click here to examine the Residuals.'),1)
a <- table.row.end(a)
a <- table.row.start(a)
a <-table.element(a,'Bootstrap Plot -- Central Tendency',1,header=TRUE)
a <- table.element(a,hyperlink( paste('https://supernova.wessa.net/rwasp_bootstrapplot1.wasp?convertgetintopost=1&data=',paste(as.character(mysum$resid),sep='',collapse=' '),sep='') ,'Compute','Click here to examine the Residuals.'),1)
a <- table.row.end(a)
a <- table.row.start(a)
a <-table.element(a,'Blocked Bootstrap Plot -- Central Tendency',1,header=TRUE)
a <- table.element(a,hyperlink( paste('https://supernova.wessa.net/rwasp_bootstrapplot.wasp?convertgetintopost=1&data=',paste(as.character(mysum$resid),sep='',collapse=' '),sep='') ,'Compute','Click here to examine the Residuals.'),1)
a <- table.row.end(a)
a <- table.row.start(a)
a <-table.element(a,'(Partial) Autocorrelation Plot',1,header=TRUE)
a <- table.element(a,hyperlink( paste('https://supernova.wessa.net/rwasp_autocorrelation.wasp?convertgetintopost=1&data=',paste(as.character(mysum$resid),sep='',collapse=' '),sep='') ,'Compute','Click here to examine the Residuals.'),1)
a <- table.row.end(a)
a <- table.row.start(a)
a <-table.element(a,'Spectral Analysis',1,header=TRUE)
a <- table.element(a,hyperlink( paste('https://supernova.wessa.net/rwasp_spectrum.wasp?convertgetintopost=1&data=',paste(as.character(mysum$resid),sep='',collapse=' '),sep='') ,'Compute','Click here to examine the Residuals.'),1)
a <- table.row.end(a)
a <- table.row.start(a)
a <-table.element(a,'Tukey lambda PPCC Plot',1,header=TRUE)
a <- table.element(a,hyperlink( paste('https://supernova.wessa.net/rwasp_tukeylambda.wasp?convertgetintopost=1&data=',paste(as.character(mysum$resid),sep='',collapse=' '),sep='') ,'Compute','Click here to examine the Residuals.'),1)
a <- table.row.end(a)
a <- table.row.start(a)
a <-table.element(a,'Box-Cox Normality Plot',1,header=TRUE)
a <- table.element(a,hyperlink( paste('https://supernova.wessa.net/rwasp_boxcoxnorm.wasp?convertgetintopost=1&data=',paste(as.character(mysum$resid),sep='',collapse=' '),sep='') ,'Compute','Click here to examine the Residuals.'),1)
a <- table.row.end(a)
a <- table.row.start(a)
a <- table.element(a,'Summary Statistics',1,header=TRUE)
a <- table.element(a,hyperlink( paste('https://supernova.wessa.net/rwasp_summary1.wasp?convertgetintopost=1&data=',paste(as.character(mysum$resid),sep='',collapse=' '),sep='') ,'Compute','Click here to examine the Residuals.'),1)
a <- table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable7.tab')
if(n < 200) {
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,formatC(signif(x[i],6),format='g',flag=' '))
a<-table.element(a,formatC(signif(x[i]-mysum$resid[i],6),format='g',flag=' '))
a<-table.element(a,formatC(signif(mysum$resid[i],6),format='g',flag=' '))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable4.tab')
if (n > n25) {
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'p-values',header=TRUE)
a<-table.element(a,'Alternative Hypothesis',3,header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'breakpoint index',header=TRUE)
a<-table.element(a,'greater',header=TRUE)
a<-table.element(a,'2-sided',header=TRUE)
a<-table.element(a,'less',header=TRUE)
a<-table.row.end(a)
for (mypoint in kp3:nmkm3) {
a<-table.row.start(a)
a<-table.element(a,mypoint,header=TRUE)
a<-table.element(a,formatC(signif(gqarr[mypoint-kp3+1,1],6),format='g',flag=' '))
a<-table.element(a,formatC(signif(gqarr[mypoint-kp3+1,2],6),format='g',flag=' '))
a<-table.element(a,formatC(signif(gqarr[mypoint-kp3+1,3],6),format='g',flag=' '))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable5.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Description',header=TRUE)
a<-table.element(a,'# significant tests',header=TRUE)
a<-table.element(a,'% significant tests',header=TRUE)
a<-table.element(a,'OK/NOK',header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'1% type I error level',header=TRUE)
a<-table.element(a,signif(numsignificant1,6))
a<-table.element(a,formatC(signif(numsignificant1/numgqtests,6),format='g',flag=' '))
if (numsignificant1/numgqtests < 0.01) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'5% type I error level',header=TRUE)
a<-table.element(a,signif(numsignificant5,6))
a<-table.element(a,signif(numsignificant5/numgqtests,6))
if (numsignificant5/numgqtests < 0.05) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'10% type I error level',header=TRUE)
a<-table.element(a,signif(numsignificant10,6))
a<-table.element(a,signif(numsignificant10/numgqtests,6))
if (numsignificant10/numgqtests < 0.1) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable6.tab')
}
}
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Ramsey RESET F-Test for powers (2 and 3) of fitted values',1,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
reset_test_fitted <- resettest(mylm,power=2:3,type='fitted')
a<-table.element(a,paste('
',RC.texteval('reset_test_fitted'),'
',sep=''))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Ramsey RESET F-Test for powers (2 and 3) of regressors',1,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
reset_test_regressors <- resettest(mylm,power=2:3,type='regressor')
a<-table.element(a,paste('
',RC.texteval('reset_test_regressors'),'
',sep=''))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Ramsey RESET F-Test for powers (2 and 3) of principal components',1,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
reset_test_principal_components <- resettest(mylm,power=2:3,type='princomp')
a<-table.element(a,paste('
',RC.texteval('reset_test_principal_components'),'
',sep=''))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable8.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Variance Inflation Factors (Multicollinearity)',1,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
vif <- vif(mylm)
a<-table.element(a,paste('
',RC.texteval('vif'),'
',sep=''))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable9.tab')