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 computationMon, 04 Dec 2017 13:09:53 +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/2017/Dec/04/t1512389599yu7cw3gqp10y3x3.htm/, Retrieved Tue, 14 May 2024 14:28:45 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=308491, Retrieved Tue, 14 May 2024 14:28:45 +0000
QR Codes:

Original text written by user:
IsPrivate?This computation is/was private until 2018-03-01
User-defined keywords
Estimated Impact99
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [regression model ...] [2017-12-04 12:09:53] [906db62ac77b324063fa7e908483789b] [Current]
Feedback Forum

Post a new message
Dataseries X:
696688.6047	19676	43
352705.4395	164151.080000001	339
319574.6387	78510	155
477423.7429	84907	175
367801.8868	24611	53
274864.9024	20398	41
268557.4569	58634	116
278133.3333	14542	30
295714.876	55694	121
248817.2381	10445	21
269479.037	13210	27
339098.4127	94347	189
282146.6216	37707	74
276913.4375	47598.4900000002	96
299348.9746	115364.3	236
286877.0617	39132	81
294213.4247	34479	73
274111.1111	18190	36
273200	16482	35
254486.3014	33246.0400000001	73
241181.4433	48014	97
242297.6471	24736	51
231933.2872	47013	94
304091.453	57152	117
227886.3636	10967	22
206437.5	11802	24
203580.6452	15196.1400000001	31
189857.1429	7007	14
186250.623	28530	61
202128.6486	17942	37
159677.4194	15495	31
205985.2941	42019.9000000002	85
138800	7441	15
184500	4814	10
233863.6364	5094	11
247600	4574	10
NA	NA	4
NA	NA	7
180545	5311	12
195693.3678	40622	87
186400	4811	10
195004.9259	12787	27
173002.3448	13570	29
768799.666666669	35135.9100000001	45
396408.351398603	443489.880000002	572
333012.196473553	310566.580000001	397
450103.638211384	188593.950000001	246
402611.020833335	35336	48
329363.597826088	70963	92
307309.390243904	156678	205
307136.375000001	41468	56
337954.417475729	76512	103
298323.513513515	28003	37
321571.42857143	16194	21
379975.988212182	398136	509
342990.655405407	117811.82	148
305157.674329503	203185	261
367618.938271606	313847.400000001	405
312401.407079647	88039	113
314522.227272728	120103.06	154
295640.170731708	63356	82
300461.333333334	59671	75
294039.740458016	101447	131
260929.465909092	282523.480000001	352
236330.319148937	75290	94
237333.042968751	201325	256
348898.986595175	295136.400000001	373
268294.642857144	42415	56
233048.492063493	49525	63
246930.500000001	73591	92
211025.742857144	28634	35
219798.310810812	115997	148
209255.319148937	73974	94
199053.40909091	71526	88
240813.197674419	206413	258
191339.344262296	49047	61
191263.861111112	29782	36
296692.307692309	20739	26
180113.636363637	17764	22
219879.62962963	21451	27
200283.333333334	25451	30
183236.437500001	39354	48
230024.657534247	115424	146
199255.400000001	19590	25
201685.129870131	60598	77
185738.500000001	32916	40
1204779.82142858	34442	28
486519.701639346	365852.350000001	305
367067.984189725	306816.490000001	253
674273.195876291	116096	97
468263.157894739	21555	19
393096.42857143	34283	28
371882.68478261	108930.22	92
333584.363636365	53242	44
355567.307692309	30391	26
376638.666666668	17562	15
NA	NA	8
410573.558359623	382938.910000001	317
388078.065420562	127634	107
333090.123076924	159348	130
403567.45982143	269987	224
380060.144927538	84950	69
374110.402597404	91396.0500000003	77
352891.17647059	40537	34
319904.323529413	84237	68
353421.065934067	110574	91
280325.088983052	282130	236
284952.550724639	83566	69
273109.56115108	166421	139
387253.962655603	288503	241
311362.150000001	23939	20
271336.734693879	59233	49
286554.320987655	98079	81
230462.500000001	47224	40
260264.555555556	107825	90
232095.536842106	109548	95
220546.428571429	83537	70
254369.361581922	208810	177
220285.185185186	66941	54
184526.666666667	25717	21
352437.500000001	37578	32
237241.666666668	50223	42
250652.828571429	41619	35
217147.482142858	68224	56
216206.475409837	73378	61
262783.342592594	128499	108
264145.833333334	30024	24
221150	60657	51
220755.405405406	46000	37
1725140.62500001	79134	32
587732.690391461	926816	281
443836.50628931	954690	318
751042.188888892	486980	90
NA	NA	8
446450.980392158	151282.550000001	51
534854.109589043	194692	73
417337.410256412	138780	39
519213.79310345	157456	29
428684.923076925	95761	13
363979.142857144	51712	14
551485.576374747	1432439	491
415876.173076925	569078.110000002	156
397172.222222224	596627	180
584141.385786804	782722.410000003	197
484789.347222224	187814.210000001	72
465323.011904764	342290.540000001	84
485237.500000002	156828	36
395078.211538463	377481	104
391279.371428573	322108.420000001	105
346927.672955976	398362	159
293548.281250001	134814	64
305482.880000001	372334	125
502349.132911394	967805.520000004	316
433811.083333335	45190	12
348089.042553193	132012	47
296546.610169493	139136	59
307426.896551725	173646	58
312584.745762713	160179	59
291063.87878788	154804	66
254937.461538462	142975	52
302153.183333334	623970	180
231501.216216217	229615.750000001	74
198328.846153847	104517	26
410200	34284	16
291942.951219513	114966	41
246704.545454546	46021	22
243267.346938776	186478	49
225874.137931035	158199	58
345577.777777779	234188	81
313323.529411766	40306	17
281908.711864408	153366	59
260971	97258	40
304505,127071824	39074,9300000001	543
215470,671171172	16335,9200000001	222
235716,238095239	14816,6000000001	210
218653,65669989	63707,4700000002	903
187151,593846155	22221	325
156507,142857143	4470	56
223999,934337999	59229,0900000002	929
164842,031914894	13757	188
152397,273504274	8730,42000000003	117
148576	2888,31000000001	40
139074,588	16904,6800000001	250
100315,217391305	3284	46
205566,6179402	19981,6100000001	301
213880,952380953	1612	21
132200	1928	25
183335,525547446	10147	137
108692,307692308	966	13
134448,275862069	6362	87
167510	2841	42
116715,85	14043	200
166988,01923077	4053	52
152346,428571429	1187	14
123397,435897436	2939	39
161304,487179488	4944,55000000002	78
144800	5252,37000000002	78
106275,757575758	2406	33
86722,2222222225	1147	18
146338,235294118	1983,55000000001	34
124256	1425	27
124450,083333334	793	12
103384,615384616	1837	26
78092,5200000003	1734	25
129619,047619048	1447	21
120547,775956285	12158,26	183
121774,193548388	4313	62
108406,230769231	41624,2500000001	611
97578,9523809527	2595	42
124246,785714286	4537	70
97294,016393443	7911	122
93838,7096774197	4832	62
100456,521739131	4393	69
85212,3243243246	10175	148
88542,172727273	14635,8900000001	220
419029,581901491	308607,200000001	1 746
245263,78997462	310650,640000001	1 576
249489,736547086	173031,360000001	892
247720,680939638	623488,140000002	3 363
222739,553339981	188220,210000001	1 003
198559,529850747	79740	402
254770,846946868	230311,070000001	1 261
192198,51458886	142512,53	754
182138,747076024	132402,22	684
171772,493273543	43558,1300000002	223
178771,545876888	164147,790000001	861
162862,712230216	53898,5300000002	278
250599,05612245	147971,670000001	784
190272,042553192	16709,6300000001	94
178501,398843931	36245	173
200223,269662922	96626,6800000004	534
167838	10433	50
172913,36673774	93344,7300000003	469
157965,400000001	28995	145
163252,977777778	206480,010000001	1 035
193686,886543536	76125	379
173217,90909091	24269	110
154679,29842932	39864	191
234845,122015916	77180,4700000003	377
169130,586387435	77718,8200000003	382
123144,103448276	17283	87
106043,209876544	15176	81
176683,016393443	23963	122
144578,571428572	10932	56
139844,255813954	8866	43
129712,65942029	26852	138
116036,626506025	16823	83
154395,34883721	18173,0600000001	86
149122,333984376	97166,0800000004	512
130421,894736843	33092,3100000001	190
139168,27898359	347401,280000001	1 889
127374,153284672	29185	137
134713,946745563	66278,7300000002	338
130189,540630183	115208,7	603
130028,343457944	80592,1500000003	428
107868,767068273	48740,5500000002	249
102978,721311476	163199,540000001	854
107305,550239235	203242,560000001	1 045
570154,759259261	104086,35	270
280834,195933458	453387,280000002	1 082
257401,819505096	292009,750000001	687
287594,523892269	468887,760000002	1 151
250749,303904925	249710,680000001	589
223133,143292684	140008,84	328
260657,504213484	299464,440000001	712
239199,355608593	174172,760000001	419
225938,550116551	177994,440000001	429
212532,902439025	68531,9400000002	164
208340,590538337	263320,810000001	613
184152,325102881	103935	243
259620,32857143	173142,830000001	420
232675,884615385	22251	52
202237,307189543	65331,1800000002	153
226747,734463278	74287	177
202433,040404041	42887	99
206617,708463951	131375,55	319
176421,022556392	56876	133
192922,89608637	305876,670000001	741
190188,429752067	217064	484
193396,518867925	96678,8400000003	212
177340,702054795	129007	292
258227,678004536	189602,110000001	441
175371,081012659	174831	395
149076,923076924	45125	104
133719,117647059	29974	68
213398,41509434	44572	106
167209,048192772	35463	83
157016,666666667	29672	69
146969,277227723	42554	101
135344,090909091	27975	66
161780,606666667	68072	150
170496,106250001	133737,1	320
155032,68627451	66724,0300000002	153
160577,255659122	308579	751
146648,419161677	71773	167
146194	108171,54	253
154064,405844156	125846,76	308
149563,513157895	60816	152
121971,904761905	117141	273
128148,687747036	210732,010000001	506
127362,026722926	296019	711
675784,354838712	22423	31
293262,911051214	283624	371
248916,903890161	334207,050000001	437
312587,818991099	251501	337
259544,269961978	195370,390000001	263
226855,351851853	123149,37	162
268128,913357402	210292,470000001	277
257471,288732395	107313,41	142
242785,803921569	113374,3	153
222969,387500001	60712,4100000002	80
219032,377483444	226389,300000001	302
208784,750000001	109010,9	144
275275	101175	135
244401,111111112	21563	27
217052,848101267	61358	79
231508,301369864	54333	73
203027,346938776	35699	49
228718,824175825	68368	91
197185,51724138	44715	58
208909,875576038	162229,740000001	217
199909,575609757	321890	410
199154,32900433	179832	231
190190,61904762	178888	231
276288,987603307	185127	242
188839,647928995	260040,930000001	338
148092,787878788	75980	99
146304,347826087	34920	46
247008,461538462	39489	52
185958,238805971	52651	67
163739,090909091	43886	55
167317,307692308	40856	52
148669,250000001	51466	64
183875,339130435	89115,3800000003	115
207199,875000001	157300,600000001	208
170844,444444445	97828	126
199296,824615385	247829,820000001	325
150692,298245615	85947	114
152465,506329114	121709	158
172008	93780,7000000003	125
177301,525000001	29522	40
149796,656000001	97071	125
150577,433179724	162420,580000001	217
149494,747081713	189442	257
427927,700000002	36628	10
353345,77922078	441334	154
289408,575757577	587588	198
405286,972602741	290465,490000001	73
348284,020618558	410936,980000001	97
283750,11594203	288496	69
331440,867256638	336406,250000001	113
332993,261904763	150146,750000001	42
338918,91891892	124228,53	37
287036,842105264	138233,600000001	38
299266,058139536	227795,910000001	86
281497,594339624	415181	106
336326,606557378	255234	61
457237,333333335	73980	15
317777	228926	46
300930	62680,1400000002	20
268893,090909092	117445	33
277078,214285715	103012,95	28
276275,652173914	94824,0200000003	23
288352	160431	50
235477,428571429	432534	147
229799,285714287	244729	70
246401,105263159	144777	57
374510,177966103	376934,350000001	118
254836,180904524	626373	199
207863,160000001	223756	75
171177,419354839	100455	31
285483,333333334	63398	30
225083,265306123	151573	49
201556,744680852	124176	47
224169,047619048	63122	21
183288,884615385	208465	52
241385,576923078	122965,78	52
265201,839622642	303384,330000001	106
214480,183908047	221010	87
269347,556701032	233802	97
225812,44871795	340514	78
230992,475609757	235337	82
248674,016393443	170739	61
180400	21667	10
193260,066666667	253405	75
188882,025316456	263951,820000001	79
206357,160000001	160047	50




