Home » date » 2010 » Dec » 13 »

MLRM

*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, 13 Dec 2010 11:13:49 +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/Dec/13/t1292238799340lx3t7c7oppyx.htm/, Retrieved Mon, 13 Dec 2010 12:13:29 +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/Dec/13/t1292238799340lx3t7c7oppyx.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 «
216.234 627 213.586 696 209.465 825 204.045 677 200.237 656 203.666 785 241.476 412 260.307 352 243.324 839 244.460 729 233.575 696 237.217 641 235.243 695 230.354 638 227.184 762 221.678 635 217.142 721 219.452 854 256.446 418 265.845 367 248.624 824 241.114 687 229.245 601 231.805 676 219.277 740 219.313 691 212.610 683 214.771 594 211.142 729 211.457 731 240.048 386 240.636 331 230.580 707 208.795 715 197.922 657 194.596 653 194.581 642 185.686 643 178.106 718 172.608 654 167.302 632 168.053 731 202.300 392 202.388 344 182.516 792 173.476 852 166.444 649 171.297 629 169.701 685 164.182 617 161.914 715 159.612 715 151.001 629 158.114 916 186.530 531 187.069 357 174.330 917 169.362 828 166.827 708 178.037 858 186.413 775 189.226 785 191.563 1006 188.906 789 186.005 734 195.309 906 223.532 532 226.899 387 214.126 991 206.903 841 204.442 892 220.375 782
 
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'George Udny Yule' @ 72.249.76.132


Multiple Linear Regression - Estimated Regression Equation
werklozen[t] = + 245.835030830493 -0.0600382870744318faillissementen[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)245.83503083049314.08554817.45300
faillissementen-0.06003828707443180.020176-2.97570.004010.002005


