Home » date » 2010 » Dec » 01 »

*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, 01 Dec 2010 15:35:58 +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/01/t1291217653oawqb3k2mfg9mdq.htm/, Retrieved Wed, 01 Dec 2010 16:34:23 +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/01/t1291217653oawqb3k2mfg9mdq.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 «
8587 9743 9084 9081 9700 9731 8587 9743 9084 9081 9563 9731 8587 9743 9084 9998 9563 9731 8587 9743 9437 9998 9563 9731 8587 10038 9437 9998 9563 9731 9918 10038 9437 9998 9563 9252 9918 10038 9437 9998 9737 9252 9918 10038 9437 9035 9737 9252 9918 10038 9133 9035 9737 9252 9918 9487 9133 9035 9737 9252 8700 9487 9133 9035 9737 9627 8700 9487 9133 9035 8947 9627 8700 9487 9133 9283 8947 9627 8700 9487 8829 9283 8947 9627 8700 9947 8829 9283 8947 9627 9628 9947 8829 9283 8947 9318 9628 9947 8829 9283 9605 9318 9628 9947 8829 8640 9605 9318 9628 9947 9214 8640 9605 9318 9628 9567 9214 8640 9605 9318 8547 9567 9214 8640 9605 9185 8547 9567 9214 8640 9470 9185 8547 9567 9214 9123 9470 9185 8547 9567 9278 9123 9470 9185 8547 10170 9278 9123 9470 9185 9434 10170 9278 9123 9470 9655 9434 10170 9278 9123 9429 9655 9434 10170 9278 8739 9429 9655 9434 10170 9552 8739 9429 9655 9434 9687 9552 8739 9429 9655 9019 9687 9552 8739 9429 9672 9019 9687 9552 8739 9206 9672 9019 9687 9552 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 time8 seconds
R Server'George Udny Yule' @ 72.249.76.132


Multiple Linear Regression - Estimated Regression Equation
Births[t] = + 3513.15322119259 + 1.81853714940414e-07`Y-1`[t] + 0.375914107327586`Y-2`[t] + 0.238512132682298`Y-3`[t] + 0.0192032651388202`Y-4`[t] -455.243573208415M1[t] -340.490770887514M2[t] -1.15456343944968M3[t] -131.707497084488M4[t] -175.963277570170M5[t] + 308.85928331459M6[t] + 125.997921695407M7[t] -124.082645567172M8[t] -162.455132647671M9[t] -554.306360664536M10[t] -649.343791013937M11[t] + 5.95960793016406t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)3513.153221192591973.9158591.77980.0807380.040369
`Y-1`1.81853714940414e-0700.45290.6524540.326227
`Y-2`0.3759141073275860.130562.87920.0057030.002851
`Y-3`0.2385121326822980.1305481.8270.0732280.036614
`Y-4`0.01920326513882020.1132520.16960.8659880.432994
M1-455.243573208415238.441023-1.90930.0615490.030775
M2-340.490770887514234.199356-1.45390.1517750.075888
M3-1.15456343944968221.399277-0.00520.9958580.497929
M4-131.707497084488239.726328-0.54940.5849910.292495
M5-175.963277570170227.913236-0.77210.4434430.221722
M6308.85928331459230.0774651.34240.1850780.092539
M7125.997921695407227.7739260.55320.5824290.291215
M8-124.082645567172255.842326-0.4850.6296410.31482
M9-162.455132647671238.882886-0.68010.4993710.249685
M10-554.306360664536241.348727-2.29670.0255410.01277
M11-649.343791013937233.390116-2.78220.0074220.003711
t5.959607930164063.1143151.91360.0609760.030488