Summary of computational transaction
Raw Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time9 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 time9 seconds \tabularnewline
R ServerBig Analytics Cloud Computing Center \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=308491&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]9 seconds[/C][/ROW] [ROW]R Server[/C]Big Analytics Cloud Computing Center[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=308491&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=308491&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 time9 seconds
R ServerBig Analytics Cloud Computing Center







Multiple Linear Regression - Estimated Regression Equation
prijs[t] = + 214316 + 0.156175opp[t] -0.964625aantal[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
prijs[t] =  +  214316 +  0.156175opp[t] -0.964625aantal[t]  + e[t] \tabularnewline
 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=308491&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]prijs[t] =  +  214316 +  0.156175opp[t] -0.964625aantal[t]  + e[t][/C][/ROW]
[ROW][C][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=308491&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=308491&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
prijs[t] = + 214316 + 0.156175opp[t] -0.964625aantal[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)+2.143e+05 1.146e+04+1.8710e+01 7.902e-56 3.951e-56
opp+0.1562 0.05191+3.0080e+00 0.002802 0.001401
aantal-0.9646 0.07728-1.2480e+01 3.35e-30 1.675e-30

\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) & +2.143e+05 &  1.146e+04 & +1.8710e+01 &  7.902e-56 &  3.951e-56 \tabularnewline
opp & +0.1562 &  0.05191 & +3.0080e+00 &  0.002802 &  0.001401 \tabularnewline
aantal & -0.9646 &  0.07728 & -1.2480e+01 &  3.35e-30 &  1.675e-30 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=308491&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]+2.143e+05[/C][C] 1.146e+04[/C][C]+1.8710e+01[/C][C] 7.902e-56[/C][C] 3.951e-56[/C][/ROW]
[ROW][C]opp[/C][C]+0.1562[/C][C] 0.05191[/C][C]+3.0080e+00[/C][C] 0.002802[/C][C] 0.001401[/C][/ROW]
[ROW][C]aantal[/C][C]-0.9646[/C][C] 0.07728[/C][C]-1.2480e+01[/C][C] 3.35e-30[/C][C] 1.675e-30[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=308491&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=308491&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)+2.143e+05 1.146e+04+1.8710e+01 7.902e-56 3.951e-56
opp+0.1562 0.05191+3.0080e+00 0.002802 0.001401
aantal-0.9646 0.07728-1.2480e+01 3.35e-30 1.675e-30







