Home » date » 2009 » Nov » 23 »

*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, 23 Nov 2009 07:38:52 -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/23/t1258987601mrxhs1o41bmukft.htm/, Retrieved Mon, 23 Nov 2009 15:46:54 +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/23/t1258987601mrxhs1o41bmukft.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:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
6.5 501 6.7 6.7 6.9 7.0 6.4 507 6.5 6.7 6.7 6.9 6.5 569 6.4 6.5 6.7 6.7 6.5 580 6.5 6.4 6.5 6.7 6.5 578 6.5 6.5 6.4 6.5 6.7 565 6.5 6.5 6.5 6.4 6.8 547 6.7 6.5 6.5 6.5 7.2 555 6.8 6.7 6.5 6.5 7.6 562 7.2 6.8 6.7 6.5 7.6 561 7.6 7.2 6.8 6.7 7.2 555 7.6 7.6 7.2 6.8 6.4 544 7.2 7.6 7.6 7.2 6.1 537 6.4 7.2 7.6 7.6 6.3 543 6.1 6.4 7.2 7.6 7.1 594 6.3 6.1 6.4 7.2 7.5 611 7.1 6.3 6.1 6.4 7.4 613 7.5 7.1 6.3 6.1 7.1 611 7.4 7.5 7.1 6.3 6.8 594 7.1 7.4 7.5 7.1 6.9 595 6.8 7.1 7.4 7.5 7.2 591 6.9 6.8 7.1 7.4 7.4 589 7.2 6.9 6.8 7.1 7.3 584 7.4 7.2 6.9 6.8 6.9 573 7.3 7.4 7.2 6.9 6.9 567 6.9 7.3 7.4 7.2 6.8 569 6.9 6.9 7.3 7.4 7.1 621 6.8 6.9 6.9 7.3 7.2 629 7.1 6.8 6.9 6.9 7.1 628 7.2 7.1 6.8 6.9 7.0 612 7.1 7.2 7.1 6.8 6.9 595 7.0 7.1 7.2 7.1 7.1 597 6.9 7.0 7.1 7.2 7.3 593 7.1 6.9 7.0 7.1 7.5 590 7.3 7.1 6.9 7.0 7.5 580 7.5 7.3 7.1 6.9 7.5 574 7.5 7.5 7.3 7.1 7.3 573 7.5 7.5 7.5 7.3 7.0 573 7.3 7.5 7.5 7.5 6.7 620 7.0 7.3 7.5 7.5 6.5 626 6.7 7.0 7.3 7.5 6.5 620 6.5 6.7 7.0 7.3 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
wkgo[t] = + 0.611568123924592 + 0.00675489918161896werkl[t] + 1.12474072934668Y1[t] -0.594296879745087Y2[t] -0.239259215469524Y3[t] + 0.0912719771670837Y4[t] + 0.0368974823988274M1[t] + 0.00252819351432243M2[t] -0.176381285134097M3[t] -0.566367872612399M4[t] -0.51709672722601M5[t] -0.260759394182951M6[t] -0.209771369325065M7[t] + 0.00660363244903975M8[t] -0.0258802322194126M9[t] -0.0749365444845493M10[t] -0.0486698370192032M11[t] -0.003230062272187t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)0.6115681239245920.3521341.73670.0885890.044295
werkl0.006754899181618960.0014714.59083e-051.5e-05
Y11.124740729346680.1348758.339200
Y2-0.5942968797450870.207644-2.86210.0061310.003066
Y3-0.2392592154695240.20774-1.15170.2549130.127456
Y40.09127197716708370.1240340.73590.4652520.232626
M10.03689748239882740.0844480.43690.6640470.332024
M20.002528193514322430.0871980.0290.9769850.488493
M3-0.1763812851340970.12184-1.44760.1539580.076979
M4-0.5663678726123990.13089-4.32717.2e-053.6e-05
M5-0.517096727226010.134149-3.85460.0003320.000166
M6-0.2607593941829510.119739-2.17770.0341710.017086
M7-0.2097713693250650.097609-2.14910.0364920.018246
M80.006603632449039750.1025930.06440.9489350.474467
M9-0.02588023221941260.102453-0.25260.8016080.400804
M10-0.07493654448454930.094754-0.79090.4327650.216382
M11-0.04866983701920320.085601-0.56860.5721980.286099
t-0.0032300622721870.001117-2.89240.0056480.002824


