Home » date » 2009 » Nov » 17 »

*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: Tue, 17 Nov 2009 10:00:20 -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/17/t1258477257i4iseb14jpb6n4z.htm/, Retrieved Tue, 17 Nov 2009 18:01:12 +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/17/t1258477257i4iseb14jpb6n4z.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 «
19435,1 2,01 20604,6 20604,6 20604,6 22686,8 2,01 19435,1 18714,9 18714,9 20396,7 2,01 22686,8 19435,1 18492,6 19233,6 2,01 20396,7 22686,8 19435,1 22751 2,01 19233,6 20396,7 22686,8 19864 2,01 22751 19233,6 20396,7 17165,4 2,02 19864 22751 19233,6 22309,7 2,02 17165,4 19864 22751 21786,3 2,03 22309,7 17165,4 19864 21927,6 2,05 21786,3 22309,7 17165,4 20957,9 2,08 21927,6 21786,3 22309,7 19726 2,07 20957,9 21927,6 21786,3 21315,7 2,06 19726 20957,9 21927,6 24771,5 2,05 21315,7 19726 20957,9 22592,4 2,05 24771,5 21315,7 19726 21942,1 2,05 22592,4 24771,5 21315,7 23973,7 2,05 21942,1 22592,4 24771,5 20815,7 2,05 23973,7 21942,1 22592,4 19931,4 2,06 20815,7 23973,7 21942,1 24436,8 2,06 19931,4 20815,7 23973,7 22838,7 2,07 24436,8 19931,4 20815,7 24465,3 2,07 22838,7 24436,8 19931,4 23007,3 2,3 24465,3 22838,7 24436,8 22720,8 2,31 23007,3 24465,3 22838,7 23045,7 2,31 22720,8 23007,3 24465,3 27198,5 2,53 23045,7 22720,8 23007,3 22401,9 2,58 27198,5 23045,7 22720,8 25122,7 2,59 22401,9 27 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
Y[t] = + 9374.57467049922 + 1224.00784219445X[t] + 0.0977062231002342Y1[t] + 0.115952759659355Y2[t] + 0.182520307490899Y3[t] + 724.35433075174M1[t] + 3884.92719146509M2[t] + 1126.73655843838M3[t] + 815.94703196878M4[t] + 2970.75504633567M5[t] + 924.990992066053M6[t] -1503.43996923854M7[t] + 2712.33484127727M8[t] + 2530.80527012911M9[t] + 2003.66072271356M10[t] -1276.19185810045M11[t] + 10.7061192035070t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)9374.574670499224382.6376922.1390.0373410.01867
X1224.00784219445508.1315032.40880.0197290.009865
Y10.09770622310023420.1551020.62990.5315980.265799
Y20.1159527596593550.148310.78180.4380030.219001
Y30.1825203074908990.1524851.1970.2369610.118481
M1724.35433075174885.5241560.8180.4172410.208621
M23884.927191465091009.6605853.84780.0003390.000169
M31126.736558438381123.544221.00280.3207660.160383
M4815.94703196878929.4637140.87790.3842140.192107
M52970.75504633567841.0758873.53210.0008970.000449
M6924.9909920660531055.7927170.87610.385160.19258
M7-1503.43996923854910.49508-1.65120.1049590.052479
M82712.33484127727880.5964493.08010.0033590.001679
M92530.805270129111204.3316152.10140.0406650.020333
M102003.660722713561199.4338411.67050.1010690.050534
M11-1276.19185810045916.869508-1.39190.1701130.085057
t10.706119203507013.8910990.77070.4445010.22225