Multiple Linear Regression - Regression Statistics
Multiple R 0.5394
R-squared 0.291
Adjusted R-squared 0.2873
F-TEST (value) 77.98
F-TEST (DF numerator)2
F-TEST (DF denominator)380
p-value 0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation 1.585e+05
Sum Squared Residuals 9.547e+12

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R &  0.5394 \tabularnewline
R-squared &  0.291 \tabularnewline
Adjusted R-squared &  0.2873 \tabularnewline
F-TEST (value) &  77.98 \tabularnewline
F-TEST (DF numerator) & 2 \tabularnewline
F-TEST (DF denominator) & 380 \tabularnewline
p-value &  0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation &  1.585e+05 \tabularnewline
Sum Squared Residuals &  9.547e+12 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=308491&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C] 0.5394[/C][/ROW]
[ROW][C]R-squared[/C][C] 0.291[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C] 0.2873[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C] 77.98[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]2[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]380[/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.585e+05[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C] 9.547e+12[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=308491&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=308491&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.5394
R-squared 0.291
Adjusted R-squared 0.2873
F-TEST (value) 77.98
F-TEST (DF numerator)2
F-TEST (DF denominator)380
p-value 0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation 1.585e+05
Sum Squared Residuals 9.547e+12







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=308491&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=308491&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=308491&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 = 59.705, df1 = 2, df2 = 378, p-value < 2.2e-16
Ramsey RESET F-Test for powers (2 and 3) of regressors
> reset_test_regressors
	RESET test
data:  mylm
RESET = 30.46, df1 = 4, df2 = 376, p-value < 2.2e-16
Ramsey RESET F-Test for powers (2 and 3) of principal components
> reset_test_principal_components
	RESET test
data:  mylm
RESET = 7.4745, df1 = 2, df2 = 378, p-value = 0.0006553

\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 = 59.705, df1 = 2, df2 = 378, p-value < 2.2e-16
\tabularnewline Ramsey RESET F-Test for powers (2 and 3) of regressors \tabularnewline
> reset_test_regressors
	RESET test
data:  mylm
RESET = 30.46, df1 = 4, df2 = 376, p-value < 2.2e-16
\tabularnewline Ramsey RESET F-Test for powers (2 and 3) of principal components \tabularnewline
> reset_test_principal_components
	RESET test
data:  mylm
RESET = 7.4745, df1 = 2, df2 = 378, p-value = 0.0006553
\tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=308491&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 = 59.705, df1 = 2, df2 = 378, p-value < 2.2e-16
[/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 = 30.46, df1 = 4, df2 = 376, p-value < 2.2e-16
[/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 = 7.4745, df1 = 2, df2 = 378, p-value = 0.0006553
[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=308491&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=308491&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 = 59.705, df1 = 2, df2 = 378, p-value < 2.2e-16
Ramsey RESET F-Test for powers (2 and 3) of regressors
> reset_test_regressors
	RESET test
data:  mylm
RESET = 30.46, df1 = 4, df2 = 376, p-value < 2.2e-16
Ramsey RESET F-Test for powers (2 and 3) of principal components
> reset_test_principal_components
	RESET test
data:  mylm
RESET = 7.4745, df1 = 2, df2 = 378, p-value = 0.0006553







Variance Inflation Factors (Multicollinearity)
> vif
     opp   aantal 
1.046186 1.046186 

\begin{tabular}{lllllllll}
\hline
Variance Inflation Factors (Multicollinearity) \tabularnewline
> vif
     opp   aantal 
1.046186 1.046186 
\tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=308491&T=6

[TABLE]
[ROW][C]Variance Inflation Factors (Multicollinearity)[/C][/ROW]
[ROW][C]
> vif
     opp   aantal 
1.046186 1.046186 
[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=308491&T=6

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



Parameters (Session):
Parameters (R input):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ; par4 = 0 ; par5 = 0 ; par6 = 12 ;
R code (references can be found in the software module):
par6 <- '12'
par5 <- '0'
par4 <- '0'
par3 <- 'No Linear Trend'
par2 <- 'Do not include Seasonal Dummies'
par1 <- '1'
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')