Multiple Linear Regression - Regression Statistics
Multiple R0.980936126345125
R-squared0.962235683968979
Adjusted R-squared0.949395816518431
F-TEST (value)74.9412474603048
F-TEST (DF numerator)17
F-TEST (DF denominator)50
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.130328008145194
Sum Squared Residuals0.849269485354691


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
16.56.57142907980288-0.0714290798028816
26.46.388135623243780.0118643767562195
36.56.61293073916448-0.112930739164481
46.56.51377358441488-0.0137735844148818
56.56.492546707304870.00745329269512729
66.76.624787169451040.0752128305489624
76.86.785032290353640.0149677096463594
87.27.045831120294160.154168879705840
97.67.400016248295110.199983751704885
107.67.547480988303270.0525190116967248
117.27.20569299803758-0.00569299803758433
126.46.66773769472714-0.267737694727143
136.16.028555779869970.0714442201300285
146.36.265204794982870.0347952050171339
157.16.985700903626480.114299096373524
167.57.487010930399030.0129890696009710
177.47.44578716357504-0.045787163575043
187.17.16203883420777-0.062038834207772
196.86.794284875422310.00571512457769177
206.96.91548627163915-0.0154862716391519
217.27.20616645175438-0.00616645175438092
227.47.46275898117405-0.0627589811740473
237.37.44737269770784-0.147372697707845
246.97.12452456564922-0.224524565649217
256.96.70672573697820.1932742630218
266.86.96253525306315-0.162535253063151
277.17.10575288512316-0.00575288512316178
287.27.12691854473730.073081455262695
297.17.12431565922798-0.0243156592279838
3077.01653581982621-0.0165358198262085
316.96.89987178296740.000128217032601591
327.17.10653525513606-0.00653525513605626
337.37.34297828914303-0.0429782891430294
347.57.391314710811410.108685289188587
357.57.395912093298090.104087906701911
367.57.252365649345890.247634350654114
377.37.249680722630420.0503192773695807
3877.0053876210378-0.0053876210378067
396.76.9221654987983-0.222165498798303
406.56.458196932350950.0418030676490457
416.56.470572907637070.0294270923629282
426.56.67077895203589-0.170778952035887
436.66.590399382569750.00960061743025129
446.86.83696990693835-0.0369699069383472
456.96.99379403461901-0.0937940346190116
466.96.830137645340960.0698623546590403
476.86.64018667109490.159813328905108
486.86.526951451703990.273048548296011
496.56.52785226979756-0.0278522697975629
506.16.095697831204390.00430216879560911
516.16.011098218922590.0889017810774102
525.95.99492707752718-0.094927077527182
535.75.7289794266325-0.0289794266324966
545.95.738165648891930.161834351108070
555.96.06274969030237-0.162749690302366
566.16.21365229824223-0.113652298242231
576.36.35704497618846-0.0570449761884631
586.26.3683076743703-0.168307674370305
595.96.01083553986159-0.110835539861590
605.75.72842063857376-0.0284206385737645
615.45.61575641092097-0.215756410920965
625.65.4830388764680.116961123531995
636.26.062351754364990.137648245635012
646.36.31917293057065-0.0191729305706478
6565.937798135622530.062201864377468
665.65.587693575587170.0123064244128348
675.55.367661978384540.132338021615462
685.95.881525147750050.0184748522499469


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
210.0708965659494970.1417931318989940.929103434050503
220.2921696642222650.5843393284445310.707830335777735
230.4092435898533370.8184871797066740.590756410146663
240.3943720568322440.7887441136644890.605627943167756
250.4996858490807910.9993716981615820.500314150919209
260.4898074974963490.9796149949926980.510192502503651
270.3856018767315860.7712037534631720.614398123268414
280.3321746422676920.6643492845353830.667825357732308
290.2412270592549660.4824541185099320.758772940745034
300.1730855226859680.3461710453719370.826914477314032
310.1184079342968640.2368158685937280.881592065703136
320.08599977731131170.1719995546226230.914000222688688
330.07304980296162520.1460996059232500.926950197038375
340.06366593440013660.1273318688002730.936334065599863
350.06131662610492860.1226332522098570.938683373895071
360.2471328787290670.4942657574581350.752867121270933
370.2024215980179890.4048431960359780.797578401982011
380.1453031519313290.2906063038626580.854696848068671
390.3446183487457160.6892366974914330.655381651254284
400.2530444460947980.5060888921895960.746955553905202
410.1894235993012850.378847198602570.810576400698715
420.5189831105634050.962033778873190.481016889436595
430.5407661529612480.9184676940775030.459233847038752
440.4558514588800420.9117029177600850.544148541119958
450.8403498880101170.3193002239797650.159650111989883
460.737750514624010.524498970751980.26224948537599
470.6798812610400320.6402374779199360.320118738959968


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


http://www.freestatistics.org/blog/date/2009/Nov/23/t1258987601mrxhs1o41bmukft/1urrj1258987127.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/23/t1258987601mrxhs1o41bmukft/1urrj1258987127.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/23/t1258987601mrxhs1o41bmukft/26r601258987127.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/23/t1258987601mrxhs1o41bmukft/26r601258987127.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/23/t1258987601mrxhs1o41bmukft/3f8yp1258987127.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/23/t1258987601mrxhs1o41bmukft/3f8yp1258987127.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/23/t1258987601mrxhs1o41bmukft/489s51258987127.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/23/t1258987601mrxhs1o41bmukft/489s51258987127.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/23/t1258987601mrxhs1o41bmukft/5k55q1258987127.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/23/t1258987601mrxhs1o41bmukft/5k55q1258987127.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/23/t1258987601mrxhs1o41bmukft/616zp1258987127.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/23/t1258987601mrxhs1o41bmukft/616zp1258987127.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/23/t1258987601mrxhs1o41bmukft/75z2g1258987127.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/23/t1258987601mrxhs1o41bmukft/75z2g1258987127.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/23/t1258987601mrxhs1o41bmukft/817o81258987127.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/23/t1258987601mrxhs1o41bmukft/817o81258987127.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/23/t1258987601mrxhs1o41bmukft/90zzt1258987127.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/23/t1258987601mrxhs1o41bmukft/90zzt1258987127.ps (open in new window)


 
Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
 
Parameters (R input):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = 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