Home » date » 2010 » Nov » 30 »

WS8

*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: Tue, 30 Nov 2010 13:01:48 +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/Nov/30/t1291122033odgm44wj735c8q2.htm/, Retrieved Tue, 30 Nov 2010 14:00:43 +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/Nov/30/t1291122033odgm44wj735c8q2.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 «
98,60 627 98,97 696 99,11 825 99,64 677 100,03 656 99,98 785 100,32 412 100,44 352 100,51 839 101,00 729 100,88 696 100,55 641 100,83 695 101,51 638 102,16 762 102,39 635 102,54 721 102,85 854 103,47 418 103,57 367 103,69 824 103,50 687 103,47 601 103,45 676 103,48 740 103,93 691 103,89 683 104,40 594 104,79 729 104,77 731 105,13 386 105,26 331 104,96 707 104,75 715 105,01 657 105,15 653 105,20 642 105,77 643 105,78 718 106,26 654 106,13 632 106,12 731 106,57 392 106,44 344 106,54 792 107,10 852 108,10 649 108,40 629 108,84 685 109,62 617 110,42 715 110,67 715 111,66 629 112,28 916 112,87 531 112,18 357 112,36 917 112,16 828 111,49 708 111,25 858 111,36 775 111,74 785 111,10 1006 111,33 789 111,25 734 111,04 906 110,97 532 111,31 387 111,02 991 111,07 841 111,36 892 111,54 782
 
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'George Udny Yule' @ 72.249.76.132


Multiple Linear Regression - Estimated Regression Equation
CPI[t] = + 102.109995585164 + 0.00584361109028173Faillissementen[t] + e[t]


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


