Home » date » 2010 » Dec » 19 »

Paper: Multiple Regression (crisis)

*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: Sun, 19 Dec 2010 19:16: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/19/t1292786060r090y5g0vtuxn5k.htm/, Retrieved Sun, 19 Dec 2010 20:14:31 +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/19/t1292786060r090y5g0vtuxn5k.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 «
608 0 651 0 691 0 627 0 634 0 731 0 475 0 337 0 803 0 722 0 590 0 724 0 627 0 696 0 825 0 677 0 656 0 785 0 412 0 352 0 839 0 729 0 696 0 641 0 695 0 638 0 762 0 635 0 721 0 854 0 418 0 367 0 824 0 687 0 601 0 676 0 740 0 691 0 683 0 594 0 729 0 731 0 386 0 331 0 706 0 715 0 657 0 653 0 642 0 643 0 718 0 654 0 632 0 731 0 392 1 344 1 792 1 852 1 649 1 629 1 685 1 617 1 715 1 715 1 629 1 916 1 531 1 357 1 917 1 828 1 708 1 858 1 775 1 785 1 1006 1 789 1 734 1 906 1 532 1 387 1 991 1 841 1 892 1 782 1
 
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 time7 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
faillissement[t] = + 648.925925925926 + 69.5407407407407crisis[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)648.92592592592620.40303731.805400
crisis69.540740740740734.1408112.03690.0448880.022444