Multiple Linear Regression - Regression Statistics
Multiple R0.335103814391781
R-squared0.112294566419921
Adjusted R-squared0.09961306022592
F-TEST (value)8.8549865214781
F-TEST (DF numerator)1
F-TEST (DF denominator)70
p-value0.00400991597917932
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation26.6107846933963
Sum Squared Residuals49569.3703398807


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1216.234208.1910248348238.0429751651772
2213.586204.0483830266889.53761697331209
3209.465196.30344399408613.1615560059138
4204.045205.189110481102-1.14411048110214
5200.237206.449914509665-6.2129145096652
6203.666198.7049754770634.9610245229365
7241.476221.09925655582720.3767434441734
8260.307224.70155378029235.6054462197076
9243.324195.46290797504447.8610920249558
10244.46202.06711955323242.3928804467683
11233.575204.04838302668829.5266169733121
12237.217207.35048881578229.8665111842183
13235.243204.10842131376231.1345786862376
14230.354207.53060367700522.8233963229950
15227.184200.08585607977527.0981439202246
16221.678207.71071853822813.9672814617717
17217.142202.54742584982714.5945741501729
18219.452194.56233366892824.8896663310723
19256.446220.7390268333835.7069731666201
20265.845223.80097947417642.0440205258240
21248.624196.36348228116152.2605177188393
22241.114204.58872761035836.5252723896422
23229.245209.75202029875919.4929797012411
24231.805205.24914876817726.5558512318234
25219.277201.40669839541317.8703016045871
26219.313204.3485744620614.9644255379399
27212.61204.8288807586567.78111924134447
28214.771210.172288308284.59871169172002
29211.142202.0671195532329.07488044676832
30211.457201.9470429790839.50995702091718
31240.048222.66025201976217.3877479802382
32240.636225.96235780885614.6736421911445
33230.58203.38796186886927.1920381311308
34208.795202.9076555722745.88734442772627
35197.922206.389876222591-8.46787622259077
36194.596206.630029370888-12.0340293708885
37194.581207.290450528707-12.7094505287073
38185.686207.230412241633-21.5444122416328
39178.106202.727540711050-24.6215407110504
40172.608206.569991083814-33.9619910838141
41167.302207.890833399452-40.5888333994516
42168.053201.947042979083-33.8940429790828
43202.3222.300022297315-20.0000222973152
44202.388225.181860076888-22.7938600768879
45182.516198.284707467542-15.7687074675425
46173.476194.682410243077-21.2064102430766
47166.444206.870182519186-40.4261825191862
48171.297208.070948260675-36.7739482606749
49169.701204.708804184507-35.0078041845067
50164.182208.791407705568-44.6094077055681
51161.914202.907655572274-40.9936555722737
52159.612202.907655572274-43.2956555722737
53151.001208.070948260675-57.0699482606749
54158.114190.839959870313-32.7259598703129
55186.53213.954700393969-27.4247003939692
56187.069224.401362344920-37.3323623449203
57174.33190.779921583238-16.4499215832385
58169.362196.123329132863-26.7613291328629
59166.827203.327923581795-36.5009235817947
60178.037194.32218052063-16.2851805206300
61186.413199.305358347808-12.8923583478078
62189.226198.704975477063-9.4789754770635
63191.563185.4365140336146.12648596638592
64188.906198.464822328766-9.55882232876576
65186.005201.766928117860-15.7619281178595
66195.309191.4403427410573.86865725894275
67223.532213.8946621068959.63733789310527
68226.899222.6002137326874.29878626731265
69214.126186.33708833973127.7889116602695
70206.903195.34283140089511.5601685991047
71204.442192.28087876009912.1611212399007
72220.375198.88509033828721.4899096617132


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.02772537811449980.05545075622899970.9722746218855
60.007319096367009730.01463819273401950.99268090363299
70.009269663095856880.01853932619171380.990730336904143
80.008821152973015350.01764230594603070.991178847026985
90.1408471307786660.2816942615573310.859152869221334
100.1806195985303740.3612391970607480.819380401469626
110.1371679896039160.2743359792078310.862832010396084
120.1027190377375390.2054380754750790.89728096226246
130.07880221817975350.1576044363595070.921197781820246
140.05125809905691640.1025161981138330.948741900943084
150.03510566201947770.07021132403895540.964894337980522
160.02226164566404920.04452329132809830.97773835433595
170.01363790557798550.0272758111559710.986362094422015
180.008751927261519960.01750385452303990.99124807273848
190.00835255375856030.01670510751712060.99164744624144
200.01090797094698020.02181594189396030.98909202905302
210.03990889762647420.07981779525294840.960091102373526
220.04550740220430190.09101480440860370.954492597795698
230.03754311308094930.07508622616189870.96245688691905
240.03425476869764430.06850953739528860.965745231302356
250.02827253652518300.05654507305036590.971727463474817
260.02418749529084690.04837499058169380.975812504709153
270.02276148888675440.04552297777350880.977238511113246
280.02386767691024350.04773535382048710.976132323089757
290.02121687926971320.04243375853942640.978783120730287
300.01881114199998730.03762228399997460.981188858000013
310.02229524430308670.04459048860617330.977704755696913
320.03313247667527520.06626495335055040.966867523324725
330.05272875258211660.1054575051642330.947271247417883
340.0572534015391610.1145068030783220.942746598460839
350.08319966189194380.1663993237838880.916800338108056
360.1191041901430890.2382083802861780.880895809856911
370.1551802504831880.3103605009663760.844819749516812
380.2265788883166610.4531577766333220.773421111683339
390.306306642406810.612613284813620.69369335759319
400.4460833728684080.8921667457368150.553916627131592
410.6145117682667380.7709764634665230.385488231733262
420.6897876815540840.6204246368918320.310212318445916
430.6926710050961490.6146579898077020.307328994903851
440.6926651840393530.6146696319212950.307334815960647
450.6615735340524710.6768529318950570.338426465947529
460.6471643191288220.7056713617423570.352835680871178
470.7050915599458290.5898168801083430.294908440054172
480.7256168899862680.5487662200274640.274383110013732
490.7380746456080380.5238507087839240.261925354391962
500.7886702440895950.422659511820810.211329755910405
510.8280341441123580.3439317117752830.171965855887642
520.874812474246790.2503750515064210.125187525753210
530.958584883087770.0828302338244610.0414151169122305
540.9729270595251130.05414588094977440.0270729404748872
550.9649108041651370.07017839166972620.0350891958348631
560.9681735188074370.06365296238512610.0318264811925631
570.9583955935389050.0832088129221890.0416044064610945
580.9659340108754460.06813197824910720.0340659891245536
590.99003625146120.01992749707760130.00996374853880065
600.9904812524898470.01903749502030500.00951874751015252
610.9888896601781660.02222067964366840.0111103398218342
620.9855193467912710.02896130641745780.0144806532087289
630.9695627937416940.06087441251661280.0304372062583064
640.9674642243204030.06507155135919370.0325357756795968
650.9936699346757540.01266013064849160.00633006532424582
660.9950952317573660.009809536485268080.00490476824263404
670.9769311504176960.04613769916460770.0230688495823038


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level10.0158730158730159NOK
5% type I error level210.333333333333333NOK
10% type I error level370.587301587301587NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/13/t1292238799340lx3t7c7oppyx/101ajb1292238821.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/13/t1292238799340lx3t7c7oppyx/101ajb1292238821.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/13/t1292238799340lx3t7c7oppyx/1u9mh1292238821.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/13/t1292238799340lx3t7c7oppyx/1u9mh1292238821.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/13/t1292238799340lx3t7c7oppyx/2u9mh1292238821.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/13/t1292238799340lx3t7c7oppyx/2u9mh1292238821.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/13/t1292238799340lx3t7c7oppyx/3504k1292238821.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/13/t1292238799340lx3t7c7oppyx/3504k1292238821.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/13/t1292238799340lx3t7c7oppyx/4504k1292238821.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/13/t1292238799340lx3t7c7oppyx/4504k1292238821.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/13/t1292238799340lx3t7c7oppyx/5504k1292238821.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/13/t1292238799340lx3t7c7oppyx/5504k1292238821.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/13/t1292238799340lx3t7c7oppyx/6ga3n1292238821.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/13/t1292238799340lx3t7c7oppyx/6ga3n1292238821.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/13/t1292238799340lx3t7c7oppyx/7r12q1292238821.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/13/t1292238799340lx3t7c7oppyx/7r12q1292238821.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/13/t1292238799340lx3t7c7oppyx/8r12q1292238821.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/13/t1292238799340lx3t7c7oppyx/8r12q1292238821.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/13/t1292238799340lx3t7c7oppyx/9r12q1292238821.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/13/t1292238799340lx3t7c7oppyx/9r12q1292238821.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