Home » date » 2008 » Dec » 22 »

Paper - Multiple Regression - elektriciteit met 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:11:46 -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/t122994799750wrzb1ab8kghgb.htm/, Retrieved Mon, 22 Dec 2008 13:13:26 +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/t122994799750wrzb1ab8kghgb.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 time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
elektrictietsindex[t] = + 101.353243204545 + 14.6742235386364dumivariable[t] -0.0137343840908889M1[t] -2.22380407227273M2[t] -3.83379648M3[t] -1.70781196000000M4[t] + 1.06505220772727M5[t] + 1.29236566772727M6[t] + 1.07082164772728M7[t] + 1.10784808772727M8[t] + 2.39602778772727M9[t] + 2.57769504772728M10[t] -0.165457779999996M11[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.3532432045453.43357329.518300
dumivariable14.67422353863642.1686926.766400
M1-0.01373438409088894.500581-0.00310.9975780.498789
M2-2.223804072272734.718256-0.47130.6395480.319774
M3-3.833796484.698277-0.8160.4185310.209265
M4-1.707811960000004.698277-0.36350.7178290.358915
M51.065052207727274.7182560.22570.822370.411185
M61.292365667727274.7182560.27390.7853310.392665
M71.070821647727284.7182560.2270.8214240.410712
M81.107848087727274.7182560.23480.8153620.407681
M92.396027787727274.7182560.50780.6139050.306952
M102.577695047727284.7182560.54630.5873740.293687
M11-0.1654577799999964.698277-0.03520.9720530.486027


Multiple Linear Regression - Regression Statistics
Multiple R0.707474490780227
R-squared0.500520155104742
Adjusted R-squared0.375650193880927
F-TEST (value)4.00833114865487
F-TEST (DF numerator)12
F-TEST (DF denominator)48
p-value0.000267584983496993
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation7.42862879287303
Sum Squared Residuals2648.85723563050


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
197.57101.339508820454-3.76950882045444
297.7499.1294391322728-1.38943913227276
397.9297.51944672454540.400553275454549
498.1999.6454312445454-1.45543124454546
598.23102.418295412273-4.18829541227272
698.41102.645608872273-4.23560887227273
798.59102.424064852273-3.83406485227272
898.71102.461091292273-3.75109129227273
999.14103.749270992273-4.60927099227272
1099.62103.930938252273-4.31093825227272
11100.18115.862008963182-15.6820089631818
12100.66116.027466743182-15.3674667431818
13101.19116.013732359091-14.8237323590909
14101.75113.803662670909-12.0536626709091
15102.2112.193670263182-9.99367026318181
16102.87114.319654783182-11.4496547831818
1798.81102.418295412273-3.60829541227273
1897.6102.645608872273-5.04560887227273
1996.68102.424064852273-5.74406485227272
2095.96102.461091292273-6.50109129227273
2198.89103.749270992273-4.85927099227272
2299.05103.930938252273-4.88093825227273
2399.2101.187785424545-1.98778542454545
2499.11101.353243204545-2.24324320454545
2599.19101.339508820455-2.14950882045457
2699.7799.12943913227270.640560867727276
27100.695686797.51944672454553.17623997545454
28100.775193899.64543124454541.12976255545454
29100.5267342102.418295412273-1.89156121227272
30101.013715102.645608872273-1.63189387227272
31100.9242695102.424064852273-1.49979535227274
32101.1031604102.461091292273-1.35793089227273
33103.1107136103.749270992273-0.638557392272729
34102.991453103.930938252273-0.939485252272721
35102.3057046101.1877854245451.11791917545454
36102.6137945101.3532432045451.26055129545454
37103.6772014101.3395088204552.33769257954544
38104.720731599.12943913227275.59129236772728
39107.662492597.519446724545510.1430457754545
40108.874975299.64543124454559.22954395545454
41108.1196581102.4182954122735.70136268772727
42107.6128006102.6456088722734.96719172772727
43106.4201948102.4240648522733.99612994772727
44105.6052475102.4610912922733.14415620772728
45105.7145697103.7492709922731.96529870772727
46105.4859869103.9309382522731.55504864772727
47105.5654939101.1877854245454.37770847545455
48105.177897101.3532432045453.82465379545455
49106.0922282101.3395088204554.75271937954543
50106.340687799.12943913227277.21124856772728
51108.4675015112.193670263182-3.72616876318182
52116.8654343114.3196547831822.54577951681819
53121.0793083117.0925189509093.98678934909090
54123.2657523117.3198324109095.94591988909092
55124.1800835117.0982883909097.0817951090909
56125.6012721117.1353148309098.46595726909092
57126.5652952118.4234945309098.14180066909091
58127.1814749118.6051617909098.57631310909091
59128.0361757115.86200896318212.1741667368182
60128.5529716116.02746674318212.5255048568182
61129.6660704116.01373235909113.6523380409091


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.0004167718052786830.0008335436105573670.999583228194721
175.55740633752767e-050.0001111481267505530.999944425936625
181.36792321537974e-052.73584643075948e-050.999986320767846
193.95291394501148e-057.90582789002296e-050.99996047086055
200.0001311598950071000.0002623197900142000.999868840104993
212.9286647549791e-055.8573295099582e-050.99997071335245
227.05248664720533e-061.41049732944107e-050.999992947513353
231.47636935649005e-052.95273871298011e-050.999985236306435
248.6436008291465e-061.7287201658293e-050.99999135639917
255.24230628149549e-061.04846125629910e-050.999994757693718
262.97874849890889e-065.95749699781778e-060.9999970212515
272.08104443612206e-064.16208887224413e-060.999997918955564
289.24915554449449e-071.84983110889890e-060.999999075084446
296.8629426476618e-071.37258852953236e-060.999999313705735
301.36986573602832e-062.73973147205664e-060.999998630134264
312.91535187153434e-065.83070374306869e-060.999997084648129
327.89633299694378e-061.57926659938876e-050.999992103667003
331.77083396945187e-053.54166793890374e-050.999982291660306
342.51089268843423e-055.02178537686845e-050.999974891073116
354.35089817103412e-058.70179634206825e-050.99995649101829
366.78666978961213e-050.0001357333957922430.999932133302104
370.0002098141362598310.0004196282725196620.99979018586374
380.0003672627388985910.0007345254777971820.999632737261101
390.082589841380040.165179682760080.91741015861996
400.5986953958653560.8026092082692870.401304604134644
410.9040784607015880.1918430785968250.0959215392984123
420.9796963006832280.04060739863354480.0203036993167724
430.9950581187889930.009883762422014030.00494188121100701
440.99537041525680.00925916948640050.00462958474320025
450.9937851269238160.01242974615236850.00621487307618425


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level250.833333333333333NOK
5% type I error level270.9NOK
10% type I error level270.9NOK
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t122994799750wrzb1ab8kghgb/10ek381229947901.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t122994799750wrzb1ab8kghgb/10ek381229947901.ps (open in new window)


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


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t122994799750wrzb1ab8kghgb/21vx81229947901.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t122994799750wrzb1ab8kghgb/21vx81229947901.ps (open in new window)


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


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


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


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t122994799750wrzb1ab8kghgb/6d5yo1229947901.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t122994799750wrzb1ab8kghgb/6d5yo1229947901.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t122994799750wrzb1ab8kghgb/77z7f1229947901.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t122994799750wrzb1ab8kghgb/77z7f1229947901.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t122994799750wrzb1ab8kghgb/80hsd1229947901.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t122994799750wrzb1ab8kghgb/80hsd1229947901.ps (open in new window)


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