Home » date » 2010 » Nov » 29 »

Paper - Regressie analyse 1

*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: Mon, 29 Nov 2010 17:40:20 +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/29/t12910524234e94j1je0othrgr.htm/, Retrieved Mon, 29 Nov 2010 18:40:23 +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/29/t12910524234e94j1je0othrgr.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 «
376.974 0 377.632 0 378.205 0 370.861 0 369.167 0 371.551 0 382.842 0 381.903 0 384.502 0 392.058 0 384.359 0 388.884 0 386.586 0 387.495 0 385.705 0 378.67 0 377.367 0 376.911 0 389.827 0 387.82 0 387.267 0 380.575 0 372.402 0 376.74 0 377.795 0 376.126 0 370.804 0 367.98 0 367.866 0 366.121 0 379.421 0 378.519 0 372.423 0 355.072 0 344.693 0 342.892 0 344.178 0 337.606 0 327.103 0 323.953 0 316.532 0 306.307 0 327.225 0 329.573 0 313.761 0 307.836 0 300.074 0 304.198 0 306.122 0 300.414 0 292.133 0 290.616 0 280.244 1 285.179 1 305.486 1 305.957 1 293.886 1 289.441 1 288.776 1 299.149 1 306.532 1 309.914 1 313.468 1 314.901 1 309.16 1 316.15 1 336.544 1 339.196 1 326.738 1 320.838 1 318.62 1 331.533 1 335.378 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 time5 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Multiple Linear Regression - Estimated Regression Equation
Maandelijksewerkloosheid[t] = + 356.324723219141 -47.2761696574225x[t] + 4.83489668297991M1[t] -0.247528276237083M2[t] -3.87569494290376M3[t] -7.28186160957042M4[t] -3.84333333333333M5[t] -3.52950000000001M6[t] + 12.9915M7[t] + 13.262M8[t] + 5.86350000000001M9[t] + 0.403999999999995M10[t] -5.74533333333334M11[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)356.32472321914112.49547628.516300
x-47.27616965742257.834731-6.034200
M14.8348966829799116.6565730.29030.7726110.386305
M2-0.24752827623708317.330271-0.01430.9886520.494326
M3-3.8756949429037617.330271-0.22360.8237990.4119
M4-7.2818616095704217.330271-0.42020.6758540.337927
M5-3.8433333333333317.281007-0.22240.8247560.412378
M6-3.5295000000000117.281007-0.20420.8388560.419428
M712.991517.2810070.75180.4551230.227561
M813.26217.2810070.76740.4458340.222917
M95.8635000000000117.2810070.33930.7355660.367783
M100.40399999999999517.2810070.02340.9814260.490713
M11-5.7453333333333417.281007-0.33250.7406970.370348


