Home » date » 2008 » Dec » 22 »

Paper - Multiple Regression - elektriciteit zonder 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:08:28 -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/t12299477653o962ix7s6xmxhj.htm/, Retrieved Mon, 22 Dec 2008 13:09:25 +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/t12299477653o962ix7s6xmxhj.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 time6 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Multiple Linear Regression - Estimated Regression Equation
elektrictietsindex[t] = + 101.625240688636 + 14.1577792995989dumivariable[t] + e[t]


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


Multiple Linear Regression - Regression Statistics
Multiple R0.680786174633836
R-squared0.463469815572571
Adjusted R-squared0.454376083633123
F-TEST (value)50.9658541354263
F-TEST (DF numerator)1
F-TEST (DF denominator)59
p-value1.57324298033501e-09
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation6.94450613547717
Sum Squared Residuals2845.34376247512


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
197.57101.625240688636-4.05524068863633
297.74101.625240688636-3.88524068863638
397.92101.625240688636-3.70524068863636
498.19101.625240688636-3.43524068863637
598.23101.625240688636-3.39524068863636
698.41101.625240688636-3.21524068863637
798.59101.625240688636-3.03524068863636
898.71101.625240688636-2.91524068863637
999.14101.625240688636-2.48524068863636
1099.62101.625240688636-2.00524068863636
11100.18115.783019988235-15.6030199882353
12100.66115.783019988235-15.1230199882353
13101.19115.783019988235-14.5930199882353
14101.75115.783019988235-14.0330199882353
15102.2115.783019988235-13.5830199882353
16102.87115.783019988235-12.9130199882353
1798.81101.625240688636-2.81524068863636
1897.6101.625240688636-4.02524068863637
1996.68101.625240688636-4.94524068863636
2095.96101.625240688636-5.66524068863637
2198.89101.625240688636-2.73524068863636
2299.05101.625240688636-2.57524068863637
2399.2101.625240688636-2.42524068863636
2499.11101.625240688636-2.51524068863636
2599.19101.625240688636-2.43524068863637
2699.77101.625240688636-1.85524068863637
27100.6956867101.625240688636-0.929553988636368
28100.7751938101.625240688636-0.850046888636367
29100.5267342101.625240688636-1.09850648863636
30101.013715101.625240688636-0.611525688636359
31100.9242695101.625240688636-0.70097118863637
32101.1031604101.625240688636-0.522080288636371
33103.1107136101.6252406886361.48547291136363
34102.991453101.6252406886361.36621231136364
35102.3057046101.6252406886360.680463911363635
36102.6137945101.6252406886360.988553811363634
37103.6772014101.6252406886362.05196071136364
38104.7207315101.6252406886363.09549081136364
39107.6624925101.6252406886366.03725181136363
40108.8749752101.6252406886367.24973451136363
41108.1196581101.6252406886366.49441741136363
42107.6128006101.6252406886365.98755991136364
43106.4201948101.6252406886364.79495411136364
44105.6052475101.6252406886363.98000681136364
45105.7145697101.6252406886364.08932901136363
46105.4859869101.6252406886363.86074621136364
47105.5654939101.6252406886363.94025321136364
48105.177897101.6252406886363.55265631136364
49106.0922282101.6252406886364.46698751136363
50106.3406877101.6252406886364.71544701136364
51108.4675015115.783019988235-7.3155184882353
52116.8654343115.7830199882351.08241431176471
53121.0793083115.7830199882355.2962883117647
54123.2657523115.7830199882357.48273231176471
55124.1800835115.7830199882358.3970635117647
56125.6012721115.7830199882359.81825211176471
57126.5652952115.78301998823510.7822752117647
58127.1814749115.78301998823511.3984549117647
59128.0361757115.78301998823512.2531557117647
60128.5529716115.78301998823512.7699516117647
61129.6660704115.78301998823513.8830504117647


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.0001348537034827230.0002697074069654460.999865146296517
61.27162010252724e-052.54324020505448e-050.999987283798975
71.62914547312273e-063.25829094624545e-060.999998370854527
82.22381945993298e-074.44763891986596e-070.999999777618054
98.08017111009196e-081.61603422201839e-070.999999919198289
105.71406792301751e-081.14281358460350e-070.99999994285932
117.27987464570286e-091.45597492914057e-080.999999992720125
121.24193601106963e-092.48387202213926e-090.999999998758064
133.94395136326844e-107.88790272653688e-100.999999999605605
143.29268520408547e-106.58537040817093e-100.999999999670731
157.51188568382579e-101.50237713676516e-090.999999999248811
161.21892051548433e-082.43784103096865e-080.999999987810795
172.64226485110396e-095.28452970220792e-090.999999997357735
189.91613280056438e-101.98322656011288e-090.999999999008387
191.93426574390603e-093.86853148781206e-090.999999998065734
201.19664894520854e-082.39329789041707e-080.99999998803351
214.67257444301432e-099.34514888602865e-090.999999995327426
222.0353726910071e-094.0707453820142e-090.999999997964627
239.92346059668885e-101.98469211933777e-090.999999999007654
244.53860328735795e-109.0772065747159e-100.99999999954614
252.25092925755324e-104.50185851510648e-100.999999999774907
261.93866064995587e-103.87732129991174e-100.999999999806134
275.44830191607681e-101.08966038321536e-090.99999999945517
281.17116090732354e-092.34232181464708e-090.99999999882884
291.50034560735732e-093.00069121471464e-090.999999998499654
302.87525546731075e-095.7505109346215e-090.999999997124745
314.30422063919049e-098.60844127838097e-090.99999999569578
326.94220887135134e-091.38844177427027e-080.999999993057791
338.47389232561494e-081.69477846512299e-070.999999915261077
343.76622661594939e-077.53245323189878e-070.999999623377338
356.7892070295815e-071.3578414059163e-060.999999321079297
361.29144369224224e-062.58288738448447e-060.999998708556308
373.91760620710019e-067.83521241420038e-060.999996082393793
381.62328636415824e-053.24657272831649e-050.999983767136358
390.000298539421448950.00059707884289790.999701460578551
400.002986895934840470.005973791869680930.99701310406516
410.008030475950587720.01606095190117540.991969524049412
420.01284378355976030.02568756711952050.98715621644024
430.01310361884383840.02620723768767680.986896381156162
440.01088845462540970.02177690925081930.98911154537459
450.00874180814403080.01748361628806160.99125819185597
460.006490849017140950.01298169803428190.99350915098286
470.004636044478588740.009272088957177470.995363955521411
480.003044893617002620.006089787234005230.996955106382997
490.002091123723525980.004182247447051950.997908876276474
500.001391773247713650.00278354649542730.998608226752286
510.2250070932383560.4500141864767120.774992906761644
520.78709008505210.42581982989580.2129099149479
530.9456038522382640.1087922955234710.0543961477617357
540.9741456664907640.05170866701847160.0258543335092358
550.9848067499914410.03038650001711770.0151932500085589
560.9811521450070810.03769570998583740.0188478549929187


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level400.76923076923077NOK
5% type I error level480.923076923076923NOK
10% type I error level490.942307692307692NOK
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t12299477653o962ix7s6xmxhj/10k9ls1229947697.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t12299477653o962ix7s6xmxhj/10k9ls1229947697.ps (open in new window)


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


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


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t12299477653o962ix7s6xmxhj/3ncw91229947697.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t12299477653o962ix7s6xmxhj/3ncw91229947697.ps (open in new window)


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


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


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t12299477653o962ix7s6xmxhj/63r951229947697.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t12299477653o962ix7s6xmxhj/63r951229947697.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t12299477653o962ix7s6xmxhj/73c3b1229947697.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t12299477653o962ix7s6xmxhj/73c3b1229947697.ps (open in new window)


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


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