Home » date » 2009 » Nov » 20 »

*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: Fri, 20 Nov 2009 11:57:11 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Nov/20/t1258743452k9pm3n9hm4s2rqa.htm/, Retrieved Fri, 20 Nov 2009 19:57:45 +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/2009/Nov/20/t1258743452k9pm3n9hm4s2rqa.htm/},
    year = {2009},
}
@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 = {2009},
    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 «
519164 0,9 517009 1,3 509933 1,4 509127 1,5 500857 1,1 506971 1,6 569323 1,5 579714 1,6 577992 1,7 565464 1,6 547344 1,7 554788 1,6 562325 1,6 560854 1,3 555332 1,1 543599 1,6 536662 1,9 542722 1,6 593530 1,7 610763 1,6 612613 1,4 611324 2,1 594167 1,9 595454 1,7 590865 1,8 589379 2 584428 2,5 573100 2,1 567456 2,1 569028 2,3 620735 2,4 628884 2,4 628232 2,3 612117 1,7 595404 2 597141 2,3 593408 2 590072 2 579799 1,3 574205 1,7 572775 1,9 572942 1,7 619567 1,6 625809 1,7 619916 1,8 587625 1,9 565742 1,9 557274 1,9 560576 2 548854 2,1 531673 1,9 525919 1,9 511038 1,3 498662 1,3 555362 1,4 564591 1,2 541657 1,3 527070 1,8 509846 2,2 514258 2,6 516922 2,8 507561 3,1 492622 3,9 490243 3,7 469357 4,6 477580 5,1 528379 5,2 533590 4,9 517945 5,1 506174 4,8 501866 3,9 516141 3,5
 
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 time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
TWIB[t] = + 594927.970623835 -17243.5164516920GI[t] -5817.46518820495M1[t] -8727.55493550756M2[t] -17855.7124462563M3[t] -22971.8113494768M4[t] -31496.9102526974M5[t] -27858.5M6[t] + 25881.4505483898M7[t] + 34141.0494516103M8[t] + 27216.5M9[t] + 13315.1758225846M10[t] -3447.83333333331M11[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)594927.97062383516314.90772736.465300
GI-17243.51645169203888.146543-4.43494.1e-052e-05
M1-5817.4651882049519484.209737-0.29860.7663150.383157
M2-8727.5549355075619451.746008-0.44870.6553080.327654
M3-17855.712446256319441.056722-0.91850.3621210.18106
M4-22971.811349476819429.821239-1.18230.2418310.120916
M5-31496.910252697419422.039021-1.62170.1101980.055099
M6-27858.519416.741005-1.43480.1566330.078317
M725881.450548389819417.173551.33290.1876840.093842
M834141.049451610319417.173551.75830.0838840.041942
M927216.519416.7410051.40170.1662430.083122
M1013315.175822584619417.7142180.68570.4955730.247787
M11-3447.8333333333119416.741005-0.17760.8596690.429834


