Home » date » 2008 » Dec » 10 »

Paper - Regressie analyse - Seizonale dummy & trend

*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: Wed, 10 Dec 2008 13:49:42 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/Dec/10/t1228942291n9lt9er2cjk0kxu.htm/, Retrieved Wed, 10 Dec 2008 20:51:49 +0000
 
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/2008/Dec/10/t1228942291n9lt9er2cjk0kxu.htm/},
    year = {2008},
}
@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 = {2008},
    note = {{ISBN} 3-900051-07-0},
    url = {http://www.R-project.org},
}
 
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
 
Feedback Forum:
2008-11-27 13:41:43 [a2386b643d711541400692649981f2dc] [reply
test

Post a new message
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
108.00 0 99.00 0 108.00 0 104.00 0 111.00 0 110.00 0 106.00 0 101.00 0 102.00 0 99.00 0 100.00 0 98.00 0 92.00 1 87.00 1 79.00 1 87.00 1 87.00 1 88.00 1 83.00 1 85.00 1 92.00 1 84.00 1 92.00 1 98.00 1 103.00 0 104.00 0 109.00 0 107.00 0 106.00 0 113.00 0 107.00 0 114.00 0 108.00 0 104.00 0 105.00 0 109.00 0 109.00 0 112.00 0 118.00 0 111.00 0 99.00 1 92.00 1 92.00 1 98.00 1 87.00 1 97.00 1 102.00 0 105.00 0 111.00 0 110.00 0 109.00 0 111.00 0 113.00 0 114.00 0 120.00 0 114.00 0 120.00 0 122.00 0 123.00 0 115.00 0 123.00 0 124.00 0 124.00 0 132.00 0 126.00 0 126.00 0 122.00 0 120.00 0 114.00 0 116.00 0 100.00 0 97.00 0
 
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'George Udny Yule' @ 72.249.76.132


Multiple Linear Regression - Estimated Regression Equation
Consumentenvertrouwen[t] = + 96.2218562874252 -18.2724550898203Dummy[t] + 6.74743845642056M1[t] + 4.83100465735194M2[t] + 6.41457085828343M3[t] + 6.99813705921492M4[t] + 8.1271124417831M5[t] + 8.0440119760479M6[t] + 5.62757817697938M7[t] + 5.71114437791085M8[t] + 3.96137724550899M9[t] + 3.54494344644046M10[t] + 0.249767132401871M11[t] + 0.249767132401862t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)96.22185628742523.0037932.033500
Dummy-18.27245508982031.776943-10.283100
M16.747438456420563.5663941.89190.0634930.031747
M24.831004657351943.5623951.35610.180320.09016
M36.414570858283433.5587741.80250.0766690.038334
M46.998137059214923.555531.96820.0538270.026913
M58.12711244178313.5588322.28360.0260730.013036
M68.04401197604793.5572332.26130.0275060.013753
M75.627578176979383.5560151.58260.1189620.059481
M85.711144377910853.5551781.60640.1136110.056805
M93.961377245508993.5547221.11440.2697050.134852
M103.544943446440463.5546490.99730.3227760.161388
M110.2497671324018713.5434840.07050.9440490.472025
t0.2497671324018620.0368436.779200


