Home » date » 2009 » Nov » 18 »

Multiple regression analysis

*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: Wed, 18 Nov 2009 08:18:10 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Nov/18/t1258557778013k385phxinnx1.htm/, Retrieved Wed, 18 Nov 2009 16:23:11 +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/2009/Nov/18/t1258557778013k385phxinnx1.htm/},
    year = {2009},
}
@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 = {2009},
    note = {{ISBN} 3-900051-07-0},
    url = {http://www.R-project.org},
}
 
Original text written by user:
Er worden in deze berekening 2 exogene reeksen opgenomen. Met deze berekenign wil ik controleren of de totale industriële productie een groter effect heeft op de werkloosheid dan de afzetprijzen.
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
8.4 99 100.5 8.4 98.6 100.5 8.4 98.6 100.7 8.6 98.5 101.1 8.9 98.9 101.5 8.8 99.4 101.9 8.3 99.8 102.1 7.5 99.9 102.1 7.2 100 102.1 7.4 100.1 102.4 8.8 100.1 102.8 9.3 100.2 103.1 9.3 100.3 103.1 8.7 100 102.9 8.2 99.9 102.4 8.3 99.4 101.9 8.5 99.8 101.3 8.6 99.6 100.7 8.5 100 100.6 8.2 99.9 101 8.1 100.3 101.5 7.9 100.6 101.9 8.6 100.7 102.1 8.7 100.8 102.3 8.7 100.8 102.5 8.5 100.6 102.9 8.4 101.1 103.6 8.5 101.1 104.3 8.7 100.9 104.8 8.7 101.1 105.2 8.6 101.2 105.7 8.5 101.4 106.1 8.3 101.9 106.4 8 102.1 106.3 8.2 102.1 106.3 8.1 103 106.5 8.1 103.4 107.1 8 103.2 107.7 7.9 103.1 108.3 7.9 103 109 8 103.7 109.3 8 103.4 109.6 7.9 103.5 109.7 8 103.8 109.7 7.7 104 109.5 7.2 104.2 109.3 7.5 104.4 109 7.3 104.4 108.8 7 104.9 108.8 7 105.3 108.8 7 105.2 108.7 7.2 105.4 108.3 7.3 105.4 107.8 7.1 105.5 107.2 6.8 105.7 106.4 6.4 105.6 105.7 6.1 105.8 105.3 6.5 105.4 105 7.7 105.5 104.6 7.9 105.8 104 7.5 106.1 103 6.9 106 101.6 6.6 105.5 100.2 6.9 105.4 etc...
 
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 time4 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
werkl[t] = + 29.8377683055636 -0.188151055754045afzetp[t] -0.0249996487779284iprod[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)29.83776830556362.67193511.167100
afzetp-0.1881510557540450.022575-8.334400
iprod-0.02499964877792840.014836-1.68510.0964890.048245


