Home » date » 2010 » Dec » 19 »

Paper: Multiple Regression (4 maanden)

*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:21:41 +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/t1292786408r53hjydos65x08t.htm/, Retrieved Sun, 19 Dec 2010 20:20:19 +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/t1292786408r53hjydos65x08t.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 «
634 0 627 691 651 608 731 0 634 627 691 651 475 0 731 634 627 691 337 0 475 731 634 627 803 0 337 475 731 634 722 0 803 337 475 731 590 0 722 803 337 475 724 0 590 722 803 337 627 0 724 590 722 803 696 0 627 724 590 722 825 0 696 627 724 590 677 0 825 696 627 724 656 0 677 825 696 627 785 0 656 677 825 696 412 0 785 656 677 825 352 0 412 785 656 677 839 0 352 412 785 656 729 0 839 352 412 785 696 0 729 839 352 412 641 0 696 729 839 352 695 0 641 696 729 839 638 0 695 641 696 729 762 0 638 695 641 696 635 0 762 638 695 641 721 0 635 762 638 695 854 0 721 635 762 638 418 0 854 721 635 762 367 0 418 854 721 635 824 0 367 418 854 721 687 0 824 367 418 854 601 0 687 824 367 418 676 0 601 687 824 367 740 0 676 601 687 824 691 0 740 676 601 687 683 0 691 740 676 601 594 0 683 691 740 676 729 0 594 683 691 740 731 0 729 594 683 691 386 0 731 729 594 683 331 0 386 731 729 594 706 0 331 386 731 729 715 0 706 331 386 731 657 0 715 706 331 386 653 0 657 715 706 331 642 0 653 65 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 time8 seconds
R Server'George Udny Yule' @ 72.249.76.132


Multiple Linear Regression - Estimated Regression Equation
faillissement[t] = + 778.604796059064 + 76.3933609657064crisis[t] + 0.280149255301893`t-1`[t] -0.495364240293815`t-2`[t] + 0.311554991320822`t-3`[t] -0.296255280190032`t-4`[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)778.604796059064148.3170735.24961e-061e-06
crisis76.393360965706434.133322.23810.0282240.014112
`t-1`0.2801492553018930.1117322.50730.0143580.007179
`t-2`-0.4953642402938150.113207-4.37573.9e-052e-05
`t-3`0.3115549913208220.1110222.80620.0064020.003201
`t-4`-0.2962552801900320.117648-2.51810.0139590.00698


