Home » date » 2010 » Nov » 23 »

ws 7

*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: Tue, 23 Nov 2010 19:56:37 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Nov/23/t1290542114jo5fk6bgjylfcoe.htm/, Retrieved Tue, 23 Nov 2010 20:55: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/2010/Nov/23/t1290542114jo5fk6bgjylfcoe.htm/},
    year = {2010},
}
@Manual{R,
    title = {R: A Language and Environment for Statistical Computing},
    author = {{R Development Core Team}},
    organization = {R Foundation for Statistical Computing},
    address = {Vienna, Austria},
    year = {2010},
    note = {{ISBN} 3-900051-07-0},
    url = {http://www.R-project.org},
}
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
14544.5 94.6 15116.3 95.9 17413.2 104.7 16181.5 102.8 15607.4 98.1 17160.9 113.9 14915.8 80.9 13768 95.7 17487.5 113.2 16198.1 105.9 17535.2 108.8 16571.8 102.3 16198.9 99 16554.2 100.7 19554.2 115.5 15903.8 100.7 18003.8 109.9 18329.6 114.6 16260.7 85.4 14851.9 100.5 18174.1 114.8 18406.6 116.5 18466.5 112.9 16016.5 102 17428.5 106 17167.2 105.3 19630 118.8 17183.6 106.1 18344.7 109.3 19301.4 117.2 18147.5 92.5 16192.9 104.2 18374.4 112.5 20515.2 122.4 18957.2 113.3 16471.5 100 18746.8 110.7 19009.5 112.8 19211.2 109.8 20547.7 117.3 19325.8 109.1 20605.5 115.9 20056.9 96 16141.4 99.8 20359.8 116.8 19711.6 115.7 15638.6 99.4 14384.5 94.3 13855.6 91 14308.3 93.2 15290.6 103.1 14423.8 94.1 13779.7 91.8 15686.3 102.7 14733.8 82.6 12522.5 89.1 16189.4 104.5 16059.1 105.1 16007.1 95.1 15806.8 88.7 15160 86.3 15692.1 91.8 18908.9 111.5 16969.9 99.7 16997.5 97.5 19858.9 111.7 17681.2 86.2 16006.9 95.4
 
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'George Udny Yule' @ 72.249.76.132


Multiple Linear Regression - Estimated Regression Equation
productie[t] = + 35.3845145648451 + 0.00398530347372131uitvoer[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)35.38451456484516.7820185.21742e-061e-06
uitvoer0.003985303473721310.00039610.05900


Multiple Linear Regression - Regression Statistics
Multiple R0.777960787487783
R-squared0.605222986868611
Adjusted R-squared0.599241516972681
F-TEST (value)101.182986355981
F-TEST (DF numerator)1
F-TEST (DF denominator)66
p-value5.99520433297585e-15
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation6.29892155690996
Sum Squared Residuals2618.64324348693


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
194.693.34876093838471.25123906161525
295.995.62755746465860.272442535341443
3104.7104.781401013449-0.0814010134490508
4102.899.87270272486652.92729727513349
598.197.58474000060310.515259999396888
6113.9103.77590894702910.1240910529708
780.994.8285041181774-13.9285041181774
895.790.25417279104015.44582720895987
9113.2105.0775090615478.12249093845346
10105.999.93885876253035.96114123746972
11108.8105.2676080372433.53239196275694
12102.3101.428166670660.87183332934006
139999.9420470053093-0.942047005309262
14100.7101.358025329522-0.658025329522445
15115.5113.3139357506862.18606424931362
16100.798.7659839502141.9340160497859
17109.9107.1351212450292.76487875497115
18114.6108.4335331167676.16646688323274
1985.4100.188338759985-14.7883387599852
20100.594.57384322620675.92615677379334
21114.8107.8138184266046.9861815733964
22116.5108.7404014842447.7595985157562
23112.9108.9791211623203.9208788376803
2410299.21512765170252.78487234829750
25106104.8423761565971.15762384340301
26105.3103.8010163589141.49898364108639
27118.8113.6160217539945.18397824600555
28106.1103.8663753358832.23362466411736
29109.3108.4937111992200.806288800779543
30117.2112.3064510325304.89354896747037
3192.5107.707809354203-15.2078093542026
32104.299.9181351844674.28186481553307
33112.5108.612074712393.88792528761002
34122.4117.1438123889335.25618761106745
35113.3110.9347095768752.36529042312524
36100101.028440732246-1.02844073224569
37110.7110.0962017260040.603798273996215
38112.8111.1431409485501.65685905144962
39109.8111.9469766592-2.14697665919997
40117.3117.2733347518290.0266652481714963
41109.1112.403692437288-3.30369243728843
42115.9117.503685292610-1.60368529260959
4396115.317347806926-19.3173478069261
4499.899.71289205557030.0871079444297108
45116.8116.5244962291160.275503770883736
46115.7113.941222517451.75877748254990
4799.497.70908146898321.69091853101679
4894.392.71111238258931.58888761741068
499190.60328537533810.396714624661882
5093.292.40743225789180.792567742108253
51103.196.32219586012826.7778041398718
5294.192.86773480910661.23226519089343
5391.890.30080084168271.49919915831732
54102.797.89918044467974.80081955532029
5582.694.1031788859602-11.5031788859602
5689.185.29047731452023.80952268547976
57104.599.9041866223094.59581337769109
58105.199.3849015796835.71509842031697
5995.199.1776657990495-4.07766579904952
6088.798.3794095132631-9.67940951326313
6186.395.8017152264602-9.5017152264602
6291.897.9222952048273-6.12229520482731
63111.5110.7422194190940.75778058090598
6499.7103.014715983548-3.3147159835484
6597.5103.124710359423-5.6247103594231
66111.7114.528257719129-2.82825771912926
6786.2105.849462344406-19.6494623444064
6895.499.1768687383548-3.77686873835476


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.01223938633299490.02447877266598990.987760613667005
60.1652436598981720.3304873197963450.834756340101828
70.6469196208779930.7061607582440140.353080379122007
80.7339696766350540.5320606467298920.266030323364946
90.6802063599472780.6395872801054440.319793640052722
100.6117557467184240.7764885065631530.388244253281576
110.5180247128664990.9639505742670020.481975287133501
120.4273135666430620.8546271332861240.572686433356938
130.3532615401369580.7065230802739150.646738459863042
140.2875059834570420.5750119669140850.712494016542958
150.2408480416327380.4816960832654760.759151958367262
160.1771419858250560.3542839716501130.822858014174944
170.1274992270228080.2549984540456160.872500772977192
180.09965527496326390.1993105499265280.900344725036736
190.4734004430575070.9468008861150140.526599556942493
200.4746051841619830.9492103683239670.525394815838017
210.4476959447464430.8953918894928860.552304055253557
220.4339155204708490.8678310409416980.566084479529151
230.3745889634559350.7491779269118690.625411036544065
240.3148800140732180.6297600281464370.685119985926782
250.257386992089780.514773984179560.74261300791022
260.2049030206324740.4098060412649490.795096979367526
270.1757865710480420.3515731420960850.824213428951958
280.1368354937564810.2736709875129620.86316450624352
290.1085773844945260.2171547689890520.891422615505474
300.09199417744950260.1839883548990050.908005822550497
310.4437661425241990.8875322850483980.556233857475801
320.4085753412137320.8171506824274630.591424658786268
330.3688063184861940.7376126369723870.631193681513806
340.3601830156651940.7203660313303870.639816984334806
350.3194079097989250.638815819597850.680592090201075
360.2633039151396580.5266078302793150.736696084860342
370.2221387833372890.4442775666745770.777861216662711
380.1908053288703430.3816106577406860.809194671129657
390.1637093444499960.3274186888999920.836290655550004
400.1438801966223210.2877603932446420.856119803377679
410.1232948385353060.2465896770706130.876705161464694
420.1065125786945490.2130251573890980.893487421305451
430.5012860190507330.9974279618985340.498713980949267
440.4311689815712350.862337963142470.568831018428765
450.3812732408690670.7625464817381350.618726759130933
460.3685462794257290.7370925588514570.631453720574271
470.3133007507936850.6266015015873710.686699249206315
480.2531688904104680.5063377808209370.746831109589532
490.1950910077693420.3901820155386850.804908992230658
500.1468672981244640.2937345962489290.853132701875536
510.1757112005258340.3514224010516680.824288799474166
520.1350257318590710.2700514637181430.864974268140929
530.1021064533556490.2042129067112970.897893546644351
540.1159406029981000.2318812059962010.8840593970019
550.1784642301189070.3569284602378140.821535769881093
560.1672578505493330.3345157010986650.832742149450667
570.2248991636139970.4497983272279940.775100836386003
580.4475054589585610.8950109179171220.552494541041439
590.3786324333847410.7572648667694820.621367566615259
600.315337436552940.630674873105880.68466256344706
610.2428258149541850.4856516299083710.757174185045815
620.1585038437578590.3170076875157180.841496156242141
630.1348880006463320.2697760012926650.865111999353668


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level10.0169491525423729OK
10% type I error level10.0169491525423729OK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Nov/23/t1290542114jo5fk6bgjylfcoe/10iwq51290542189.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/23/t1290542114jo5fk6bgjylfcoe/10iwq51290542189.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/23/t1290542114jo5fk6bgjylfcoe/1bvbb1290542189.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/23/t1290542114jo5fk6bgjylfcoe/1bvbb1290542189.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/23/t1290542114jo5fk6bgjylfcoe/2bvbb1290542189.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/23/t1290542114jo5fk6bgjylfcoe/2bvbb1290542189.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/23/t1290542114jo5fk6bgjylfcoe/3mnae1290542189.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/23/t1290542114jo5fk6bgjylfcoe/3mnae1290542189.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/23/t1290542114jo5fk6bgjylfcoe/4mnae1290542189.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/23/t1290542114jo5fk6bgjylfcoe/4mnae1290542189.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/23/t1290542114jo5fk6bgjylfcoe/5mnae1290542189.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/23/t1290542114jo5fk6bgjylfcoe/5mnae1290542189.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/23/t1290542114jo5fk6bgjylfcoe/6we9z1290542189.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/23/t1290542114jo5fk6bgjylfcoe/6we9z1290542189.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/23/t1290542114jo5fk6bgjylfcoe/7we9z1290542189.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/23/t1290542114jo5fk6bgjylfcoe/7we9z1290542189.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/23/t1290542114jo5fk6bgjylfcoe/875q11290542189.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/23/t1290542114jo5fk6bgjylfcoe/875q11290542189.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/23/t1290542114jo5fk6bgjylfcoe/975q11290542189.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/23/t1290542114jo5fk6bgjylfcoe/975q11290542189.ps (open in new window)


 
Parameters (Session):
par1 = 2 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
 
Parameters (R input):
par1 = 2 ; 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