Home » date » 2008 » Dec » 20 »

textiel

*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: Sat, 20 Dec 2008 02:03:22 -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/20/t1229763879zyj5423vph7k9lf.htm/, Retrieved Sat, 20 Dec 2008 10:04:40 +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/20/t1229763879zyj5423vph7k9lf.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 «
101,3 11554,5 102 13182,1 109,2 14800,1 88,6 12150,7 94,3 14478,2 98,3 13253,9 86,4 12036,8 80,6 12653,2 104,1 14035,4 108,2 14571,4 93,4 15400,9 71,9 14283,2 94,1 14485,3 94,9 14196,3 96,4 15559,1 91,1 13767,4 84,4 14634 86,4 14381,1 88 12509,9 75,1 12122,3 109,7 13122,3 103 13908,7 82,1 13456,5 68 12441,6 96,4 12953 94,3 13057,2 90 14350,1 88 13830,2 76,1 13755,5 82,5 13574,4 81,4 12802,6 66,5 11737,3 97,2 13850,2 94,1 15081,8 80,7 13653,3 70,5 14019,1 87,8 13962 89,5 13768,7 99,6 14747,1 84,2 13858,1 75,1 13188 92 13693,1 80,8 12970 73,1 11392,8 99,8 13985,2 90 14994,7 83,1 13584,7 72,4 14257,8 78,8 13553,4 87,3 14007,3 91 16535,8 80,1 14721,4 73,6 13664,6 86,4 16405,9 74,5 13829,4 71,2 13735,6 92,4 15870,5 81,5 15962,4 85,3 15744,1 69,9 16083,7 84,2 14863,9 90,7 15533,1 100,3 17473,1 79,4 15925,5 84,8 15573,7 92,9 17495 81,6 14155,8 76 14913,9 98,7 17250,4 89,1 15879,8 88,7 17647,8 67,1 17749,9
 
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 time7 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001


Multiple Linear Regression - Estimated Regression Equation
textiel[t] = + 83.1762254399543 -0.000892183092078553Invoer[t] + 19.3569098578666M1[t] + 22.3930421252442M2[t] + 28.4718012860539M3[t] + 14.5853361786827M4[t] + 10.8900853360037M5[t] + 19.7785898932271M6[t] + 10.5840997156565M7[t] + 1.95730219877615M8[t] + 30.2427447226140M9[t] + 24.5824880440775M10[t] + 15.6802838960059M11[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)83.17622543995439.3745678.872500
Invoer-0.0008921830920785530.00061-1.46330.1486950.074348
M119.35690985786663.6545825.29662e-061e-06
M222.39304212524423.6122576.199200
M328.47180128605393.6058527.89600
M414.58533617868273.6052194.04560.0001547.7e-05
M510.89008533600373.5930913.03080.0036180.001809
M619.77858989322713.5750265.53241e-060
M710.58409971565653.7317512.83620.0062450.003123
M81.957302198776153.7865610.51690.6071530.303576
M930.24274472261403.5757768.457700
M1024.58248804407753.5785546.869400
M1115.68028389600593.5756394.38534.8e-052.4e-05