Multiple Linear Regression - Regression Statistics
Multiple R0.925534667128993
R-squared0.856614420057577
Adjusted R-squared0.810731034476001
F-TEST (value)18.6693812847488
F-TEST (DF numerator)16
F-TEST (DF denominator)50
p-value9.9920072216264e-16
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1304.49441924886
Sum Squared Residuals85085284.4925715


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
119435.120733.0066871605-1297.90668716053
222686.823225.9936841678-539.193684167838
320396.720839.1554091511-442.455409151094
419233.620864.3839587577-1630.78395875766
52275123244.2138532124-493.213853212446
61986420999.9733763344-1135.97337633439
717165.418507.9736137480-1342.57361374802
822309.722778.0258422410-468.325842240976
921786.322282.2263472698-495.926347269849
1021927.621843.075118451784.5248815482946
1120957.919502.70432485081455.19567514917
121972620603.4694951917-877.469495191672
1321315.721119.2762988946196.423701105413
1424771.524113.8066364537657.693363546343
1522592.421663.4586236527928.941376347327
1621942.121841.3256652779100.774334722052
1723973.724321.3824620196-347.682462019612
1820815.722011.6904081440-1195.99040814404
1919931.419414.5260624770516.873937523033
2024436.823559.234820803877.565179196982
2122838.723161.9209084131-323.220908413080
2224465.322850.34902051961614.95097948040
2323007.320658.67619326662348.62380673344
2422720.821712.2816311731008.51836882699
2523045.722547.1776567914498.522343208602
2627198.525720.14803991221478.35196008783
2722401.923424.9993050065-1023.09930500651
2825122.723209.32777465701913.37222534305
2926100.526013.833423911886.6665760881643
3022904.923624.4807011610-719.580701160957
3122040.421724.8271251319315.572874868083
3225981.525723.731056566257.768943433971
3326157.125487.0360351552670.063964844769
3425975.425397.1081407847578.29185921532
3522589.823057.9818800585-468.181880058498
3625370.424122.98824537521247.41175462485
3725091.124691.7569378872399.343062112842
3828760.927736.06531491081024.83468508915
3924325.925944.6742440767-1618.77424407666
4025821.725585.8092528767235.890747123276
4127645.728248.8761450524-603.176145052429
4226296.925853.9195624730442.980437526976
4324141.523813.4004330618328.09956693822
4427268.128140.4461907871-872.346190787106
4529060.327742.28281180831318.01718819168
4628226.427382.3271826435844.072817356496
4723268.524859.1423445400-1590.64234454005
4826938.225892.04252714061046.1574728594
4927217.526209.60931878721007.89068121278
5027540.528953.2522132727-1412.75221327267
5129167.627012.94765821472154.65234178528
5226671.526960.2727098072-288.772709807198
533018429068.32274234871115.67725765132
5428422.327543.1280443401879.171955659858
5523774.325002.8899051544-1228.58990515438
562960129395.6620896029205.337910397129
5728523.629692.5338973535-1168.93389735352
582362226743.8405376005-3121.84053760050
5921320.323065.2952572841-1744.99525728407
6020423.622848.2181011196-2424.61810111956
6121174.921979.1731004791-804.273100479103
6223050.224259.1341112828-1208.93411128282
6321202.921202.16475989830.735240101653204
6420476.420806.8806386235-330.480638623518
6523173.322931.571373455241.728626545
662246820738.60790754741729.39209245255
6719842.718432.08286042691410.61713957306


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
200.08160564986103190.1632112997220640.918394350138968
210.02996176134267730.05992352268535460.970038238657323
220.01134985811411850.02269971622823700.988650141885882
230.007229063103817570.01445812620763510.992770936896182
240.01122821670040810.02245643340081610.988771783299592
250.007652746274358960.01530549254871790.99234725372564
260.003691580596699010.007383161193398020.9963084194033
270.02020677710173780.04041355420347560.979793222898262
280.02133751901517600.04267503803035190.978662480984824
290.01191097418620050.02382194837240110.9880890258138
300.01128848770947650.02257697541895290.988711512290524
310.006217302371210230.01243460474242050.99378269762879
320.002893062043017920.005786124086035840.997106937956982
330.001511501932229670.003023003864459340.99848849806777
340.0006533759295736660.001306751859147330.999346624070426
350.003592707496510430.007185414993020850.99640729250349
360.002092699072921520.004185398145843040.997907300927078
370.0009180905257131330.001836181051426270.999081909474287
380.0007463948495886020.001492789699177200.999253605150411
390.001289292588635160.002578585177270310.998710707411365
400.0005826278730341160.001165255746068230.999417372126966
410.0005595974355520290.001119194871104060.999440402564448
420.001499526422867080.002999052845734160.998500473577133
430.005434353977198580.01086870795439720.994565646022801
440.02415377366516230.04830754733032450.975846226334838
450.1363072004075080.2726144008150160.863692799592492
460.1023433993084950.2046867986169900.897656600691505
470.1183131662947880.2366263325895770.881686833705212


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level120.428571428571429NOK
5% type I error level230.821428571428571NOK
10% type I error level240.857142857142857NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/17/t1258477257i4iseb14jpb6n4z/10u6141258477215.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/17/t1258477257i4iseb14jpb6n4z/10u6141258477215.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/17/t1258477257i4iseb14jpb6n4z/1ty3q1258477215.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/17/t1258477257i4iseb14jpb6n4z/1ty3q1258477215.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/17/t1258477257i4iseb14jpb6n4z/2sf9t1258477215.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/17/t1258477257i4iseb14jpb6n4z/2sf9t1258477215.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/17/t1258477257i4iseb14jpb6n4z/39qno1258477215.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/17/t1258477257i4iseb14jpb6n4z/39qno1258477215.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/17/t1258477257i4iseb14jpb6n4z/4c5mh1258477215.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/17/t1258477257i4iseb14jpb6n4z/4c5mh1258477215.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/17/t1258477257i4iseb14jpb6n4z/5n9r41258477215.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/17/t1258477257i4iseb14jpb6n4z/5n9r41258477215.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/17/t1258477257i4iseb14jpb6n4z/6v3f11258477215.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/17/t1258477257i4iseb14jpb6n4z/6v3f11258477215.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/17/t1258477257i4iseb14jpb6n4z/7epo61258477215.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/17/t1258477257i4iseb14jpb6n4z/7epo61258477215.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/17/t1258477257i4iseb14jpb6n4z/84dn41258477215.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/17/t1258477257i4iseb14jpb6n4z/84dn41258477215.ps (open in new window)


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