Multiple Linear Regression - Regression Statistics
Multiple R0.722190580035731
R-squared0.521559233892346
Adjusted R-squared0.50769138559937
F-TEST (value)37.6092399393013
F-TEST (DF numerator)2
F-TEST (DF denominator)69
p-value8.99647023544503e-12
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.490516263581652
Sum Squared Residuals16.6018281338292


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
18.48.69834908373133-0.298349083731329
28.48.773609506033-0.373609506032996
38.48.7686095762774-0.368609576277408
48.68.77742482234164-0.177424822341641
58.98.692164540528850.207835459471150
68.88.588089153140660.211910846859345
78.38.50782880108345-0.207828801083453
87.58.48901369550805-0.989013695508048
97.28.47019858993264-1.27019858993264
107.48.44388358972386-1.04388358972386
118.88.433883730212690.366116269787310
129.38.40756873000390.892431269996094
139.38.38875362442850.911246375571498
148.78.45019887091030.249801129089698
158.28.48151380087467-0.28151380087467
168.38.58808915314066-0.288089153140655
178.58.5278285201058-0.0278285201057966
188.68.580458520523360.0195414794766365
198.58.50769806309954-0.00769806309953693
208.28.51651330916377-0.31651330916377
218.18.42875306247319-0.328753062473189
227.98.36230788623580-0.462307886235803
238.68.338492850904810.261507149095188
248.78.314677815573820.385322184426176
258.78.309677885818240.390322114181762
268.58.337308237457880.162691762542125
278.48.22573295543630.174267044563697
288.58.208233201291750.291766798708247
298.78.23336358805360.466636411946403
308.78.185733517391620.514266482608382
318.68.154418587427250.445581412572752
328.58.106788516765270.393211483234733
338.38.005213094254860.294786905745136
3487.970082847981850.0299171520181488
358.27.970082847981850.229917152018148
368.17.795746968047620.304253031952376
378.17.705486756479250.394513243520752
3887.72811717836330.2718828216367
397.97.731932494671950.168067505328051
407.97.73324784610280.166752153897198
4187.594042212441590.405957787558408
4287.642987634534430.357012365465573
437.97.621672564081230.278327435918770
4487.565227247355020.434772752644983
457.77.53259696595980.167403034040207
467.27.49996668456457-0.299966684564569
477.57.469836368047140.0301636319528618
487.37.47483629780272-0.174836297802724
4977.3807607699257-0.380760769925701
5077.30550034762408-0.305500347624085
5177.32681541807728-0.326815418077281
527.27.29918506643764-0.0991850664376426
537.37.3116848908266-0.0116848908266071
547.17.30786957451796-0.207869574517961
556.87.29023908238949-0.490239082389494
566.47.32655394210945-0.926553942109449
576.17.29892359046981-1.19892359046981
586.57.3816839074048-0.881683907404806
597.77.372868661340570.327131338659426
607.97.331423133881120.568576866118882
617.57.299977465932830.200022534067167
626.97.35379207979734-0.453792079797336
636.67.48286711596346-0.88286711596346
646.97.53168180007238-0.631681800072376
657.77.441290850520090.258709149479914
6687.439975499089230.560024500910768
6787.396030006751980.603969993248019
687.77.486290218320360.213709781679643
697.37.49629007783153-0.196290077831528
707.47.50129000758711-0.101290007587114
718.17.50628993734270.5937100626573
728.37.492474761522880.80752523847712


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
60.01220928839989430.02441857679978860.987790711600106
70.04528505183839180.09057010367678360.954714948161608
80.2869803459582930.5739606919165850.713019654041707
90.4597408676669090.9194817353338180.540259132333091
100.4630844442050760.9261688884101510.536915555794924
110.6555329465211120.6889341069577770.344467053478888
120.8211258333729130.3577483332541740.178874166627087
130.8919004249834150.2161991500331690.108099575016585
140.8484590892949040.3030818214101920.151540910705096
150.810983104516890.3780337909662200.189016895483110
160.7848365332093210.4303269335813580.215163466790679
170.8932296437686620.2135407124626760.106770356231338
180.9305727243882620.1388545512234770.0694272756117385
190.9334017056677940.1331965886644130.0665982943322065
200.9247861821781570.1504276356436870.0752138178218433
210.92103005606350.1579398878730000.0789699439364998
220.9374966286763430.1250067426473140.062503371323657
230.9293322946061310.1413354107877380.070667705393869
240.91802606168280.1639478766343990.0819739383171995
250.8985837383135020.2028325233729950.101416261686498
260.8760367113356970.2479265773286070.123963288664303
270.8493318784617410.3013362430765180.150668121538259
280.8130505695658470.3738988608683060.186949430434153
290.763643873273540.4727122534529190.236356126726460
300.706091775123060.587816449753880.29390822487694
310.6494758390077170.7010483219845670.350524160992283
320.5959031030195030.8081937939609950.404096896980497
330.5514912161076960.8970175677846080.448508783892304
340.5640016989636910.8719966020726170.435998301036309
350.5301332602913880.9397334794172240.469866739708612
360.466669924247610.933339848495220.53333007575239
370.400340504568560.800681009137120.59965949543144
380.3452547587163070.6905095174326150.654745241283693
390.3090268866402700.6180537732805410.69097311335973
400.2768644387645690.5537288775291380.723135561235431
410.2328911469229640.4657822938459270.767108853077036
420.1906449682915700.3812899365831400.80935503170843
430.1564515716451270.3129031432902540.843548428354873
440.1505337671837030.3010675343674070.849466232816297
450.1443631713358600.2887263426717210.85563682866414
460.1455062185806270.2910124371612540.854493781419373
470.1456801113316810.2913602226633610.85431988866832
480.1673435365785480.3346870731570960.832656463421452
490.1640317007892080.3280634015784170.835968299210792
500.1341169100460790.2682338200921570.865883089953921
510.1156014913353280.2312029826706570.884398508664672
520.1080371411445020.2160742822890040.891962858855498
530.1336760441452680.2673520882905360.866323955854732
540.1274205737475800.2548411474951610.87257942625242
550.08956213609535770.1791242721907150.910437863904642
560.0782257732778140.1564515465556280.921774226722186
570.2552956230953810.5105912461907610.744704376904619
580.2431714556685760.4863429113371520.756828544331424
590.4652094806590110.9304189613180220.534790519340989
600.85410652030910.2917869593818010.145893479690900
610.8707044709852660.2585910580294680.129295529014734
620.8149304154125020.3701391691749960.185069584587498
630.754355202538410.491289594923180.24564479746159
640.6317361804063990.7365276391872010.368263819593601
650.5325965936313820.9348068127372360.467403406368618
660.6405273033427840.7189453933144320.359472696657216


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level10.0163934426229508OK
10% type I error level20.0327868852459016OK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258557778013k385phxinnx1/101kq51258557485.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258557778013k385phxinnx1/101kq51258557485.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/18/t1258557778013k385phxinnx1/1oew61258557485.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258557778013k385phxinnx1/1oew61258557485.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/18/t1258557778013k385phxinnx1/2dxlz1258557485.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258557778013k385phxinnx1/2dxlz1258557485.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/18/t1258557778013k385phxinnx1/32jnq1258557485.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258557778013k385phxinnx1/32jnq1258557485.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/18/t1258557778013k385phxinnx1/4tngt1258557485.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258557778013k385phxinnx1/4tngt1258557485.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/18/t1258557778013k385phxinnx1/5xnb31258557485.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258557778013k385phxinnx1/5xnb31258557485.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/18/t1258557778013k385phxinnx1/6vwp81258557485.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258557778013k385phxinnx1/6vwp81258557485.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/18/t1258557778013k385phxinnx1/73i2z1258557485.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258557778013k385phxinnx1/73i2z1258557485.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/18/t1258557778013k385phxinnx1/8iwuo1258557485.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258557778013k385phxinnx1/8iwuo1258557485.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/18/t1258557778013k385phxinnx1/9h0gl1258557485.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258557778013k385phxinnx1/9h0gl1258557485.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