Multiple Linear Regression - Regression Statistics
Multiple R0.887407431949434
R-squared0.787491950279089
Adjusted R-squared0.73986083568647
F-TEST (value)16.5331413512867
F-TEST (DF numerator)13
F-TEST (DF denominator)58
p-value5.99520433297585e-15
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation6.13716236184112
Sum Squared Residuals2184.55618762475


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1108103.2190618762474.78093812375282
299101.552395209581-2.55239520958095
3108103.3857285429144.61427145708581
4104104.219061876248-0.219061876247503
5111105.5978043912185.40219560878243
6110105.7644710578844.23552894211574
7106103.5978043912182.40219560878242
8101103.931137724551-2.93113772455091
9102102.431137724551-0.431137724550908
1099102.264471057884-3.26447105788424
1110099.21906187624750.780938123752485
129899.2190618762475-1.21906187624751
139287.94381237524964.05618762475043
148786.27714570858280.7228542914172
157988.1104790419162-9.11047904191617
168788.9438123752495-1.94381237524951
178790.3225548902196-3.32255489021957
188890.4892215568862-2.48922155688623
198388.3225548902196-5.32255489021957
208588.6558882235529-3.6558882235529
219287.1558882235534.8441117764471
228486.9892215568862-2.98922155688623
239283.94381237524958.0561876247505
249883.943812375249514.0561876247505
25103109.213473053892-6.21347305389229
26104107.546806387226-3.54680638722554
27109109.380139720559-0.380139720558889
28107110.213473053892-3.21347305389222
29106111.592215568862-5.59221556886228
30113111.7588822355291.24111776447106
31107109.592215568862-2.59221556886228
32114109.9255489021964.07445109780438
33108108.425548902196-0.425548902195615
34104108.258882235529-4.25888223552895
35105105.213473053892-0.213473053892218
36109105.2134730538923.78652694610779
37109112.210678642715-3.21067864271464
38112110.5440119760481.45598802395211
39118112.3773453093815.62265469061876
40111113.210678642715-2.21067864271458
419996.31696606786432.68303393213573
429296.483632734531-4.48363273453093
439294.3169660678643-2.31696606786427
449894.65029940119763.3497005988024
458793.1502994011976-6.1502994011976
469792.9836327345314.01636726546907
47102108.210678642715-6.21067864271457
48105108.210678642715-3.21067864271456
49111115.207884231537-4.20788423153699
50110113.541217564870-3.54121756487024
51109115.374550898204-6.37455089820359
52111116.207884231537-5.20788423153693
53113117.586626746507-4.58662674650698
54114117.753293413174-3.75329341317364
55120115.5866267465074.41337325349302
56114115.919960079840-1.91996007984031
57120114.4199600798405.58003992015968
58122114.2532934131747.74670658682635
59123111.20788423153711.7921157684631
60115111.2078842315373.79211576846309
61123118.2050898203594.79491017964066
62124116.5384231536937.46157684630742
63124118.3717564870265.62824351297406
64132119.20508982035912.7949101796407
65126120.5838323353295.41616766467067
66126120.7504990019965.249500998004
67122118.5838323353293.41616766467067
68120118.9171656686631.08283433133733
69114117.417165668663-3.41716566866267
70116117.250499001996-1.25049900199600
71100114.205089820359-14.2050898203593
7297114.205089820359-17.2050898203593


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.4267589439599950.853517887919990.573241056040005
180.2690991028542660.5381982057085320.730900897145734
190.1678674580471630.3357349160943250.832132541952837
200.1112903783344790.2225807566689580.888709621665521
210.1337865939066100.2675731878132200.86621340609339
220.08841958690647640.1768391738129530.911580413093524
230.1165939212808250.2331878425616510.883406078719175
240.3825096461575000.7650192923150.6174903538425
250.2919686109764640.5839372219529280.708031389023536
260.2506417799858190.5012835599716380.749358220014181
270.2246241797184960.4492483594369910.775375820281504
280.1644488214720470.3288976429440940.835551178527953
290.1269568852385610.2539137704771220.873043114761439
300.09374449029407260.1874889805881450.906255509705927
310.06511411013564350.1302282202712870.934885889864357
320.07507005694068550.1501401138813710.924929943059315
330.04823158501684020.09646317003368030.95176841498316
340.03626976611918990.07253953223837990.96373023388081
350.02322748089950480.04645496179900970.976772519100495
360.01821638396096770.03643276792193530.981783616039032
370.01082759121266500.02165518242532990.989172408787335
380.007990077334767140.01598015466953430.992009922665233
390.01012982473893310.02025964947786630.989870175261067
400.006063042082730370.01212608416546070.99393695791727
410.004156028950548680.008312057901097360.995843971049451
420.002685558575504350.005371117151008710.997314441424496
430.001460826162760270.002921652325520550.99853917383724
440.001006747540900910.002013495081801810.998993252459099
450.0008248527063082840.001649705412616570.999175147293692
460.0006772224993827340.001354444998765470.999322777500617
470.000565653981641040.001131307963282080.99943434601836
480.0003929431613051250.000785886322610250.999607056838695
490.0002294545459015290.0004589090918030570.999770545454098
500.0001656558193393260.0003313116386786520.99983434418066
510.0001850154596648420.0003700309193296850.999814984540335
520.0009906481132138650.001981296226427730.999009351886786
530.002216469368019570.004432938736039140.99778353063198
540.009565427342963340.01913085468592670.990434572657037
550.01328027109381460.02656054218762930.986719728906185


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level130.333333333333333NOK
5% type I error level210.538461538461538NOK
10% type I error level230.58974358974359NOK
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/10/t1228942291n9lt9er2cjk0kxu/105d51228942176.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/10/t1228942291n9lt9er2cjk0kxu/105d51228942176.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/10/t1228942291n9lt9er2cjk0kxu/10xbas1228942176.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/10/t1228942291n9lt9er2cjk0kxu/10xbas1228942176.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/10/t1228942291n9lt9er2cjk0kxu/2qflc1228942176.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/10/t1228942291n9lt9er2cjk0kxu/2qflc1228942176.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/10/t1228942291n9lt9er2cjk0kxu/33zn91228942176.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/10/t1228942291n9lt9er2cjk0kxu/33zn91228942176.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/10/t1228942291n9lt9er2cjk0kxu/4c42k1228942176.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/10/t1228942291n9lt9er2cjk0kxu/4c42k1228942176.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/10/t1228942291n9lt9er2cjk0kxu/5q9nh1228942176.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/10/t1228942291n9lt9er2cjk0kxu/5q9nh1228942176.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/10/t1228942291n9lt9er2cjk0kxu/6qdjx1228942176.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/10/t1228942291n9lt9er2cjk0kxu/6qdjx1228942176.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/10/t1228942291n9lt9er2cjk0kxu/7wjhr1228942176.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/10/t1228942291n9lt9er2cjk0kxu/7wjhr1228942176.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/10/t1228942291n9lt9er2cjk0kxu/8dqv91228942176.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/10/t1228942291n9lt9er2cjk0kxu/8dqv91228942176.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/10/t1228942291n9lt9er2cjk0kxu/9zmvn1228942176.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/10/t1228942291n9lt9er2cjk0kxu/9zmvn1228942176.ps (open in new window)


 
Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
 
Parameters (R input):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = 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