Home » date » 2009 » Dec » 14 »

Multiple Linear regression geg. 2000-2006 paper

*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, 14 Dec 2009 01:31:37 -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/Dec/14/t1260779624ocwjkkeighmha5i.htm/, Retrieved Mon, 14 Dec 2009 09:33:58 +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/Dec/14/t1260779624ocwjkkeighmha5i.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:
KVN Paper
 
Dataseries X:
» Textbox « » Textfile « » CSV «
9084 2359 9081 9700 9743 1511 9084 9081 8587 2059 9743 9084 9731 2635 8587 9743 9563 2867 9731 8587 9998 4403 9563 9731 9437 5720 9998 9563 10038 4502 9437 9998 9918 5749 10038 9437 9252 5627 9918 10038 9737 2846 9252 9918 9035 1762 9737 9252 9133 2429 9035 9737 9487 1169 9133 9035 8700 2154 9487 9133 9627 2249 8700 9487 8947 2687 9627 8700 9283 4359 8947 9627 8829 5382 9283 8947 9947 4459 8829 9283 9628 6398 9947 8829 9318 4596 9628 9947 9605 3024 9318 9628 8640 1887 9605 9318 9214 2070 8640 9605 9567 1351 9214 8640 8547 2218 9567 9214 9185 2461 8547 9567 9470 3028 9185 8547 9123 4784 9470 9185 9278 4975 9123 9470 10170 4607 9278 9123 9434 6249 10170 9278 9655 4809 9434 10170 9429 3157 9655 9434 8739 1910 9429 9655 9552 2228 8739 9429 9687 1594 9552 8739 9019 2467 9687 9552 9672 2222 9019 9687 9206 3607 9672 9019 9069 4685 9206 9672 9788 4962 9069 9206 10312 5770 9788 9069 10105 5480 10312 9788 9863 5000 10105 10312 9656 3228 9863 10105 9295 1993 9656 9863 9946 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 time6 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 4215.22359236330 -0.225551356454443X[t] + 0.328747554667996Y1[t] + 0.183946674471251Y2[t] + 717.925229804359M1[t] + 838.954319301792M2[t] -50.7580537332954M3[t] + 1197.13385489368M4[t] + 848.82920315644M5[t] + 1277.17345157679M6[t] + 1384.61060680203M7[t] + 1906.50481501236M8[t] + 1765.90738652060M9[t] + 1331.15369169222M10[t] + 999.839490864513M11[t] + 6.88760173108588t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)4215.223592363301369.6762793.07750.0032060.001603
X-0.2255513564544430.122016-1.84850.0697130.034857
Y10.3287475546679960.1429472.29980.0251430.012572
Y20.1839466744712510.1309241.4050.1654510.082726
M1717.925229804359204.2622833.51470.000870.000435
M2838.954319301792184.0122594.55922.8e-051.4e-05
M3-50.7580537332954160.75109-0.31580.7533410.376671
M41197.13385489368231.8423915.16363e-062e-06
M5848.82920315644229.2513863.70260.0004830.000242
M61277.17345157679393.4339453.24620.0019610.00098
M71384.61060680203441.7925233.13410.0027230.001362
M81906.50481501236436.1657094.37115.3e-052.7e-05
M91765.90738652060484.9221543.64160.0005860.000293
M101331.15369169222442.2637113.00990.0038890.001944
M11999.839490864513220.4818634.53483e-051.5e-05
t6.887601731085882.2512293.05950.0033760.001688