Multiple Linear Regression - Regression Statistics
Multiple R0.2139203175466
R-squared0.0457619022592383
Adjusted R-squared0.0321299294343703
F-TEST (value)3.35695374742513
F-TEST (DF numerator)1
F-TEST (DF denominator)70
p-value0.0711755913075947
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation4.2066072515111
Sum Squared Residuals1238.68811979260


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
198.6105.773939738771-7.17393973877095
298.97106.177148904000-7.20714890400045
399.11106.930974734647-7.82097473464679
499.64106.066120293285-6.4261202932851
5100.03105.943404460389-5.91340446038918
699.98106.697230291036-6.71723029103552
7100.32104.517563354360-4.19756335436044
8100.44104.166946688944-3.72694668894354
9100.51107.012785289911-6.50278528991073
10101106.369988069980-5.36998806997974
11100.88106.177148904000-5.29714890400045
12100.55105.855750294035-5.30575029403496
13100.83106.171305292910-5.34130529291017
14101.51105.838219460764-4.3282194607641
15102.16106.562827235959-4.40282723595905
16102.39105.820688627493-3.43068862749326
17102.54106.323239181257-3.78323918125748
18102.85107.100439456265-4.25043945626497
19103.47104.552625020902-1.08262502090213
20103.57104.254600855298-0.684600855297766
21103.69106.925131123557-3.23513112355651
22103.5106.124556404188-2.62455640418791
23103.47105.622005850424-2.15200585042369
24103.45106.060276682195-2.61027668219481
25103.48106.434267791973-2.95426779197284
26103.93106.147930848549-2.21793084854903
27103.89106.101181959827-2.21118195982679
28104.4105.581100572792-1.18110057279171
29104.79106.369988069980-1.57998806997974
30104.77106.381675292160-1.61167529216031
31105.13104.3656294660130.764370533986883
32105.26104.0442308560481.21576914395239
33104.96106.241428625994-1.28142862599355
34104.75106.288177514716-1.5381775147158
35105.01105.949248071479-0.939248071479456
36105.15105.925873627118-0.775873627118328
37105.2105.861593905125-0.661593905125232
38105.77105.867437516216-0.0974375162155204
39105.78106.305708347987-0.525708347986645
40106.26105.9317172382090.32828276179139
41106.13105.8031577942220.326842205777578
42106.12106.381675292160-0.261675292160304
43106.57104.4006911325552.16930886744519
44106.44104.1201978002212.31980219977872
45106.54106.738135568667-0.198135568667488
46107.1107.0887522340840.0112477659155968
47108.1105.9024991827572.19750081724279
48108.4105.7856269609522.61437303904843
49108.84106.1128691820072.72713081799265
50109.62105.7155036278683.90449637213181
51110.42106.2881775147164.1318224852842
52110.67106.2881775147164.3818224852842
53111.66105.7856269609525.87437303904842
54112.28107.4627433438624.81725665613757
55112.87105.2129530741047.65704692589604
56112.18104.1961647443957.98383525560506
57112.36107.4685869549534.89141304504729
58112.16106.9485055679185.21149443208236
59111.49106.2472722370845.24272776291617
60111.25107.1238139006264.12618609937391
61111.36106.6387941801334.7212058198673
62111.74106.6972302910365.04276970896447
63111.1107.9886683419883.11133165801221
64111.33106.7206047353974.60939526460335
65111.25106.3992061254314.85079387456885
66111.04107.4043072329603.63569276704040
67110.97105.2187966851945.75120331480575
68111.31104.3714730771036.9385269228966
69111.02107.9010141756343.11898582436644
70111.07107.0244725120914.04552748790869
71111.36107.3224966776964.03750332230433
72111.54106.6796994577654.86030054223533


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.006430621292532630.01286124258506530.993569378707467
60.001599632179974780.003199264359949560.998400367820025
70.0004249176051264980.0008498352102529960.999575082394873
87.19326592917486e-050.0001438653185834970.999928067340708
96.76801527059401e-050.0001353603054118800.999932319847294
106.1251738648522e-050.0001225034772970440.999938748261352
113.27571337805318e-056.55142675610637e-050.99996724286622
121.14391896602778e-052.28783793205555e-050.99998856081034
135.60762694100396e-061.12152538820079e-050.99999439237306
146.08796943080518e-061.21759388616104e-050.99999391203057
151.71110105254843e-053.42220210509687e-050.999982888989475
163.50598219088603e-057.01196438177206e-050.999964940178091
176.57989771804992e-050.0001315979543609980.99993420102282
180.0001271024613282580.0002542049226565160.999872897538672
190.0003356305390517210.0006712610781034410.999664369460948
200.0003989066441230610.0007978132882461220.999601093355877
210.001099878654384940.002199757308769870.998900121345615
220.001628291605915330.003256583211830660.998371708394085
230.001976383665984310.003952767331968620.998023616334016
240.002616948746337570.005233897492675140.997383051253662
250.003864606320135550.00772921264027110.996135393679864
260.005948452505583330.01189690501116670.994051547494417
270.00880942892244850.0176188578448970.991190571077551
280.01279956478099380.02559912956198760.987200435219006
290.02314718517861140.04629437035722290.976852814821389
300.03872539993078160.07745079986156320.961274600069218
310.04536979356732040.09073958713464080.95463020643268
320.04568805484936230.09137610969872460.954311945150638
330.07122504726716650.1424500945343330.928774952732834
340.1094338815311570.2188677630623150.890566118468843
350.1553225852185640.3106451704371270.844677414781436
360.2183832072096630.4367664144193270.781616792790337
370.3016678364759980.6033356729519970.698332163524002
380.4023746131593460.8047492263186910.597625386840654
390.5452852054853110.9094295890293770.454714794514688
400.6652420679593180.6695158640813650.334757932040682
410.7778675339920980.4442649320158030.222132466007902
420.8949712528499560.2100574943000880.105028747150044
430.9321026162822650.1357947674354700.0678973837177351
440.9713241854452220.05735162910955510.0286758145547775
450.9963345177553630.007330964489274540.00366548224463727
460.9998114553669680.0003770892660648030.000188544633032401
470.9999851105469182.97789061647867e-051.48894530823933e-05
480.9999994277111691.14457766239746e-065.72288831198732e-07
490.9999999898863362.02273286426521e-081.01136643213260e-08
500.999999999610797.78420848778272e-103.89210424389136e-10
510.9999999998816732.36654807852616e-101.18327403926308e-10
520.9999999999311691.37662419028644e-106.88312095143218e-11
530.9999999998471273.05745467685714e-101.52872733842857e-10
540.9999999998955792.08842987132549e-101.04421493566274e-10
550.9999999999873352.53302067431205e-111.26651033715603e-11
560.9999999999835153.29694328016840e-111.64847164008420e-11
570.9999999999973335.33486478909265e-122.66743239454632e-12
580.9999999999998083.84789615230864e-131.92394807615432e-13
590.9999999999983043.39243523319892e-121.69621761659946e-12
600.9999999999756024.87961113212484e-112.43980556606242e-11
610.9999999996814596.37082684147208e-103.18541342073604e-10
620.9999999996417437.1651321117081e-103.58256605585405e-10
630.9999999932162991.35674020977489e-086.78370104887444e-09
640.999999893049742.13900517744144e-071.06950258872072e-07
650.9999980802029733.83959405469148e-061.91979702734574e-06
660.999970829863885.83402722397129e-052.91701361198564e-05
670.9997546625945240.0004906748109517210.000245337405475860


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level430.682539682539683NOK
5% type I error level480.761904761904762NOK
10% type I error level520.825396825396825NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Nov/30/t1291122033odgm44wj735c8q2/105s5h1291122100.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t1291122033odgm44wj735c8q2/105s5h1291122100.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/30/t1291122033odgm44wj735c8q2/1r0pq1291122100.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t1291122033odgm44wj735c8q2/1r0pq1291122100.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/30/t1291122033odgm44wj735c8q2/2r0pq1291122100.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t1291122033odgm44wj735c8q2/2r0pq1291122100.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/30/t1291122033odgm44wj735c8q2/3r0pq1291122100.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t1291122033odgm44wj735c8q2/3r0pq1291122100.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/30/t1291122033odgm44wj735c8q2/42r6t1291122100.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t1291122033odgm44wj735c8q2/42r6t1291122100.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/30/t1291122033odgm44wj735c8q2/52r6t1291122100.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t1291122033odgm44wj735c8q2/52r6t1291122100.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/30/t1291122033odgm44wj735c8q2/62r6t1291122100.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t1291122033odgm44wj735c8q2/62r6t1291122100.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/30/t1291122033odgm44wj735c8q2/7ujoe1291122100.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t1291122033odgm44wj735c8q2/7ujoe1291122100.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/30/t1291122033odgm44wj735c8q2/85s5h1291122100.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t1291122033odgm44wj735c8q2/85s5h1291122100.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/30/t1291122033odgm44wj735c8q2/95s5h1291122100.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t1291122033odgm44wj735c8q2/95s5h1291122100.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