Home » date » 2010 » Dec » 06 »

*The author of this computation has been verified*
R Software Module: /rwasp_multipleregression.wasp (opens new window with default values)
Title produced by software: Multiple Regression
Date of computation: Mon, 06 Dec 2010 18:03:06 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Dec/06/t12916584990tq0nwbkxfi5j2a.htm/, Retrieved Mon, 06 Dec 2010 19:01:42 +0100
 
BibTeX entries for LaTeX users:
@Manual{KEY,
    author = {{YOUR NAME}},
    publisher = {Office for Research Development and Education},
    title = {Statistical Computations at FreeStatistics.org, URL http://www.freestatistics.org/blog/date/2010/Dec/06/t12916584990tq0nwbkxfi5j2a.htm/},
    year = {2010},
}
@Manual{R,
    title = {R: A Language and Environment for Statistical Computing},
    author = {{R Development Core Team}},
    organization = {R Foundation for Statistical Computing},
    address = {Vienna, Austria},
    year = {2010},
    note = {{ISBN} 3-900051-07-0},
    url = {http://www.R-project.org},
}
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
2350,44 10892,76 10540,05 10570 -4,9 -3 1,6 3,38 2440,25 10631,92 10601,61 10297 -4 -1 1,3 3,35 2408,64 11441,08 10323,73 10635 -3,1 -3 1,1 3,22 2472,81 11950,95 10418,4 10872 -1,3 -4 1,9 3,06 2407,6 11037,54 10092,96 10296 0 -6 2,6 3,17 2454,62 11527,72 10364,91 10383 -0,4 0 2,3 3,19 2448,05 11383,89 10152,09 10431 3 -4 2,4 3,35 2497,84 10989,34 10032,8 10574 0,4 -2 2,2 3,24 2645,64 11079,42 10204,59 10653 1,2 -2 2 3,23 2756,76 11028,93 10001,6 10805 0,6 -6 2,9 3,31 2849,27 10973 10411,75 10872 -1,3 -7 2,6 3,25 2921,44 11068,05 10673,38 10625 -3,2 -6 2,3 3,2 2981,85 11394,84 10539,51 10407 -1,8 -6 2,3 3,1 3080,58 11545,71 10723,78 10463 -3,6 -3 2,6 2,93 3106,22 11809,38 10682,06 10556 -4,2 -2 3,1 2,92 3119,31 11395,64 10283,19 10646 -6,9 -5 2,8 2,9 3061,26 11082,38 10377,18 10702 -8 -11 2,5 2,87 3097,31 11402,75 10486,64 11353 -7,5 -11 2,9 2,76 3161,69 11716,87 10545,38 11346 -8,2 -11 3,1 2,67 3257,16 12204,98 10554,27 11451 -7,6 -10 3,1 2,75 3277,01 12986,62 10532,54 11964 -3,7 -14 3,2 2 etc...
 
Output produced by software:

Enter (or paste) a matrix (table) containing all data (time) series. Every column represents a different variable and must be delimited by a space or Tab. Every row represents a period in time (or category) and must be delimited by hard returns. The easiest way to enter data is to copy and paste a block of spreadsheet cells. Please, do not use commas or spaces to seperate groups of digits!


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time6 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk


Multiple Linear Regression - Estimated Regression Equation
BEL_20[t] = -1886.04000678096 + 0.191792840371528Nikkei[t] + 0.288303751656477DJ_Indust[t] + 0.0147718309612608Goudprijs[t] -9.98349305638133Conjunct_Seizoenzuiver[t] -2.50766896022597Cons_vertrouw[t] + 33.9568643858045Alg_consumptie_index_BE[t] -255.69184028108Gem_rente_kasbon_5j[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)-1886.04000678096270.224455-6.979500
Nikkei0.1917928403715280.01495312.826500
DJ_Indust0.2883037516564770.0331938.685800
Goudprijs0.01477183096126080.0081991.80160.076320.03816
Conjunct_Seizoenzuiver-9.983493056381336.033247-1.65470.1028720.051436
Cons_vertrouw-2.507668960225977.649392-0.32780.7441130.372057
Alg_consumptie_index_BE33.956864385804517.2414661.96950.0532290.026614
Gem_rente_kasbon_5j-255.6918402810856.189516-4.55052.4e-051.2e-05


Multiple Linear Regression - Regression Statistics
Multiple R0.9837054952436
R-squared0.967676501372457
Adjusted R-squared0.96414111871007
F-TEST (value)273.711955332998
F-TEST (DF numerator)7
F-TEST (DF denominator)64
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation160.133985897204
Sum Squared Residuals1641145.18011685


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
12350.442644.52226973597-294.08226973597
22440.252591.6935085745-151.443508574501
32408.642694.24239617322-285.602396173219
42472.812875.44001921294-402.630019212943
52407.62585.60087290272-178.000872902716
62454.622732.94972929247-278.329729292474
72448.052583.28819996326-135.238199963261
82497.842517.61342566693-19.7734256669314
92645.642573.3635519511572.2764480488502
102756.762533.52907359763223.230926402375
112849.272668.67035332043180.599646679572
122921.442777.7390316414143.700968358595
132981.852810.19182531178171.658174688216
143080.582957.18251877454123.397481225461
153106.223020.116062224986.1039377750954
163119.312856.50265543567262.807344564329
173061.262847.85807442898213.401925571025
183097.312987.19403896795110.11596103205
193161.693101.0636491829560.6263508170478
203257.163169.8406030833287.3193969166838
213277.013303.22816215898-26.2181621589782
223295.323271.3231818674423.9968181325595
233363.993532.18819246-168.198192460001
243494.173785.90185801967-291.73185801967
253667.033851.58081047638-184.550810476383
263813.063909.92717343976-96.8671734397561
273917.963935.63905870863-17.6790587086296
283895.514075.79262323747-180.282623237466
293801.063923.64733261763-122.587332617628
303570.123505.7528764202964.3671235797117
313701.613507.86986753702193.740132462985
323862.273695.22163010429167.048369895706
333970.13812.15884936956157.94115063044
344138.524018.99216934148119.527830658519
354199.754045.36120653471154.388793465295
364290.894236.4821809452854.4078190547256
374443.914335.61262334952108.297376650476
384502.644403.0619216881999.5780783118134
394356.984190.67292615312166.307073846883
404591.274377.34426916186213.925730838143
414696.964571.73034500852125.229654991476
424621.44565.3126882880356.087311711967
434562.844589.48099026381-26.6409902638104
444202.524205.08179278783-2.56179278782505
454296.494296.5678631292-0.0778631292036487
464435.234572.62116297434-137.391162974342
474105.184188.10491509472-82.924915094721
484116.684276.06118970188-159.381189701878
493844.493682.14878243838162.341217561616
503720.983662.7001734154958.2798265845135
513674.43524.36380455471150.036195445289
523857.623842.6538504821214.9661495178809
533801.063956.29842765428-155.238427654278
543504.373662.62139313115-158.251393131149
553032.63195.12832183371-162.528321833709
563047.033182.65793008691-135.627930086909
572962.343044.78372345458-82.4437234545783
582197.821982.56027771883215.259722281166
592014.451837.89267623246176.557323767537
601862.831908.05860030339-45.2286003033879
611905.411841.7198851733663.6901148266424
621810.991652.7428662126158.247133787398
631670.071569.45106639554100.618933604459
641864.441926.8019576247-62.3619576247028
652052.022073.70878135401-21.6887813540108
662029.62143.06199947823-113.46199947823
672070.832098.29620424375-27.466204243753
682293.412416.35750331553-122.947503315532
692443.272455.47321046387-12.2032104638691
702513.172451.7207157750761.4492842249306
712466.922520.65788343882-53.7378834388213
722502.662708.80824493619-206.148244936194


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
110.5058540906171040.9882918187657920.494145909382896
120.7009749093495960.5980501813008070.299025090650404
130.9185312865038640.1629374269922730.0814687134961363
140.8927597790214170.2144804419571670.107240220978583
150.86607823804070.2678435239185990.1339217619593
160.866480348653450.26703930269310.13351965134655
170.837541340432610.3249173191347780.162458659567389
180.9166632978059040.1666734043881910.0833367021940955
190.9050493031581320.1899013936837360.0949506968418681
200.8802317802920420.2395364394159170.119768219707958
210.844499121449820.3110017571003580.155500878550179
220.8800630996140870.2398738007718250.119936900385913
230.8537380543413090.2925238913173830.146261945658691
240.8850713489268130.2298573021463740.114928651073187
250.9204767035901520.1590465928196970.0795232964098484
260.9270635902841310.1458728194317380.0729364097158688
270.954997621983170.09000475603366140.0450023780168307
280.9652589409661540.0694821180676910.0347410590338455
290.9874513433019850.02509731339603050.0125486566980152
300.9901481042246320.0197037915507370.00985189577536851
310.986657946038760.02668410792248210.013342053961241
320.9884750765358930.02304984692821320.0115249234641066
330.9919374597770080.01612508044598390.00806254022299196
340.9931541724780570.01369165504388520.00684582752194259
350.9931002471488230.01379950570235440.00689975285117722
360.990001147994350.01999770401130060.0099988520056503
370.986579911546740.02684017690652110.0134200884532605
380.9790220414911260.0419559170177470.0209779585088735
390.9722264912029690.05554701759406220.0277735087970311
400.96140060042210.07719879915580080.0385993995779004
410.9547835010772010.09043299784559740.0452164989227987
420.942501113275520.1149977734489590.0574988867244794
430.9349966918641580.1300066162716830.0650033081358416
440.9249851404204990.1500297191590030.0750148595795013
450.9560448887810520.08791022243789570.0439551112189479
460.9710690265029520.05786194699409540.0289309734970477
470.979575907181050.04084818563790060.0204240928189503
480.973074239697020.05385152060595860.0269257603029793
490.9967080059108330.006583988178333190.00329199408916659
500.9972003080311060.005599383937788560.00279969196889428
510.9954776802799640.009044639440072310.00452231972003615
520.9960780751616070.00784384967678680.0039219248383934
530.9961582862993550.007683427401289860.00384171370064493
540.999286571073260.001426857853478730.000713428926739364
550.9979997800468840.004000439906232260.00200021995311613
560.9945378256424620.01092434871507540.00546217435753769
570.9920447255702260.01591054885954730.00795527442977364
580.9810245623556980.03795087528860370.0189754376443019
590.9960579163327780.007884167334443430.00394208366722172
600.9859927279319480.02801454413610420.0140072720680521
610.951503467090660.0969930658186810.0484965329093405


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level80.156862745098039NOK
5% type I error level230.450980392156863NOK
10% type I error level320.627450980392157NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/06/t12916584990tq0nwbkxfi5j2a/10m7ig1291658575.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/06/t12916584990tq0nwbkxfi5j2a/10m7ig1291658575.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/06/t12916584990tq0nwbkxfi5j2a/1fo241291658575.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/06/t12916584990tq0nwbkxfi5j2a/1fo241291658575.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/06/t12916584990tq0nwbkxfi5j2a/2fo241291658575.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/06/t12916584990tq0nwbkxfi5j2a/2fo241291658575.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/06/t12916584990tq0nwbkxfi5j2a/3qx271291658575.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/06/t12916584990tq0nwbkxfi5j2a/3qx271291658575.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/06/t12916584990tq0nwbkxfi5j2a/4qx271291658575.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/06/t12916584990tq0nwbkxfi5j2a/4qx271291658575.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/06/t12916584990tq0nwbkxfi5j2a/5qx271291658575.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/06/t12916584990tq0nwbkxfi5j2a/5qx271291658575.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/06/t12916584990tq0nwbkxfi5j2a/6161a1291658575.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/06/t12916584990tq0nwbkxfi5j2a/6161a1291658575.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/06/t12916584990tq0nwbkxfi5j2a/7tg0d1291658575.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/06/t12916584990tq0nwbkxfi5j2a/7tg0d1291658575.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/06/t12916584990tq0nwbkxfi5j2a/8tg0d1291658575.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/06/t12916584990tq0nwbkxfi5j2a/8tg0d1291658575.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/06/t12916584990tq0nwbkxfi5j2a/9tg0d1291658575.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/06/t12916584990tq0nwbkxfi5j2a/9tg0d1291658575.ps (open in new window)


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





Copyright

Creative Commons License

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.

Software written by Ed van Stee & Patrick Wessa


Disclaimer

Information provided on this web site is provided "AS IS" without warranty of any kind, either express or implied, including, without limitation, warranties of merchantability, fitness for a particular purpose, and noninfringement. We use reasonable efforts to include accurate and timely information and periodically update the information, and software without notice. However, we make no warranties or representations as to the accuracy or completeness of such information (or software), and we assume no liability or responsibility for errors or omissions in the content of this web site, or any software bugs in online applications. Your use of this web site is AT YOUR OWN RISK. Under no circumstances and under no legal theory shall we be liable to you or any other person for any direct, indirect, special, incidental, exemplary, or consequential damages arising from your access to, or use of, this web site.


Privacy Policy

We may request personal information to be submitted to our servers in order to be able to:

  • personalize online software applications according to your needs
  • enforce strict security rules with respect to the data that you upload (e.g. statistical data)
  • manage user sessions of online applications
  • alert you about important changes or upgrades in resources or applications

We NEVER allow other companies to directly offer registered users information about their products and services. Banner references and hyperlinks of third parties NEVER contain any personal data of the visitor.

We do NOT sell, nor transmit by any means, personal information, nor statistical data series uploaded by you to third parties.

We carefully protect your data from loss, misuse, alteration, and destruction. However, at any time, and under any circumstance you are solely responsible for managing your passwords, and keeping them secret.

We store a unique ANONYMOUS USER ID in the form of a small 'Cookie' on your computer. This allows us to track your progress when using this website which is necessary to create state-dependent features. The cookie is used for NO OTHER PURPOSE. At any time you may opt to disallow cookies from this website - this will not affect other features of this website.

We examine cookies that are used by third-parties (banner and online ads) very closely: abuse from third-parties automatically results in termination of the advertising contract without refund. We have very good reason to believe that the cookies that are produced by third parties (banner ads) do NOT cause any privacy or security risk.

FreeStatistics.org is safe. There is no need to download any software to use the applications and services contained in this website. Hence, your system's security is not compromised by their use, and your personal data - other than data you submit in the account application form, and the user-agent information that is transmitted by your browser - is never transmitted to our servers.

As a general rule, we do not log on-line behavior of individuals (other than normal logging of webserver 'hits'). However, in cases of abuse, hacking, unauthorized access, Denial of Service attacks, illegal copying, hotlinking, non-compliance with international webstandards (such as robots.txt), or any other harmful behavior, our system engineers are empowered to log, track, identify, publish, and ban misbehaving individuals - even if this leads to ban entire blocks of IP addresses, or disclosing user's identity.


FreeStatistics.org is powered by