Multiple Linear Regression - Regression Statistics
Multiple R0.881864393159956
R-squared0.777684807923378
Adjusted R-squared0.719180810008477
F-TEST (value)13.2928489614435
F-TEST (DF numerator)15
F-TEST (DF denominator)57
p-value1.71862524211974e-13
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation268.188963309364
Sum Squared Residuals4099743.24233424


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
190849177.60006033392-93.6000603339168
297439383.9075530021359.092446997891
385878594.6771169107-7.67711691069607
497319460.72773123135270.272268768654
595639230.42761337919332.572386620813
699989474.41798642748523.582013572517
794379403.7937519027233.2062480972807
81003810102.8865392319-64.8865392318943
999189782.29736694962135.702633050379
1092529453.05078413684-201.050784136838
1197379514.86303499458222.136965005417
1290358803.34289507389231.657104926107
1391339236.14632559585-103.146325595852
1494879551.34442083561-64.3444208356138
1587008580.75497187464119.245028125362
1696279620.499900608636.50009939136454
1789479340.2743068438-393.274306843796
1892839345.35451906401-62.3545190640126
1988299214.31567809545-385.315678095445
2099479863.8360828473883.16391715262
2196289576.810151830451.189848169589
2293189656.1695151838-338.169515183797
2396059525.7189173301579.2810826698524
2486408826.54599958905-186.545999589049
2592149245.63423821196-31.6342382119631
2695679546.914910245920.0850897541010
2785478690.1703908402-143.170390840196
2891859619.75159190682-434.751591906821
2994709172.5622547085297.437745291494
3091239422.77695431897-299.776954318973
3192789432.37080294702-154.370802947019
321017010031.2818869957138.718113004317
3394349848.9712862437-414.971286243708
3496559668.02137983353-13.0213798335294
3594299653.47407877043-224.474078770429
3687398908.13999883887-169.139998838871
3795529292.81973787038259.180262129617
3896879704.08454565094-17.0845456509365
3990198818.28300638751200.716993612488
4096729933.5520336123-261.552033612307
4192069371.54212956816-165.542129568159
4290699530.55043541614-461.550435416143
4397889451.63990134147336.360098658525
441031210009.3450126714302.654987328573
451010510245.5664568734-140.566456873399
4698639954.3023284809-91.3023284809046
4796569911.91886317635-255.918863176347
4892959084.95706022584210.042939774162
4999469586.47741275653359.522587243473
50970110021.6943729595-320.694372959535
5190499058.30796556535-9.30796556534974
521019010035.4074751616154.592524838391
5397069631.3562920320774.643707967925
5497659877.37083802837-112.370838028368
5598939874.4701740541418.5298259458622
56999410244.8429037890-250.842903789047
571043310218.4052582280214.594741772046
581007310011.630205716861.3697942832411
591011210158.4509371938-46.4509371937567
6092669354.11600535835-88.1160053583477
6198209739.414713586980.585286413104
621009710074.054197305922.9458026940939
6391159274.8065484216-159.806548421608
641041110146.0612674793264.938732520718
6596789823.83740346828-145.837403468278
66104089995.52926674502412.470733254979
671015310001.4096916592151.590308340795
681036810576.8075744646-208.807574464568
691058110426.9494798749154.050520125094
701059710014.8257866482582.174213351828
711068010454.5741685347225.425831465263
7297389735.8980409142.10195908599910
73955610026.9075116445-470.907511644462


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
190.1725808489245570.3451616978491140.827419151075443
200.1258052582127360.2516105164254730.874194741787264
210.6326885839051550.734622832189690.367311416094845
220.6241440232179690.7517119535640620.375855976782031
230.5276197291389080.9447605417221850.472380270861092
240.4222001806549230.8444003613098450.577799819345077
250.5562180069760110.8875639860479770.443781993023989
260.474310809779720.948621619559440.52568919022028
270.3826290114707750.765258022941550.617370988529225
280.3762665203998600.7525330407997190.62373347960014
290.5570000855908740.8859998288182510.442999914409126
300.524948498977850.95010300204430.47505150102215
310.4637080065855910.9274160131711830.536291993414409
320.512495521093040.975008957813920.48750447890696
330.5029703584571740.9940592830856520.497029641542826
340.5271068908789980.9457862182420040.472893109121002
350.498038979939540.996077959879080.50196102006046
360.4327824168082450.865564833616490.567217583191755
370.5377042723581330.9245914552837340.462295727641867
380.4737951156790720.9475902313581450.526204884320928
390.516954954908790.966090090182420.48304504509121
400.4414370820832020.8828741641664030.558562917916798
410.3641423592009420.7282847184018840.635857640799058
420.6595837505521370.6808324988957260.340416249447863
430.6938881692094060.6122236615811880.306111830790594
440.702935245223190.5941295095536210.297064754776811
450.6182153056342270.7635693887315460.381784694365773
460.5358290727561510.9283418544876980.464170927243849
470.5708637355153010.8582725289693980.429136264484699
480.4929446084718730.9858892169437460.507055391528127
490.7494812520241910.5010374959516180.250518747975809
500.6561326594162550.687734681167490.343867340583745
510.5693173699004720.8613652601990550.430682630099528
520.4743878198174040.9487756396348080.525612180182596
530.6131619059425930.7736761881148130.386838094057407
540.4584836679350600.9169673358701210.54151633206494


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/Dec/14/t1260779624ocwjkkeighmha5i/10hgsp1260779491.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/14/t1260779624ocwjkkeighmha5i/10hgsp1260779491.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/14/t1260779624ocwjkkeighmha5i/1z5rt1260779491.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/14/t1260779624ocwjkkeighmha5i/1z5rt1260779491.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/14/t1260779624ocwjkkeighmha5i/2fdt11260779491.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/14/t1260779624ocwjkkeighmha5i/2fdt11260779491.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/14/t1260779624ocwjkkeighmha5i/3sn2y1260779491.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/14/t1260779624ocwjkkeighmha5i/3sn2y1260779491.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/14/t1260779624ocwjkkeighmha5i/4vml41260779491.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/14/t1260779624ocwjkkeighmha5i/4vml41260779491.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/14/t1260779624ocwjkkeighmha5i/5lp5k1260779491.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/14/t1260779624ocwjkkeighmha5i/5lp5k1260779491.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/14/t1260779624ocwjkkeighmha5i/6nvq41260779491.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/14/t1260779624ocwjkkeighmha5i/6nvq41260779491.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/14/t1260779624ocwjkkeighmha5i/7tb3l1260779491.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/14/t1260779624ocwjkkeighmha5i/7tb3l1260779491.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/14/t1260779624ocwjkkeighmha5i/8yxoy1260779491.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/14/t1260779624ocwjkkeighmha5i/8yxoy1260779491.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/14/t1260779624ocwjkkeighmha5i/9p1hj1260779491.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/14/t1260779624ocwjkkeighmha5i/9p1hj1260779491.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