Home » date » 2008 » Dec » 22 »

Paper - Multiple Regression - Elektriciteit Met trend & monthly dummies

*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, 22 Dec 2008 05:06:36 -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/22/t1229947657drb2twnu5lc35rk.htm/, Retrieved Mon, 22 Dec 2008 13:07:46 +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/2008/Dec/22/t1229947657drb2twnu5lc35rk.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},
}
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
97.57 0 97.74 0 97.92 0 98.19 0 98.23 0 98.41 0 98.59 0 98.71 0 99.14 0 99.62 0 100.18 1 100.66 1 101.19 1 101.75 1 102.2 1 102.87 1 98.81 0 97.6 0 96.68 0 95.96 0 98.89 0 99.05 0 99.2 0 99.11 0 99.19 0 99.77 0 100.6956867 0 100.7751938 0 100.5267342 0 101.013715 0 100.9242695 0 101.1031604 0 103.1107136 0 102.991453 0 102.3057046 0 102.6137945 0 103.6772014 0 104.7207315 0 107.6624925 0 108.8749752 0 108.1196581 0 107.6128006 0 106.4201948 0 105.6052475 0 105.7145697 0 105.4859869 0 105.5654939 0 105.177897 0 106.0922282 0 106.3406877 0 108.4675015 1 116.8654343 1 121.0793083 1 123.2657523 1 124.1800835 1 125.6012721 1 126.5652952 1 127.1814749 1 128.0361757 1 128.5529716 1 129.6660704 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 time4 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
elektrictietsindex[t] = + 90.8627766197539 + 9.71251637015386dumivariable[t] + 1.38814478414702M1[t] + 0.249173786304261M2[t] -0.715009116953851M3[t] + 1.06444347381880M4[t] + 2.49843427862222M5[t] + 2.37921580939487M6[t] + 1.81113986016752M7[t] + 1.50163437094017M8[t] + 2.44328214171282M9[t] + 2.27841747248547M10[t] + 0.181074149227351M11[t] + 0.34653192922735t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)90.86277661975392.05607644.192300
dumivariable9.712516370153861.2367347.853400
M11.388144784147022.3958450.57940.5650890.282544
M20.2491737863042612.5181240.0990.9215970.460799
M3-0.7150091169538512.5134-0.28450.7772930.388647
M41.064443473818802.5100920.42410.6734530.336726
M52.498434278622222.5115520.99480.3249390.162469
M62.379215809394872.5101360.94780.3480570.174029
M71.811139860167522.509110.72180.4739780.236989
M81.501634370940172.5084720.59860.5522970.276149
M92.443282141712822.5082240.97410.334990.167495
M102.278417472485472.5083660.90830.3683390.18417
M110.1810741492273512.4977950.07250.9425170.471258
t0.346531929227350.03126411.083900