Multiple Linear Regression - Regression Statistics
Multiple R0.5331509684037
R-squared0.284249955109803
Adjusted R-squared0.235888465590195
F-TEST (value)5.87760960080759
F-TEST (DF numerator)5
F-TEST (DF denominator)74
p-value0.000125716661025455
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation136.596211836813
Sum Squared Residuals1380730.85652439


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1634634.660778084641-0.660778084641084
2731668.04835685521962.9516431447808
3475659.965554285313-184.965554285313
4337561.338236490936-224.338236490936
5803677.63793197128125.362068028719
6722768.052910145945-46.0529101459454
7590547.36784741594942.632152584051
8724736.580503801625-12.5805038016255
9627676.217668865322-49.2176688653216
10696565.53580174271130.464198257289
11825713.770497489116111.229502510884
12677645.81057713920331.1894228607972
13656590.6805569361965.3194430638098
14785677.860309685609107.139690314391
15412640.075142805728-228.075142805728
16352508.980610230607-156.980610230607
17839723.354471306463115.645528693537
18729735.082070148933-6.08207014893312
19696554.833187074269141.166812925731
20641769.580925666269-128.580925666269
21695591.972366056525103.027633943475
22638656.652225166303-18.6522251663030
23762606.574948361855155.425051638145
24635702.667227657813-67.6672276578133
25721571.906686802491149.093313197509
26854714.430151170382139.569848829618
27418632.785538818958-214.785538818958
28367509.17516938598-142.175169385979
29824726.82522588301397.174774116987
30687704.87708332981-17.8770833298102
31601553.39317514466947.6068248553309
32676754.654890432266-78.6548904322662
33740640.1957123873899.8042876126207
34691634.76619083710856.233809162892
35683638.18014439391544.8198556060846
36594657.932171556177-63.9321715561774
37729602.735269249777126.264730750223
38731696.66690490042734.3330950995727
39386604.994678985333-218.994678985333
40331575.779101190816-244.779101190816
41706691.90020220756514.0997977924345
42715716.122223595872-1.12222359587171
43657617.95452392632439.0454760736763
44653730.37475111193-77.3747511119296
45642649.693544878389-7.69354487838882
46643627.85687301292515.1431269870747
47718649.52261519719868.4773848028023
48654667.796361320777-13.7963613207770
49632616.28485403283115.7151459671692
50731664.89525086386566.104749136135
51392737.762735932138-345.762735932138
52344605.857206718812-261.857206718812
53792797.700080228867-5.70008022886674
54852812.03801534164639.9619846583536
55649692.399691409152-43.399691409152
56629759.604427726088-130.604427726088
57685740.53131735381-55.5313173538102
58617685.105980407064-68.1059804070638
59715692.22415564224122.7758443577586
60715776.735736119573-61.735736119573
61629690.414005470322-61.4140054703215
62916716.998917716721199.001082283279
63531810.97006119501-279.97006119501
64357534.149331685865-177.149331685865
65917791.012830381873125.987169618127
66828829.115854089002-1.11585408900189
67708586.626310185936121.373689814064
68858823.11503082858434.884969171416
69775730.94977682515544.0502231748449
70785622.37287356944162.62712643056
711006748.573480387772257.426519612228
72789735.2354670984253.7645329015802
73734592.672319761957141.327680238043
74906750.649251144112155.350748855888
75532693.000106233582-161.000106233582
76387550.173506698729-163.173506698729
77991764.699589467475226.300410532525
78841838.2600795657492.73992043425136
79892562.661691182553329.338308817447
80782882.390169632353-100.390169632353


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
90.7279854933735820.5440290132528360.272014506626418
100.7819137634699620.4361724730600770.218086236530038
110.7480894927461550.503821014507690.251910507253845
120.6560853660300440.6878292679399130.343914633969956
130.5659427829528150.868114434094370.434057217047185
140.493867074508820.987734149017640.50613292549118
150.6031832504252770.7936334991494450.396816749574723
160.5835265258428010.8329469483143990.416473474157199
170.5188134815536040.9623730368927910.481186518446396
180.425541550360360.851083100720720.57445844963964
190.4058529484673050.811705896934610.594147051532695
200.4589299645594520.9178599291189030.541070035440548
210.4562873308941520.9125746617883050.543712669105848
220.3747374254052500.7494748508104990.62526257459475
230.3946826064610050.789365212922010.605317393538995
240.3314226841349430.6628453682698860.668577315865057
250.3381294960872900.6762589921745810.66187050391271
260.3452183651469750.690436730293950.654781634853025
270.4118375768769230.8236751537538460.588162423123077
280.4230931934297940.8461863868595890.576906806570206
290.3721146188387090.7442292376774170.627885381161291
300.3070429413598250.6140858827196510.692957058640175
310.2497023533818580.4994047067637150.750297646618142
320.2172827676433860.4345655352867710.782717232356614
330.1959157907801900.3918315815603810.80408420921981
340.1588277485493350.3176554970986710.841172251450665
350.1247417437987830.2494834875975650.875258256201217
360.096441252927230.192882505854460.90355874707277
370.0923321545524090.1846643091048180.907667845447591
380.06869105700342950.1373821140068590.93130894299657
390.1037740922144170.2075481844288350.896225907785583
400.1946832080352670.3893664160705340.805316791964733
410.1521652441622640.3043304883245280.847834755837736
420.1174133125915500.2348266251831010.88258668740845
430.0878490145821020.1756980291642040.912150985417898
440.07118537100426230.1423707420085250.928814628995738
450.05088467697800460.1017693539560090.949115323021995
460.03531466521063010.07062933042126030.96468533478937
470.02551155892295950.0510231178459190.97448844107704
480.01702385864394860.03404771728789720.982976141356051
490.01110651901467150.0222130380293430.988893480985328
500.007364875672579010.0147297513451580.99263512432742
510.01670847066998560.03341694133997120.983291529330014
520.02924409760723370.05848819521446730.970755902392766
530.02957767634029050.0591553526805810.97042232365971
540.02735675959600090.05471351919200190.97264324040400
550.02133075817236450.04266151634472910.978669241827635
560.02281075069824870.04562150139649740.977189249301751
570.01736729716058620.03473459432117240.982632702839414
580.01253739286725460.02507478573450920.987462607132745
590.009234959261140890.01846991852228180.99076504073886
600.006626468590236740.01325293718047350.993373531409763
610.005020180156965070.01004036031393010.994979819843035
620.008035806176000810.01607161235200160.991964193824
630.03286162264115030.06572324528230070.96713837735885
640.08766794986764360.1753358997352870.912332050132356
650.06542826528116410.1308565305623280.934571734718836
660.04226223903757740.08452447807515480.957737760962423
670.03471371924756890.06942743849513770.965286280752431
680.02407699039272040.04815398078544080.97592300960728
690.01356777055169320.02713554110338640.986432229448307
700.009680002395217820.01936000479043560.990319997604782
710.01570662852219850.03141325704439700.984293371477801


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level160.253968253968254NOK
10% type I error level240.380952380952381NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/19/t1292786408r53hjydos65x08t/10q9qq1292786491.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/19/t1292786408r53hjydos65x08t/10q9qq1292786491.ps (open in new window)


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


http://www.freestatistics.org/blog/date/2010/Dec/19/t1292786408r53hjydos65x08t/2c0si1292786491.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/19/t1292786408r53hjydos65x08t/2c0si1292786491.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/19/t1292786408r53hjydos65x08t/3c0si1292786491.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/19/t1292786408r53hjydos65x08t/3c0si1292786491.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/19/t1292786408r53hjydos65x08t/4c0si1292786491.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/19/t1292786408r53hjydos65x08t/4c0si1292786491.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/19/t1292786408r53hjydos65x08t/54ra31292786491.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/19/t1292786408r53hjydos65x08t/54ra31292786491.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/19/t1292786408r53hjydos65x08t/64ra31292786491.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/19/t1292786408r53hjydos65x08t/64ra31292786491.ps (open in new window)


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


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


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