Multiple Linear Regression - Regression Statistics
Multiple R0.219452565451463
R-squared0.0481594284832285
Adjusted R-squared0.036551616635463
F-TEST (value)4.1488808670257
F-TEST (DF numerator)1
F-TEST (DF denominator)82
p-value0.0448882839204829
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation149.931088657357
Sum Squared Residuals1843305.17037037


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1608648.925925925926-40.9259259259263
2651648.9259259259262.07407407407415
3691648.92592592592642.0740740740741
4627648.925925925926-21.9259259259259
5634648.925925925926-14.9259259259259
6731648.92592592592682.074074074074
7475648.925925925926-173.925925925926
8337648.925925925926-311.925925925926
9803648.925925925926154.074074074074
10722648.92592592592673.0740740740741
11590648.925925925926-58.9259259259259
12724648.92592592592675.0740740740741
13627648.925925925926-21.9259259259259
14696648.92592592592647.0740740740741
15825648.925925925926176.074074074074
16677648.92592592592628.0740740740741
17656648.9259259259267.07407407407408
18785648.925925925926136.074074074074
19412648.925925925926-236.925925925926
20352648.925925925926-296.925925925926
21839648.925925925926190.074074074074
22729648.92592592592680.0740740740741
23696648.92592592592647.0740740740741
24641648.925925925926-7.92592592592592
25695648.92592592592646.0740740740741
26638648.925925925926-10.9259259259259
27762648.925925925926113.074074074074
28635648.925925925926-13.9259259259259
29721648.92592592592672.0740740740741
30854648.925925925926205.074074074074
31418648.925925925926-230.925925925926
32367648.925925925926-281.925925925926
33824648.925925925926175.074074074074
34687648.92592592592638.0740740740741
35601648.925925925926-47.9259259259259
36676648.92592592592627.0740740740741
37740648.92592592592691.0740740740741
38691648.92592592592642.0740740740741
39683648.92592592592634.0740740740741
40594648.925925925926-54.9259259259259
41729648.92592592592680.0740740740741
42731648.92592592592682.074074074074
43386648.925925925926-262.925925925926
44331648.925925925926-317.925925925926
45706648.92592592592657.0740740740741
46715648.92592592592666.0740740740741
47657648.9259259259268.07407407407408
48653648.9259259259264.07407407407408
49642648.925925925926-6.92592592592592
50643648.925925925926-5.92592592592592
51718648.92592592592669.0740740740741
52654648.9259259259265.07407407407408
53632648.925925925926-16.9259259259259
54731648.92592592592682.074074074074
55392718.466666666667-326.466666666667
56344718.466666666667-374.466666666667
57792718.46666666666773.5333333333333
58852718.466666666667133.533333333333
59649718.466666666667-69.4666666666667
60629718.466666666667-89.4666666666667
61685718.466666666667-33.4666666666667
62617718.466666666667-101.466666666667
63715718.466666666667-3.46666666666668
64715718.466666666667-3.46666666666668
65629718.466666666667-89.4666666666667
66916718.466666666667197.533333333333
67531718.466666666667-187.466666666667
68357718.466666666667-361.466666666667
69917718.466666666667198.533333333333
70828718.466666666667109.533333333333
71708718.466666666667-10.4666666666667
72858718.466666666667139.533333333333
73775718.46666666666756.5333333333333
74785718.46666666666766.5333333333333
751006718.466666666667287.533333333333
76789718.46666666666770.5333333333333
77734718.46666666666715.5333333333333
78906718.466666666667187.533333333333
79532718.466666666667-186.466666666667
80387718.466666666667-331.466666666667
81991718.466666666667272.533333333333
82841718.466666666667122.533333333333
83892718.466666666667173.533333333333
84782718.46666666666763.5333333333333


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.01701216043552250.03402432087104490.982987839564478
60.02091380616824590.04182761233649190.979086193831754
70.1028039369078320.2056078738156630.897196063092168
80.4498688819355150.899737763871030.550131118064485
90.5272050602509170.9455898794981670.472794939749083
100.4595144574213490.9190289148426990.540485542578651
110.3614208157750970.7228416315501930.638579184224903
120.3053300081660420.6106600163320850.694669991833958
130.2236663807710860.4473327615421730.776333619228914
140.1685600726070480.3371201452140960.831439927392952
150.2095622176281460.4191244352562910.790437782371854
160.1522925735257940.3045851470515890.847707426474206
170.1059450089750250.2118900179500490.894054991024975
180.1019356121645540.2038712243291090.898064387835446
190.1894190007378230.3788380014756460.810580999262177
200.3789855342023790.7579710684047590.621014465797621
210.4338892683775590.8677785367551180.566110731622441
220.3831523947952850.766304789590570.616847605204715
230.3213793018306760.6427586036613520.678620698169324
240.2586182255334290.5172364510668580.741381774466571
250.2084873174709680.4169746349419350.791512682529032
260.1608258974853560.3216517949707120.839174102514644
270.1435517227961780.2871034455923560.856448277203822
280.1076642067643710.2153284135287420.892335793235629
290.08482657681842220.1696531536368440.915173423181578
300.1123270972768460.2246541945536930.887672902723154
310.1701780771677750.340356154335550.829821922832225
320.2993198403771990.5986396807543990.7006801596228
330.3195283390777890.6390566781555770.680471660922211
340.2665056523996260.5330113047992520.733494347600374
350.2203825427369820.4407650854739640.779617457263018
360.1764264191868780.3528528383737560.823573580813122
370.1511405783367060.3022811566734120.848859421663294
380.1189318225786360.2378636451572730.881068177421364
390.09131722314883080.1826344462976620.90868277685117
400.07036485205210050.1407297041042010.9296351479479
410.05652943812074380.1130588762414880.943470561879256
420.04546814878270610.09093629756541230.954531851217294
430.08525209039717060.1705041807943410.914747909602829
440.2075145029115640.4150290058231280.792485497088436
450.169231952643490.338463905286980.83076804735651
460.1373079876772920.2746159753545850.862692012322708
470.1053035599719960.2106071199439930.894696440028004
480.0790759347707770.1581518695415540.920924065229223
490.05833551774666320.1166710354933260.941664482253337
500.04220868655438390.08441737310876780.957791313445616
510.03119732212976760.06239464425953530.968802677870232
520.02150760031999590.04301520063999190.978492399680004
530.01502656614892600.03005313229785190.984973433851074
540.01051357814520850.02102715629041700.989486421854791
550.01796076183223630.03592152366447260.982039238167764
560.0492273942269570.0984547884539140.950772605773043
570.0788947740367830.1577895480735660.921105225963217
580.1023090001598930.2046180003197870.897690999840107
590.08107649641898930.1621529928379790.91892350358101
600.06526209203613210.1305241840722640.934737907963868
610.04885915319960030.09771830639920060.9511408468004
620.03991416474790960.07982832949581920.96008583525209
630.02865957160037840.05731914320075680.971340428399622
640.01989237989823160.03978475979646310.980107620101768
650.01543411038776930.03086822077553860.98456588961223
660.01999429804243740.03998859608487490.980005701957563
670.02584178832252200.05168357664504410.974158211677478
680.1804719450682830.3609438901365660.819528054931717
690.1933611356733380.3867222713466770.806638864326662
700.1554560320217350.310912064043470.844543967978265
710.1178478825177790.2356957650355580.88215211748222
720.09390641033293210.1878128206658640.906093589667068
730.06252228324167750.1250445664833550.937477716758323
740.03934390705789690.07868781411579380.960656092942103
750.06773088546899260.1354617709379850.932269114531007
760.04027138808093440.08054277616186890.959728611919066
770.02128187218378110.04256374436756230.978718127816219
780.01726686263719280.03453372527438570.982733137362807
790.02087594010392730.04175188020785470.979124059896073


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level120.16NOK
10% type I error level220.293333333333333NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/19/t1292786060r090y5g0vtuxn5k/103kis1292786158.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/19/t1292786060r090y5g0vtuxn5k/103kis1292786158.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/19/t1292786060r090y5g0vtuxn5k/1f2lg1292786158.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/19/t1292786060r090y5g0vtuxn5k/1f2lg1292786158.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/19/t1292786060r090y5g0vtuxn5k/27b2j1292786158.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/19/t1292786060r090y5g0vtuxn5k/27b2j1292786158.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/19/t1292786060r090y5g0vtuxn5k/37b2j1292786158.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/19/t1292786060r090y5g0vtuxn5k/37b2j1292786158.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/19/t1292786060r090y5g0vtuxn5k/47b2j1292786158.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/19/t1292786060r090y5g0vtuxn5k/47b2j1292786158.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/19/t1292786060r090y5g0vtuxn5k/57b2j1292786158.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/19/t1292786060r090y5g0vtuxn5k/57b2j1292786158.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/19/t1292786060r090y5g0vtuxn5k/6i2jm1292786158.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/19/t1292786060r090y5g0vtuxn5k/6i2jm1292786158.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/19/t1292786060r090y5g0vtuxn5k/7bbip1292786158.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/19/t1292786060r090y5g0vtuxn5k/7bbip1292786158.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/19/t1292786060r090y5g0vtuxn5k/8bbip1292786158.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/19/t1292786060r090y5g0vtuxn5k/8bbip1292786158.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/19/t1292786060r090y5g0vtuxn5k/9bbip1292786158.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/19/t1292786060r090y5g0vtuxn5k/9bbip1292786158.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