Multiple Linear Regression - Regression Statistics
Multiple R0.928325847275186
R-squared0.861788878719192
Adjusted R-squared0.823560270705351
F-TEST (value)22.5430357916036
F-TEST (DF numerator)13
F-TEST (DF denominator)47
p-value6.66133814775094e-16
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation3.94905205124836
Sum Squared Residuals732.965568863038


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
197.5792.59745333312814.97254666687189
297.7491.80501426451285.93498573548716
397.9291.1873632904826.73263670951795
498.1993.3133478104824.87665218951795
598.2395.09387054451283.13612945548718
698.4195.32118400451283.08881599548717
798.5995.09963998451283.49036001548718
898.7195.13666642451283.57333357548717
999.1496.42484612451282.71515387548718
1099.6296.60651338451283.01348661548718
11100.18104.568218360636-4.3882183606359
12100.66104.733676140636-4.07367614063592
13101.19106.468352854010-5.27835285401028
14101.75105.675913785395-3.92591378539486
15102.2105.058262811364-2.85826281136411
16102.87107.184247331364-4.3142473313641
1798.8199.252253695241-0.442253695241026
1897.699.479567155241-1.87956715524103
1996.6899.258023135241-2.57802313524102
2095.9699.295049575241-3.33504957524103
2198.89100.583229275241-1.69322927524103
2299.05100.764896535241-1.71489653524103
2399.299.01408514121030.185914858789742
2499.1199.1795429212103-0.0695429212102604
2599.19100.914219634585-1.72421963458464
2699.77100.121780565969-0.351780565969229
27100.695686799.50412959193851.19155710806153
28100.7751938101.630114111938-0.854920311938464
29100.5267342103.410636845969-2.88390264596922
30101.013715103.637950305969-2.62423530596923
31100.9242695103.416406285969-2.49213678596924
32101.1031604103.453432725969-2.35027232596924
33103.1107136104.741612425969-1.63089882596923
34102.991453104.923279685969-1.93182668596923
35102.3057046103.172468291938-0.866763691938469
36102.6137945103.337926071938-0.724131571938466
37103.6772014105.072602785313-1.39540138531283
38104.7207315104.2801637166970.44056778330257
39107.6624925103.6625127426673.99997975733333
40108.8749752105.7884972626673.08647793733333
41108.1196581107.5690199966970.550638103302563
42107.6128006107.796333456697-0.183532856697434
43106.4201948107.574789436697-1.15459463669743
44105.6052475107.611815876697-2.00656837669743
45105.7145697108.899995576697-3.18542587669743
46105.4859869109.081662836697-3.59567593669744
47105.5654939107.330851442667-1.76535754266666
48105.177897107.496309222667-2.31841222266666
49106.0922282109.230985936041-3.13875773604104
50106.3406877108.438546867426-2.09785916742563
51108.4675015117.533412263549-9.06591076354872
52116.8654343119.659396783549-2.79396248354871
53121.0793083121.439919517579-0.36061121757949
54123.2657523121.6672329775791.59851932242052
55124.1800835121.4456889575792.73439454242051
56125.6012721121.4827153975794.11855670242052
57126.5652952122.7708950975793.79440010242051
58127.1814749122.9525623575794.22891254242052
59128.0361757121.2017509635496.83442473645128
60128.5529716121.3672087435497.1857628564513
61129.6660704123.1018854569236.56418494307691


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.001405850508008780.002811701016017560.998594149491991
180.0007493240028153590.001498648005630720.999250675997185
190.0007118812602666610.001423762520533320.999288118739733
200.0006703703033466280.001340740606693260.999329629696653
210.0001874483985588280.0003748967971176560.99981255160144
223.90922133188768e-057.81844266377536e-050.99996090778668
230.0004786382182936980.0009572764365873960.999521361781706
240.0002345074691434220.0004690149382868430.999765492530857
258.2089176518151e-050.0001641783530363020.999917910823482
262.73488971768266e-055.46977943536533e-050.999972651102823
271.79419466235211e-053.58838932470421e-050.999982058053376
285.55088738900961e-061.11017747780192e-050.99999444911261
291.83927676296787e-063.67855352593574e-060.999998160723237
301.17564147811592e-062.35128295623184e-060.999998824358522
317.67908653421392e-071.53581730684278e-060.999999232091347
326.21804287717982e-071.24360857543596e-060.999999378195712
335.08026280877746e-071.01605256175549e-060.999999491973719
342.33774347655197e-074.67548695310394e-070.999999766225652
351.26082563710130e-072.52165127420259e-070.999999873917436
366.20148206975187e-081.24029641395037e-070.99999993798518
374.28475254370735e-088.5695050874147e-080.999999957152475
383.06524279088880e-086.13048558177761e-080.999999969347572
390.0001721082002035050.0003442164004070110.999827891799796
400.03548702562328630.07097405124657250.964512974376714
410.2767297769524520.5534595539049040.723270223047548
420.6312532774693130.7374934450613740.368746722530687
430.849899028464930.3002019430701400.150100971535070
440.8689929097765450.262014180446910.131007090223455


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level230.821428571428571NOK
5% type I error level230.821428571428571NOK
10% type I error level240.857142857142857NOK
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t1229947657drb2twnu5lc35rk/10sum11229947591.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t1229947657drb2twnu5lc35rk/10sum11229947591.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t1229947657drb2twnu5lc35rk/1tk081229947591.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t1229947657drb2twnu5lc35rk/1tk081229947591.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t1229947657drb2twnu5lc35rk/2ll9u1229947591.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t1229947657drb2twnu5lc35rk/2ll9u1229947591.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t1229947657drb2twnu5lc35rk/34gjx1229947591.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t1229947657drb2twnu5lc35rk/34gjx1229947591.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t1229947657drb2twnu5lc35rk/4selz1229947591.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t1229947657drb2twnu5lc35rk/4selz1229947591.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t1229947657drb2twnu5lc35rk/5ye1s1229947591.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t1229947657drb2twnu5lc35rk/5ye1s1229947591.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t1229947657drb2twnu5lc35rk/662hz1229947591.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t1229947657drb2twnu5lc35rk/662hz1229947591.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t1229947657drb2twnu5lc35rk/7n8091229947591.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t1229947657drb2twnu5lc35rk/7n8091229947591.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t1229947657drb2twnu5lc35rk/8blo11229947591.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t1229947657drb2twnu5lc35rk/8blo11229947591.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t1229947657drb2twnu5lc35rk/9tzfq1229947591.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t1229947657drb2twnu5lc35rk/9tzfq1229947591.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