Home » date » 2010 » Dec » 19 »

Paper: Multiple Regression (12 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:24:42 +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/t1292786608a20ptkg9sx6d2fk.htm/, Retrieved Sun, 19 Dec 2010 20:23:39 +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/t1292786608a20ptkg9sx6d2fk.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 «
627 0 724 590 722 803 608 696 0 627 724 590 722 651 825 0 696 627 724 590 691 677 0 825 696 627 724 627 656 0 677 825 696 627 634 785 0 656 677 825 696 731 412 0 785 656 677 825 475 352 0 412 785 656 677 337 839 0 352 412 785 656 803 729 0 839 352 412 785 722 696 0 729 839 352 412 590 641 0 696 729 839 352 724 695 0 641 696 729 839 627 638 0 695 641 696 729 696 762 0 638 695 641 696 825 635 0 762 638 695 641 677 721 0 635 762 638 695 656 854 0 721 635 762 638 785 418 0 854 721 635 762 412 367 0 418 854 721 635 352 824 0 367 418 854 721 839 687 0 824 367 418 854 729 601 0 687 824 367 418 696 676 0 601 687 824 367 641 740 0 676 601 687 824 695 691 0 740 676 601 687 638 683 0 691 740 676 601 762 594 0 683 691 740 676 635 729 0 594 683 691 740 721 731 0 729 594 683 691 854 386 0 731 729 594 683 418 331 0 386 731 729 594 367 706 0 331 386 731 729 824 715 0 706 331 386 731 687 657 0 715 706 331 386 601 653 0 657 715 706 331 676 642 0 653 657 715 706 740 643 0 642 653 657 715 691 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 time20 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
faillissement[t] = + 5.94989160883175 + 65.7319584895735crisis[t] + 0.0228416024126094`t-1`[t] + 0.0167861261156532`t-2`[t] + 0.0145983909933509`t-3`[t] -0.0246343658381229`t-4`[t] + 0.957064898875237`t-12`[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)5.94989160883175104.8339630.05680.9549140.477457
crisis65.731958489573519.2205213.41990.0010870.000543
`t-1`0.02284160241260940.0677050.33740.7369250.368462
`t-2`0.01678612611565320.0764560.21960.8269070.413453
`t-3`0.01459839099335090.0680080.21470.8307060.415353
`t-4`-0.02463436583812290.070634-0.34880.7283960.364198
`t-12`0.9570648988752370.0760912.578100


Multiple Linear Regression - Regression Statistics
Multiple R0.887312132193456
R-squared0.787322819937696
Adjusted R-squared0.767691080239638
F-TEST (value)40.1045873695823
F-TEST (DF numerator)6
F-TEST (DF denominator)65
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation75.4432942131509
Sum Squared Residuals369959.891712583


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1627605.04512720912721.9548727908730
2696646.30101934800249.6989806519978
3825689.739352320005135.260647679995
4677627.87495925653349.1250407434673
5656636.75608912535219.2439108746483
6785726.8107851957858.1892148042202
7412479.057834086383-67.057834086383
8352343.9676905437988.03230945620166
9839784.72872635450654.2712736454936
10729708.70012931997620.299870680024
11696596.342544819499.6574551806004
12641730.576472880393-89.5764728803927
13695622.3281882225572.6718117774498
14638690.903909178274-52.9039091782744
15762813.97978317393-51.9797831739303
16635676.352930885704-41.3529308857043
17721653.27280009938467.7271999006157
18854779.78107118103574.2189288189652
19418422.368746847312-4.36874684731188
20367361.6024951231525.39750487684838
21824819.0324587059614.96754129403881
22687713.696570570778-26.6965705707779
23601696.651454576982-95.6514545769819
24676647.67662539522128.3233746047794
25740686.36975851537253.6302414846283
26691636.65732778695954.3426722130412
27683758.501883587252-75.501883587252
28594635.036108016844-41.0361080168443
29729712.88457712415316.1154228758469
30731842.85415657409-111.85415657409
31386426.783489023222-40.7834890232219
32331374.289639944161-43.2896399441611
33706801.32435448139-95.3243544813906
34715672.76311367946842.2368863205315
35657604.651848800852.3481511992003
36653682.087265155155-29.0872651551553
37642733.167955288456-91.1679552884562
38643684.884957142411-41.8849571424108
39718678.43703182118739.5629681788129
40654594.92611729077859.073882709222
41632724.212551958415-92.2125519584147
42731725.6200993903495.3799006096509
43392460.274817170836-68.2748171708362
44344402.810205812059-58.8102058120594
45792756.90984597804235.090154021958
46852767.56307713049784.4369228695033
47649728.594320891745-79.594320891745
48629728.858912298675-99.8589122986746
49685704.306490325439-19.3064903254392
50617701.76542711517-84.7654271151699
51715777.640897074504-62.6408970745037
52715718.79596121945-3.79596121944998
53629697.013358729046-68.013358729046
54916792.90418510455123.095814895449
55531471.15694958018259.8430504198177
56357419.985974075080-62.9859740750805
57917844.62224507403672.3777549259636
58828899.226206885507-71.2262068855068
59708719.253471238712-11.2534712387115
60858708.33869435951149.661305640490
61775748.2517322567826.7482677432203
62785684.234036690756100.765963309244
631006782.007446886633223.992553113367
64789782.316480952816.68351904719002
65734700.9526420720633.0473579279396
66906973.711291300612-67.7112913006124
67532599.634778216472-67.6347782164718
68387431.992686083995-44.9926860839954
69991962.22479930899828.7752006910016
70841878.711453723878-37.7114537238784
71892777.672731800235114.327268199765
72782932.268880643728-150.268880643728


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
100.235490103180570.470980206361140.76450989681943
110.1497650823808140.2995301647616290.850234917619186
120.5111683226326090.9776633547347810.488831677367391
130.3949280646263300.7898561292526610.60507193537367
140.4624646517967480.9249293035934970.537535348203252
150.5949039798718830.8101920402562350.405096020128117
160.5190516270169960.9618967459660080.480948372983004
170.4486084592176920.8972169184353850.551391540782308
180.4306358162369710.8612716324739420.569364183763029
190.3390102632947100.6780205265894210.66098973670529
200.2607694311055650.5215388622111290.739230568894435
210.1982224549890680.3964449099781350.801777545010932
220.1672928348763660.3345856697527330.832707165123634
230.2649590768230140.5299181536460280.735040923176986
240.2114064366500230.4228128733000450.788593563349977
250.1748870042615310.3497740085230630.825112995738469
260.1493791763672400.2987583527344810.85062082363276
270.1588412096522450.317682419304490.841158790347755
280.1306329625790480.2612659251580960.869367037420952
290.09639299026429120.1927859805285820.90360700973571
300.1350219341065250.2700438682130490.864978065893475
310.1097374491925890.2194748983851790.89026255080741
320.0924409058607790.1848818117215580.907559094139221
330.1092621256349110.2185242512698220.89073787436509
340.08895839664662690.1779167932932540.911041603353373
350.07607016242569220.1521403248513840.923929837574308
360.05364732139275740.1072946427855150.946352678607243
370.05835276747658690.1167055349531740.941647232523413
380.04392097931822640.08784195863645280.956079020681774
390.03264859404702170.06529718809404340.967351405952978
400.03015756269726800.06031512539453600.969842437302732
410.03045632812788790.06091265625577570.969543671872112
420.01967437464596590.03934874929193170.980325625354034
430.01339530539000370.02679061078000730.986604694609996
440.009432643938374050.01886528787674810.990567356061626
450.008247791485766170.01649558297153230.991752208514234
460.01016940112726990.02033880225453990.98983059887273
470.008357843773672020.01671568754734400.991642156226328
480.01114611573042070.02229223146084140.98885388426958
490.006812094088168540.01362418817633710.993187905911831
500.005606095651121670.01121219130224330.994393904348878
510.00442700839716490.00885401679432980.995572991602835
520.002616752446333820.005233504892667640.997383247553666
530.002268303666415990.004536607332831980.997731696333584
540.005657941660366620.01131588332073320.994342058339633
550.004129869632243660.008259739264487320.995870130367756
560.004736961982885550.00947392396577110.995263038017114
570.003211094789056410.006422189578112820.996788905210944
580.002030678327999880.004061356655999770.997969321672
590.001837277571012660.003674555142025320.998162722428987
600.007205381032580910.01441076206516180.99279461896742
610.003418066593336260.006836133186672520.996581933406664
620.002364767664556430.004729535329112860.997635232335444


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level100.188679245283019NOK
5% type I error level210.39622641509434NOK
10% type I error level250.471698113207547NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/19/t1292786608a20ptkg9sx6d2fk/10sc971292786661.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/19/t1292786608a20ptkg9sx6d2fk/10sc971292786661.ps (open in new window)


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


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


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


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


http://www.freestatistics.org/blog/date/2010/Dec/19/t1292786608a20ptkg9sx6d2fk/5e2bh1292786661.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/19/t1292786608a20ptkg9sx6d2fk/5e2bh1292786661.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/19/t1292786608a20ptkg9sx6d2fk/67baj1292786661.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/19/t1292786608a20ptkg9sx6d2fk/67baj1292786661.ps (open in new window)


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


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


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