Multiple Linear Regression - Regression Statistics
Multiple R0.629441199774032
R-squared0.396196223972973
Adjusted R-squared0.275435468767568
F-TEST (value)3.28083592470974
F-TEST (DF numerator)12
F-TEST (DF denominator)60
p-value0.00110070269154061
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation29.9315815992984
Sum Squared Residuals53753.9746221275


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1376.974361.15961990212115.8143800978794
2377.632356.07719494290421.5548050570963
3378.205352.44902827623725.7559717237629
4370.861349.04286160957021.8181383904296
5369.167352.48138988580816.6856101141925
6371.551352.79522321914118.7557767808592
7382.842369.31622321914113.5257767808591
8381.903369.58672321914112.3162767808592
9384.502362.18822321914122.3137767808592
10392.058356.72872321914135.3292767808591
11384.359350.57938988580733.7796101141925
12388.884356.32472321914132.5592767808592
13386.586361.15961990212125.4263800978793
14387.495356.07719494290431.4178050570962
15385.705352.44902827623733.2559717237629
16378.67349.04286160957029.6271383904296
17377.367352.48138988580824.8856101141925
18376.911352.79522321914124.1157767808592
19389.827369.31622321914120.5107767808592
20387.82369.58672321914118.2332767808591
21387.267362.18822321914125.0787767808592
22380.575356.72872321914123.8462767808592
23372.402350.57938988580721.8226101141925
24376.74356.32472321914120.4152767808592
25377.795361.15961990212116.6353800978793
26376.126356.07719494290420.0488050570962
27370.804352.44902827623718.3549717237629
28367.98349.04286160957018.9371383904296
29367.866352.48138988580815.3846101141925
30366.121352.79522321914113.3257767808592
31379.421369.31622321914110.1047767808592
32378.519369.5867232191418.93227678085917
33372.423362.18822321914110.2347767808592
34355.072356.728723219141-1.65672321914083
35344.693350.579389885807-5.88638988580751
36342.892356.324723219141-13.4327232191408
37344.178361.159619902121-16.9816199021207
38337.606356.077194942904-18.4711949429038
39327.103352.449028276237-25.3460282762371
40323.953349.042861609570-25.0898616095704
41316.532352.481389885808-35.9493898858075
42306.307352.795223219141-46.4882232191408
43327.225369.316223219141-42.0912232191408
44329.573369.586723219141-40.0137232191409
45313.761362.188223219141-48.4272232191408
46307.836356.728723219141-48.8927232191408
47300.074350.579389885808-50.5053898858075
48304.198356.324723219141-52.1267232191409
49306.122361.159619902121-55.0376199021207
50300.414356.077194942904-55.6631949429038
51292.133352.449028276237-60.3160282762371
52290.616349.042861609570-58.4268616095704
53280.244305.205220228385-24.9612202283850
54285.179305.519053561718-20.3400535617183
55305.486322.040053561718-16.5540535617183
56305.957322.310553561718-16.3535535617183
57293.886314.912053561718-21.0260535617183
58289.441309.452553561718-20.0115535617184
59288.776303.303220228385-14.5272202283850
60299.149309.048553561718-9.89955356171833
61306.532313.883450244698-7.35145024469825
62309.914308.8010252854811.11297471451875
63313.468305.1728586188158.29514138118545
64314.901301.76669195214813.1343080478521
65309.16305.2052202283853.95477977161503
66316.15305.51905356171810.6309464382817
67336.544322.04005356171814.5039464382817
68339.196322.31055356171816.8854464382817
69326.738314.91205356171811.8259464382817
70320.838309.45255356171811.3854464382817
71318.62303.30322022838515.3167797716150
72331.533309.04855356171822.4844464382817
73335.378313.88345024469821.4945497553017


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.01879197026696590.03758394053393190.981208029733034
170.005665226557207950.01133045311441590.994334773442792
180.001430123537821810.002860247075643620.998569876462178
190.0004024129408164990.0008048258816329980.999597587059184
200.0001036925751881880.0002073851503763770.999896307424812
212.37953119736558e-054.75906239473116e-050.999976204688026
221.46476607274314e-052.92953214548629e-050.999985352339273
239.53215314877334e-061.90643062975467e-050.999990467846851
246.3584810796821e-061.27169621593642e-050.99999364151892
252.08350156700545e-064.16700313401091e-060.999997916498433
261.02378795540929e-062.04757591081858e-060.999998976212045
271.07671655477731e-062.15343310955463e-060.999998923283445
286.73851186899095e-071.34770237379819e-060.999999326148813
294.45385063188968e-078.90770126377936e-070.999999554614937
304.5333326737845e-079.066665347569e-070.999999546666733
313.91443143818547e-077.82886287637094e-070.999999608556856
323.58852209148264e-077.17704418296528e-070.99999964114779
331.81888303491693e-063.63776606983385e-060.999998181116965
340.0002030437173515160.0004060874347030320.999796956282649
350.004111321110313010.008222642220626010.995888678889687
360.03465662584670760.06931325169341530.965343374153292
370.1063922637380710.2127845274761410.89360773626193
380.2924292819948990.5848585639897980.707570718005101
390.5445111806727360.9109776386545280.455488819327264
400.6999528336165990.6000943327668010.300047166383401
410.8381032230723910.3237935538552180.161896776927609
420.9093793294736890.1812413410526220.090620670526311
430.9306395023399510.1387209953200980.0693604976600488
440.9400272377308170.1199455245383650.0599727622691827
450.9550568618486160.0898862763027680.044943138151384
460.9630064257647770.07398714847044650.0369935742352233
470.9633824806849750.07323503863004960.0366175193150248
480.957422139171940.08515572165611880.0425778608280594
490.947862159913610.1042756801727790.0521378400863893
500.9374794953932270.1250410092135460.0625205046067731
510.919975126539090.1600497469218200.0800248734609099
520.8902201720534470.2195596558931060.109779827946553
530.853902497307630.2921950053847390.146097502692370
540.8134502882280020.3730994235439960.186549711771998
550.7629390408797970.4741219182404060.237060959120203
560.7094292111221490.5811415777557030.290570788877851
570.6384292606156570.7231414787686850.361570739384343


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level180.428571428571429NOK
5% type I error level200.476190476190476NOK
10% type I error level250.595238095238095NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Nov/29/t12910524234e94j1je0othrgr/10h3h11291052411.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t12910524234e94j1je0othrgr/10h3h11291052411.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/29/t12910524234e94j1je0othrgr/1s2kp1291052411.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t12910524234e94j1je0othrgr/1s2kp1291052411.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/29/t12910524234e94j1je0othrgr/2luja1291052411.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t12910524234e94j1je0othrgr/2luja1291052411.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/29/t12910524234e94j1je0othrgr/3luja1291052411.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t12910524234e94j1je0othrgr/3luja1291052411.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/29/t12910524234e94j1je0othrgr/4luja1291052411.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t12910524234e94j1je0othrgr/4luja1291052411.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/29/t12910524234e94j1je0othrgr/5elid1291052411.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t12910524234e94j1je0othrgr/5elid1291052411.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/29/t12910524234e94j1je0othrgr/6elid1291052411.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t12910524234e94j1je0othrgr/6elid1291052411.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/29/t12910524234e94j1je0othrgr/7pcig1291052411.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t12910524234e94j1je0othrgr/7pcig1291052411.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/29/t12910524234e94j1je0othrgr/8pcig1291052411.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t12910524234e94j1je0othrgr/8pcig1291052411.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/29/t12910524234e94j1je0othrgr/9h3h11291052411.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t12910524234e94j1je0othrgr/9h3h11291052411.ps (open in new window)


 
Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = No Linear Trend ;
 