Multiple Linear Regression - Regression Statistics
Multiple R0.84523090617935
R-squared0.714415284760764
Adjusted R-squared0.656330257932445
F-TEST (value)12.2994741290617
F-TEST (DF numerator)12
F-TEST (DF denominator)59
p-value5.26112486909369e-12
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation6.19212480324673
Sum Squared Residuals2262.20216516002


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1101.392.22440576039919.07559423960088
210293.80842082710988.19157917289022
3109.298.443627744936510.7563722550635
488.686.92091252171811.67908747828187
594.381.149105532226313.1508944677737
698.391.12990984908157.17009015091849
786.483.02129571287973.37870428712030
880.673.84455653804216.75544346195787
9104.1100.8968235920093.20317640799105
10108.294.758356776118313.4416432238817
1193.485.11608675316768.2839132468324
1271.970.43299589917791.46700410082208
1394.189.60959555413544.49040444586457
1494.992.90356873512371.9964312648763
1596.497.7664607780489-1.36646077804884
1691.185.47852011675475.62147988324527
1784.481.01010340648053.38989659351954
1886.490.1242410676905-3.72424106769055
198882.59920389201745.40079610798264
2075.174.31821654162660.781783458373367
21109.7101.7114759733867.98852402661413
2210395.34960651123887.65039348876119
2382.186.8508475574051-4.75084755740513
246872.0760402815498-4.07604028154979
2596.490.97668770612745.42331229387261
2694.393.91985449531040.380145504689613
279098.8451101363718-8.84511013637182
288885.42249101857222.57750898142782
2976.181.7938862528715-5.69388625287149
3082.590.8439651680703-8.34396516807032
3181.482.338061900966-0.938061900965958
3266.574.6617070320769-8.16170703207686
3397.2101.062055900662-3.86205590066189
3494.194.3029865259215-0.202986525921468
3580.786.675265924884-5.97526592488407
3670.570.6686214537959-0.168621453795869
3787.890.0764749662201-2.27647496622014
3889.593.2850662252965-3.78506622529649
3999.698.49091344881661.10908655118336
4084.285.3975991103032-1.19759911030319
4175.182.300200157626-7.20020015762606
429290.73806303504061.2619369649594
4380.882.188710451352-1.38871045135201
4473.174.969064107298-1.86906410729794
4599.8100.941611183231-1.14161118323129
469094.3806956732415-4.38069567324151
4783.186.7364696850007-3.63646968500067
4872.470.45565734971671.94434265028328
4978.890.4410209776434-11.6410209776434
5087.393.0721913395266-5.77219133952655
519196.8950655520157-5.89506555201573
5280.184.6273774469118-4.52737744691179
5373.681.8749856959414-8.27498569594142
5486.488.3177487428499-1.91774874284989
5574.581.4219683020197-6.9219683020197
5671.272.8788575591763-1.67885755917629
5792.499.2595783997356-6.8595783997356
5881.593.517330095037-12.0173300950371
5985.384.80988951596620.490110484033764
6069.968.82662024189051.07337975810952
6184.289.2718150354745-5.07181503547449
6290.791.710898377633-1.01089837763309
63100.396.05882233981054.24117766018949
6479.483.55309978574-4.15309978573999
6584.880.17171895485434.62828104514575
6692.987.34607213726715.55392786273286
6781.681.13075974076530.46924025923473
687671.82759822178014.17240177821986
6998.798.02845495097640.671545049023605
7089.193.5910244184428-4.49102441844278
7188.783.11144056357635.58855943642371
7267.167.3400647738692-0.240064773869212


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.6626664361468280.6746671277063450.337333563853172
170.7187409644318320.5625180711363360.281259035568168
180.7144418313642240.5711163372715520.285558168635776
190.6430821688556870.7138356622886250.356917831144313
200.6197527774686390.7604944450627220.380247222531361
210.6134568183888970.7730863632222060.386543181611103
220.7453746499921040.5092507000157930.254625350007896
230.8954562652470890.2090874695058230.104543734752911
240.8672985171190420.2654029657619170.132701482880958
250.909512640768180.1809747184636390.0904873592318196
260.9023112840290190.1953774319419630.0976887159709815
270.9627136190322080.07457276193558310.0372863809677915
280.9603715799877510.07925684002449740.0396284200122487
290.9789614471485640.0420771057028710.0210385528514355
300.9870421316357380.02591573672852370.0129578683642618
310.9832648106186460.03347037876270840.0167351893813542
320.9902395481354710.01952090372905780.00976045186452892
330.9895692707492610.02086145850147710.0104307292507386
340.9949886949738410.01002261005231750.00501130502615875
350.9942433962806540.01151320743869130.00575660371934565
360.9897342150780250.02053156984394960.0102657849219748
370.9923724962869510.01525500742609720.00762750371304858
380.9891851956585330.02162960868293380.0108148043414669
390.9851947628814320.02961047423713680.0148052371185684
400.9825057650489240.03498846990215240.0174942349510762
410.98079881334870.0384023733025990.0192011866512995
420.973606575861640.05278684827671950.0263934241383597
430.9632078665943570.07358426681128610.0367921334056431
440.9419500341640810.1160999316718380.0580499658359189
450.9470287858309970.1059424283380060.052971214169003
460.9580305609111110.08393887817777770.0419694390888889
470.9311728926683640.1376542146632730.0688271073316363
480.9725096202832220.05498075943355550.0274903797167777
490.9694828151727610.06103436965447760.0305171848272388
500.9488015316086430.1023969367827140.0511984683913569
510.944830043863350.11033991227330.05516995613665
520.9205175350200050.1589649299599900.0794824649799951
530.9098510435653910.1802979128692170.0901489564346087
540.8608417361089430.2783165277821140.139158263891057
550.8477660554453050.3044678891093910.152233944554695
560.7345441723024920.5309116553950150.265455827697508


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level130.317073170731707NOK
10% type I error level200.48780487804878NOK
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t1229763879zyj5423vph7k9lf/10jtwy1229763789.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t1229763879zyj5423vph7k9lf/10jtwy1229763789.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t1229763879zyj5423vph7k9lf/19yis1229763789.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t1229763879zyj5423vph7k9lf/19yis1229763789.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t1229763879zyj5423vph7k9lf/2qlt31229763789.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t1229763879zyj5423vph7k9lf/2qlt31229763789.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t1229763879zyj5423vph7k9lf/3aks11229763789.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t1229763879zyj5423vph7k9lf/3aks11229763789.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t1229763879zyj5423vph7k9lf/4oqz71229763789.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t1229763879zyj5423vph7k9lf/4oqz71229763789.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t1229763879zyj5423vph7k9lf/55dc11229763789.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t1229763879zyj5423vph7k9lf/55dc11229763789.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t1229763879zyj5423vph7k9lf/60c0b1229763789.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t1229763879zyj5423vph7k9lf/60c0b1229763789.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t1229763879zyj5423vph7k9lf/7w9wo1229763789.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t1229763879zyj5423vph7k9lf/7w9wo1229763789.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t1229763879zyj5423vph7k9lf/8fzoz1229763789.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t1229763879zyj5423vph7k9lf/8fzoz1229763789.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t1229763879zyj5423vph7k9lf/9613y1229763789.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t1229763879zyj5423vph7k9lf/9613y1229763789.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