Multiple Linear Regression - Regression Statistics
Multiple R0.783419237471422
R-squared0.613745701640305
Adjusted R-squared0.499299983607802
F-TEST (value)5.36276683996165
F-TEST (DF numerator)16
F-TEST (DF denominator)54
p-value1.45945058027674e-06
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation360.796934403332
Sum Squared Residuals7029419.10524147


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
185878830.87512741333-243.875127413334
297319188.14343944753542.856560552469
395639256.11986002877306.88013997123
499989298.50716889098699.492831109024
594379447.71641069886-10.7164106988626
61003810083.9196112095-45.9196112095373
799189796.6567817773121.343218222697
892529653.00829302694-401.008293026938
997379708.058359881928.9416401180976
1090359054.72773894064-19.7277389406363
1191338986.8146587309146.185341269097
1294879481.115381921165.88461807883782
1387008910.54912998658-210.549129986584
1496279174.22848798815452.771512011846
1589479309.9952844311-362.995284431105
1692839352.96311998655-69.9631199865498
1788299265.03319288336-436.03319288336
1899479737.7355957585209.264404241509
1996289457.25089694206170.749103057944
2093189531.56964043943-213.569640439427
2196059637.17838664272-32.1783866427248
2286409080.13732557604-440.137325576037
2392149018.88207376019195.117926239815
2495679373.92843340398193.071566596016
2585478915.76635898255-368.766358982553
2691859287.55107693014-102.551076930144
2794709344.63207588344125.367924116561
2891239223.36837972993-100.368379729933
2992789424.79107486925-146.791074869247
30101709865.35871760185304.641282398153
3194349669.43303328592-235.433033285924
3296559790.93317140797-135.933171407967
3394299697.57687790333-268.576877903327
3487399236.34661728674-497.346617286739
3595529100.88965931302451.110340686979
3696879447.15265165764239.847348342362
3790199134.5735707148-115.573570714807
3896729486.69437490174185.305625098264
3992069628.69107780558-422.691077805584
4090699592.83591559376-523.835915593758
4197889522.28438563844265.715614361565
42103129862.959530808449.040469192
43101059914.7152318467190.284768153303
4498639862.998920774040.00107922596195564
45986310008.3596619558-145.359661955810
4696569682.1354607746-26.1354607745962
4792959448.00957531412-153.009575314117
4899469955.25822341259-9.25822341259005
4997019342.808297834358.191702165993
5090499612.84348717567-563.843487175672
511019010022.4446187094167.555381290614
5297069596.77804794262109.221952057380
5397659833.82940310084-68.8294031008421
54989310423.2417314850-530.241731485028
55999410146.1658857374-152.165885737405
56104339964.98309367881468.016906321184
57100739984.8212098782488.1787901217598
58101129798.68415172883313.315848271169
5992669684.30338845494-418.303388454939
60982010249.5453096046-429.545309604625
61100979516.42751506872580.572484931285
6291159629.53913355676-514.539133556763
631041110225.1170831417185.882916858284
6496789792.54736785616-114.547367856164
651040810011.3455328093396.654467190746
661015310539.7848131371-386.784813137097
671036810462.7781704106-94.7781704106148
681058110298.5068806728282.493119327186
691059710268.005503738328.994496262004
701068010009.9687056932670.03129430684
7197389959.10064442684-221.100644426835


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
200.5164043622813810.9671912754372380.483595637718619
210.3485180621931770.6970361243863550.651481937806823
220.2465224630150290.4930449260300570.753477536984971
230.2541619054573670.5083238109147350.745838094542633
240.1956530388407790.3913060776815590.80434696115922
250.1460174413329070.2920348826658140.853982558667093
260.1154240676435500.2308481352870990.88457593235645
270.1902916401004420.3805832802008840.809708359899558
280.1579972886287360.3159945772574730.842002711371264
290.1228334558360400.2456669116720790.87716654416396
300.1869859311744290.3739718623488590.81301406882557
310.1420600022644490.2841200045288990.85793999773555
320.1336970843646490.2673941687292980.866302915635351
330.09187512291259840.1837502458251970.908124877087402
340.1291759925077540.2583519850155090.870824007492246
350.1835618316108210.3671236632216420.81643816838918
360.1868015897444210.3736031794888410.81319841025558
370.2455315026371440.4910630052742880.754468497362856
380.5598188861584550.8803622276830910.440181113841545
390.8929382108212390.2141235783575230.107061789178761
400.8993114978277860.2013770043444290.100688502172214
410.9463300068811840.1073399862376310.0536699931188156
420.9418879144435470.1162241711129060.0581120855564532
430.9247947911087860.1504104177824270.0752052088912137
440.8843397284801720.2313205430396550.115660271519828
450.8194372940036030.3611254119927950.180562705996397
460.8028169936432110.3943660127135770.197183006356789
470.7688044119445240.4623911761109520.231195588055476
480.8855730404605960.2288539190788080.114426959539404
490.8408175970728490.3183648058543030.159182402927151
500.8045282045373750.3909435909252510.195471795462625
510.7383777509053510.5232444981892980.261622249094649


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/2010/Dec/01/t1291217653oawqb3k2mfg9mdq/10dkwz1291217747.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/01/t1291217653oawqb3k2mfg9mdq/10dkwz1291217747.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/01/t1291217653oawqb3k2mfg9mdq/1yagq1291217747.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/01/t1291217653oawqb3k2mfg9mdq/1yagq1291217747.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/01/t1291217653oawqb3k2mfg9mdq/2yagq1291217747.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/01/t1291217653oawqb3k2mfg9mdq/2yagq1291217747.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/01/t1291217653oawqb3k2mfg9mdq/3yagq1291217747.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/01/t1291217653oawqb3k2mfg9mdq/3yagq1291217747.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/01/t1291217653oawqb3k2mfg9mdq/49jfb1291217747.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/01/t1291217653oawqb3k2mfg9mdq/49jfb1291217747.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/01/t1291217653oawqb3k2mfg9mdq/59jfb1291217747.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/01/t1291217653oawqb3k2mfg9mdq/59jfb1291217747.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/01/t1291217653oawqb3k2mfg9mdq/69jfb1291217747.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/01/t1291217653oawqb3k2mfg9mdq/69jfb1291217747.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/01/t1291217653oawqb3k2mfg9mdq/7ksfe1291217747.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/01/t1291217653oawqb3k2mfg9mdq/7ksfe1291217747.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/01/t1291217653oawqb3k2mfg9mdq/8ksfe1291217747.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/01/t1291217653oawqb3k2mfg9mdq/8ksfe1291217747.ps (open in new window)


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