Parameters (R input):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = No Linear Trend ;
 
R code (references can be found in the software module):
library(lattice)
library(lmtest)
n25 <- 25 #minimum number of obs. for Goldfeld-Quandt test
par1 <- as.numeric(par1)
x <- t(y)
k <- length(x[1,])
n <- length(x[,1])
x1 <- cbind(x[,par1], x[,1:k!=par1])
mycolnames <- c(colnames(x)[par1], colnames(x)[1:k!=par1])
colnames(x1) <- mycolnames #colnames(x)[par1]
x <- x1
if (par3 == 'First Differences'){
x2 <- array(0, dim=c(n-1,k), dimnames=list(1:(n-1), paste('(1-B)',colnames(x),sep='')))
for (i in 1:n-1) {
for (j in 1:k) {
x2[i,j] <- x[i+1,j] - x[i,j]
}
}
x <- x2
}
if (par2 == 'Include Monthly Dummies'){
x2 <- array(0, dim=c(n,11), dimnames=list(1:n, paste('M', seq(1:11), sep ='')))
for (i in 1:11){
x2[seq(i,n,12),i] <- 1
}
x <- cbind(x, x2)
}
if (par2 == 'Include Quarterly Dummies'){
x2 <- array(0, dim=c(n,3), dimnames=list(1:n, paste('Q', seq(1:3), sep ='')))
for (i in 1:3){
x2[seq(i,n,4),i] <- 1
}
x <- cbind(x, x2)
}
k <- length(x[1,])
if (par3 == 'Linear Trend'){
x <- cbind(x, c(1:n))
colnames(x)[k+1] <- 't'
}
x
k <- length(x[1,])
df <- as.data.frame(x)
(mylm <- lm(df))
(mysum <- summary(mylm))
if (n > n25) {
kp3 <- k + 3
nmkm3 <- n - k - 3
gqarr <- array(NA, dim=c(nmkm3-kp3+1,3))
numgqtests <- 0
numsignificant1 <- 0
numsignificant5 <- 0
numsignificant10 <- 0
for (mypoint in kp3:nmkm3) {
j <- 0
numgqtests <- numgqtests + 1
for (myalt in c('greater', 'two.sided', 'less')) {
j <- j + 1
gqarr[mypoint-kp3+1,j] <- gqtest(mylm, point=mypoint, alternative=myalt)$p.value
}
if (gqarr[mypoint-kp3+1,2] < 0.01) numsignificant1 <- numsignificant1 + 1
if (gqarr[mypoint-kp3+1,2] < 0.05) numsignificant5 <- numsignificant5 + 1
if (gqarr[mypoint-kp3+1,2] < 0.10) numsignificant10 <- numsignificant10 + 1
}
gqarr
}
bitmap(file='test0.png')
plot(x[,1], type='l', main='Actuals and Interpolation', ylab='value of Actuals and Interpolation (dots)', xlab='time or index')
points(x[,1]-mysum$resid)
grid()
dev.off()
bitmap(file='test1.png')
plot(mysum$resid, type='b', pch=19, main='Residuals', ylab='value of Residuals', xlab='time or index')
grid()
dev.off()
bitmap(file='test2.png')
hist(mysum$resid, main='Residual Histogram', xlab='values of Residuals')
grid()
dev.off()
bitmap(file='test3.png')
densityplot(~mysum$resid,col='black',main='Residual Density Plot', xlab='values of Residuals')
dev.off()
bitmap(file='test4.png')
qqnorm(mysum$resid, main='Residual Normal Q-Q Plot')
qqline(mysum$resid)
grid()
dev.off()
(myerror <- as.ts(mysum$resid))
bitmap(file='test5.png')
dum <- cbind(lag(myerror,k=1),myerror)
dum
dum1 <- dum[2:length(myerror),]
dum1
z <- as.data.frame(dum1)
z
plot(z,main=paste('Residual Lag plot, lowess, and regression line'), ylab='values of Residuals', xlab='lagged values of Residuals')
lines(lowess(z))
abline(lm(z))
grid()
dev.off()
bitmap(file='test6.png')
acf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Autocorrelation Function')
grid()
dev.off()
bitmap(file='test7.png')
pacf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Partial Autocorrelation Function')
grid()
dev.off()
bitmap(file='test8.png')
opar <- par(mfrow = c(2,2), oma = c(0, 0, 1.1, 0))
plot(mylm, las = 1, sub='Residual Diagnostics')
par(opar)
dev.off()
if (n > n25) {
bitmap(file='test9.png')
plot(kp3:nmkm3,gqarr[,2], main='Goldfeld-Quandt test',ylab='2-sided p-value',xlab='breakpoint')
grid()
dev.off()
}
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Estimated Regression Equation', 1, TRUE)
a<-table.row.end(a)
myeq <- colnames(x)[1]
myeq <- paste(myeq, '[t] = ', sep='')
for (i in 1:k){
if (mysum$coefficients[i,1] > 0) myeq <- paste(myeq, '+', '')
myeq <- paste(myeq, mysum$coefficients[i,1], sep=' ')
if (rownames(mysum$coefficients)[i] != '(Intercept)') {
myeq <- paste(myeq, rownames(mysum$coefficients)[i], sep='')
if (rownames(mysum$coefficients)[i] != 't') myeq <- paste(myeq, '[t]', sep='')
}
}
myeq <- paste(myeq, ' + e[t]')
a<-table.row.start(a)
a<-table.element(a, myeq)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable1.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,hyperlink('http://www.xycoon.com/ols1.htm','Multiple Linear Regression - Ordinary Least Squares',''), 6, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Variable',header=TRUE)
a<-table.element(a,'Parameter',header=TRUE)
a<-table.element(a,'S.D.',header=TRUE)
a<-table.element(a,'T-STAT<br />H0: parameter = 0',header=TRUE)
a<-table.element(a,'2-tail p-value',header=TRUE)
a<-table.element(a,'1-tail p-value',header=TRUE)
a<-table.row.end(a)
for (i in 1:k){
a<-table.row.start(a)
a<-table.element(a,rownames(mysum$coefficients)[i],header=TRUE)
a<-table.element(a,mysum$coefficients[i,1])
a<-table.element(a, round(mysum$coefficients[i,2],6))
a<-table.element(a, round(mysum$coefficients[i,3],4))
a<-table.element(a, round(mysum$coefficients[i,4],6))
a<-table.element(a, round(mysum$coefficients[i,4]/2,6))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable2.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Regression Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple R',1,TRUE)
a<-table.element(a, sqrt(mysum$r.squared))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'R-squared',1,TRUE)
a<-table.element(a, mysum$r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Adjusted R-squared',1,TRUE)
a<-table.element(a, mysum$adj.r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (value)',1,TRUE)
a<-table.element(a, mysum$fstatistic[1])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF numerator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[2])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF denominator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[3])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'p-value',1,TRUE)
a<-table.element(a, 1-pf(mysum$fstatistic[1],mysum$fstatistic[2],mysum$fstatistic[3]))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Residual Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Residual Standard Deviation',1,TRUE)
a<-table.element(a, mysum$sigma)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Sum Squared Residuals',1,TRUE)
a<-table.element(a, sum(myerror*myerror))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable3.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Actuals, Interpolation, and Residuals', 4, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Time or Index', 1, TRUE)
a<-table.element(a, 'Actuals', 1, TRUE)
a<-table.element(a, 'Interpolation<br />Forecast', 1, TRUE)
a<-table.element(a, 'Residuals<br />Prediction Error', 1, TRUE)
a<-table.row.end(a)
for (i in 1:n) {
a<-table.row.start(a)
a<-table.element(a,i, 1, TRUE)
a<-table.element(a,x[i])
a<-table.element(a,x[i]-mysum$resid[i])
a<-table.element(a,mysum$resid[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable4.tab')
if (n > n25) {
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'p-values',header=TRUE)
a<-table.element(a,'Alternative Hypothesis',3,header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'breakpoint index',header=TRUE)
a<-table.element(a,'greater',header=TRUE)
a<-table.element(a,'2-sided',header=TRUE)
a<-table.element(a,'less',header=TRUE)
a<-table.row.end(a)
for (mypoint in kp3:nmkm3) {
a<-table.row.start(a)
a<-table.element(a,mypoint,header=TRUE)
a<-table.element(a,gqarr[mypoint-kp3+1,1])
a<-table.element(a,gqarr[mypoint-kp3+1,2])
a<-table.element(a,gqarr[mypoint-kp3+1,3])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable5.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Description',header=TRUE)
a<-table.element(a,'# significant tests',header=TRUE)
a<-table.element(a,'% significant tests',header=TRUE)
a<-table.element(a,'OK/NOK',header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'1% type I error level',header=TRUE)
a<-table.element(a,numsignificant1)
a<-table.element(a,numsignificant1/numgqtests)
if (numsignificant1/numgqtests < 0.01) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'5% type I error level',header=TRUE)
a<-table.element(a,numsignificant5)
a<-table.element(a,numsignificant5/numgqtests)
if (numsignificant5/numgqtests < 0.05) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'10% type I error level',header=TRUE)
a<-table.element(a,numsignificant10)
a<-table.element(a,numsignificant10/numgqtests)
if (numsignificant10/numgqtests < 0.1) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable6.tab')
}
 





Copyright

Creative Commons License

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.

Software written by Ed van Stee & Patrick Wessa


Disclaimer

Information provided on this web site is provided "AS IS" without warranty of any kind, either express or implied, including, without limitation, warranties of merchantability, fitness for a particular purpose, and noninfringement. We use reasonable efforts to include accurate and timely information and periodically update the information, and software without notice. However, we make no warranties or representations as to the accuracy or completeness of such information (or software), and we assume no liability or responsibility for errors or omissions in the content of this web site, or any software bugs in online applications. Your use of this web site is AT YOUR OWN RISK. Under no circumstances and under no legal theory shall we be liable to you or any other person for any direct, indirect, special, incidental, exemplary, or consequential damages arising from your access to, or use of, this web site.


Privacy Policy

We may request personal information to be submitted to our servers in order to be able to:

  • personalize online software applications according to your needs
  • enforce strict security rules with respect to the data that you upload (e.g. statistical data)
  • manage user sessions of online applications
  • alert you about important changes or upgrades in resources or applications

We NEVER allow other companies to directly offer registered users information about their products and services. Banner references and hyperlinks of third parties NEVER contain any personal data of the visitor.

We do NOT sell, nor transmit by any means, personal information, nor statistical data series uploaded by you to third parties.

We carefully protect your data from loss, misuse, alteration, and destruction. However, at any time, and under any circumstance you are solely responsible for managing your passwords, and keeping them secret.

We store a unique ANONYMOUS USER ID in the form of a small 'Cookie' on your computer. This allows us to track your progress when using this website which is necessary to create state-dependent features. The cookie is used for NO OTHER PURPOSE. At any time you may opt to disallow cookies from this website - this will not affect other features of this website.

We examine cookies that are used by third-parties (banner and online ads) very closely: abuse from third-parties automatically results in termination of the advertising contract without refund. We have very good reason to believe that the cookies that are produced by third parties (banner ads) do NOT cause any privacy or security risk.

FreeStatistics.org is safe. There is no need to download any software to use the applications and services contained in this website. Hence, your system's security is not compromised by their use, and your personal data - other than data you submit in the account application form, and the user-agent information that is transmitted by your browser - is never transmitted to our servers.

As a general rule, we do not log on-line behavior of individuals (other than normal logging of webserver 'hits'). However, in cases of abuse, hacking, unauthorized access, Denial of Service attacks, illegal copying, hotlinking, non-compliance with international webstandards (such as robots.txt), or any other harmful behavior, our system engineers are empowered to log, track, identify, publish, and ban misbehaving individuals - even if this leads to ban entire blocks of IP addresses, or disclosing user's identity.


FreeStatistics.org is powered by