Multiple Linear Regression - Regression Statistics
Multiple R0.662414641170354
R-squared0.438793156836848
Adjusted R-squared0.324649392125699
F-TEST (value)3.84421486313555
F-TEST (DF numerator)12
F-TEST (DF denominator)59
p-value0.000242570584629398
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation33630.7819379067
Sum Squared Residuals66730740131.5468


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1519164573591.340629107-54427.3406291072
2517009563783.844301128-46774.844301128
3509933552931.33514521-42998.3351452101
4509127546090.88459682-36963.8845968203
5500857544463.192274277-43606.1922742765
6506971539479.844301128-32508.844301128
7569323594944.146494687-25621.1464946869
8579714601479.393752738-21765.3937527382
9577992592830.492655959-14838.4926559588
10565464580653.520123713-15189.5201237126
11547344562166.159322625-14822.1593226254
12554788567338.344301128-12550.3443011280
13562325561520.879112923804.120887076976
14560854563783.844301128-2929.84430112799
15555332558104.390080718-2772.39008071764
16543599544366.532951651-767.532951651121
17536662530668.3791129235993.62088707702
18542722539479.8443011283242.15569887204
19593530591495.4432043492034.55679565148
20610763601479.3937527389283.60624726175
21612613598003.54759146614609.4524085336
22611324572031.76189786739292.2381021334
23594167558717.45603228735449.5439677129
24595454565613.99265595929840.0073440412
25590865558072.17582258532792.8241774154
26589379551713.38278494437665.6172150564
27584428533963.46704834950464.5329516511
28573100535744.77472580537355.2252741949
29567456527219.67582258540236.3241774154
30569028527409.38278494441618.6172150564
31620735579424.98168816441310.0183118359
32628884587684.58059138541199.4194086153
33628232582484.38278494445747.6172150564
34612117578929.16847854333187.8315214566
35595404556993.10438711838410.8956128821
36597141555267.88278494441873.1172150564
37593408554623.47253224638784.5274677538
38590072551713.38278494438358.6172150564
39579799554655.68679037925143.3132096207
40574205542642.18130648231562.8186935181
41572775530668.37911292342106.620887077
42572942537755.49265595935186.5073440412
43619567593219.79484951826347.2051504823
44625809599755.04210756926053.9578924309
45619916591106.1410107928809.8589892104
46587625575480.46518820512144.534811795
47565742558717.4560322877024.54396771293
48557274562165.28936562-4891.28936562038
49560576554623.4725322465952.52746775376
50548854549989.031139774-1135.03113977442
51531673544309.576919364-12636.5769193641
52525919539193.478016144-13274.4780161435
53511038541014.488983938-29976.4889839382
54498662544652.899236636-45990.8992366356
55555362596668.498139856-41306.4981398561
56564591608376.800333415-43785.800333415
57541657599727.899236636-58070.8992366356
58527070577204.816833374-50134.8168333742
59509846553544.40109678-43698.4010967795
60514258550094.827849436-35836.827849436
61516922540828.659370893-23906.6593708927
62507561532745.514688083-25184.5146880825
63492622509822.54401598-17200.5440159802
64490243508155.148403098-17912.148403098
65469357484110.884693355-14753.8846933547
66477580479127.536720206-1547.53672020610
67528379531143.135623427-2764.13562342665
68533590544575.789462155-10985.7894621548
69517945534202.536720206-16257.5367202061
70506174525474.267478298-19300.2674782983
71501866524230.423128903-22364.4231289031
72516141534575.663042913-18434.6630429132


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.5724961075317870.8550077849364260.427503892468213
170.401270357121510.802540714243020.59872964287849
180.3396161414785740.6792322829571490.660383858521426
190.2330731323369970.4661462646739940.766926867663003
200.1828268622376520.3656537244753040.817173137762348
210.1836367208010650.3672734416021290.816363279198935
220.1484307344735380.2968614689470770.851569265526462
230.1375433873958770.2750867747917530.862456612604124
240.1204253565613280.2408507131226560.879574643438672
250.08925546637757370.1785109327551470.910744533622426
260.05995472260070060.1199094452014010.9400452773993
270.04813503014564740.09627006029129470.951864969854353
280.03485839123076020.06971678246152040.96514160876924
290.02499012696813970.04998025393627930.97500987303186
300.01709733363306090.03419466726612170.98290266636694
310.01199852363342130.02399704726684260.988001476366579
320.009210802198136150.01842160439627230.990789197801864
330.008092315390698980.01618463078139800.9919076846093
340.009721925246872580.01944385049374520.990278074753127
350.009545157257096070.01909031451419210.990454842742904
360.01071201867838950.02142403735677910.98928798132161
370.008855597466696980.01771119493339400.991144402533303
380.00825802643490710.01651605286981420.991741973565093
390.01814491618068780.03628983236137570.981855083819312
400.02500160874090340.05000321748180670.974998391259097
410.04541985795645440.09083971591290880.954580142043546
420.0970410001928050.194082000385610.902958999807195
430.1592836833804090.3185673667608180.840716316619591
440.2588548171597890.5177096343195780.741145182840211
450.5595511576966640.8808976846066720.440448842303336
460.7788062877383260.4423874245233470.221193712261674
470.923957389641720.1520852207165590.0760426103582796
480.957762322822110.0844753543557790.0422376771778895
490.9843184693693360.03136306126132830.0156815306306641
500.9962118721451270.00757625570974510.00378812785487255
510.998248769759880.003502460480240430.00175123024012022
520.9994851475492330.001029704901534030.000514852450767013
530.99994304923830.0001139015233988925.69507616994458e-05
540.999754195974730.0004916080505408020.000245804025270401
550.9983885086858190.003222982628362310.00161149131418115
560.9954623788164670.009075242367066520.00453762118353326


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level70.170731707317073NOK
5% type I error level190.463414634146341NOK
10% type I error level240.585365853658537NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258743452k9pm3n9hm4s2rqa/10v9841258743427.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258743452k9pm3n9hm4s2rqa/10v9841258743427.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t1258743452k9pm3n9hm4s2rqa/1bwta1258743427.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258743452k9pm3n9hm4s2rqa/1bwta1258743427.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t1258743452k9pm3n9hm4s2rqa/2f5r11258743427.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258743452k9pm3n9hm4s2rqa/2f5r11258743427.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t1258743452k9pm3n9hm4s2rqa/3kveg1258743427.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258743452k9pm3n9hm4s2rqa/3kveg1258743427.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t1258743452k9pm3n9hm4s2rqa/4em4y1258743427.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258743452k9pm3n9hm4s2rqa/4em4y1258743427.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t1258743452k9pm3n9hm4s2rqa/5h01p1258743427.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258743452k9pm3n9hm4s2rqa/5h01p1258743427.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t1258743452k9pm3n9hm4s2rqa/6y2nc1258743427.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258743452k9pm3n9hm4s2rqa/6y2nc1258743427.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t1258743452k9pm3n9hm4s2rqa/7shbq1258743427.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258743452k9pm3n9hm4s2rqa/7shbq1258743427.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t1258743452k9pm3n9hm4s2rqa/8go2c1258743427.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258743452k9pm3n9hm4s2rqa/8go2c1258743427.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t1258743452k9pm3n9hm4s2rqa/9fz2t1258743427.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258743452k9pm3n9hm4s2rqa/9fz2t1258743427.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 = Include Monthly 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