Home » date » 2010 » Dec » 27 »

Multiple Regression

*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, 27 Dec 2010 13:12:45 +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/27/t1293456429cqzn2kg8n14ry4u.htm/, Retrieved Mon, 27 Dec 2010 14:27:21 +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/27/t1293456429cqzn2kg8n14ry4u.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 «
921365 0 987921 0 1132614 0 1332224 0 1418133 0 1411549 0 1695920 0 1636173 0 1539653 0 1395314 0 1127575 0 1036076 0 989236 0 1008380 0 1207763 0 1368839 0 1469798 0 1498721 0 1761769 0 1653214 0 1599104 0 1421179 0 1163995 0 1037735 0 1015407 0 1039210 0 1258049 0 1469445 0 1552346 0 1549144 0 1785895 0 1662335 0 1629440 0 1467430 0 1202209 0 1076982 0 1039367 0 1063449 0 1335135 0 1491602 0 1591972 0 1641248 0 1898849 0 1798580 0 1762444 0 1622044 0 1368955 0 1262973 0 1195650 0 1269530 0 1479279 0 1607819 0 1712466 0 1721766 0 1949843 1 1821326 1 1757802 1 1590367 1 1260647 1 1149235 1 1016367 1 1027885 1 1262159 1 1520854 1 1544144 1 1564709 1 1821776 1 1741365 1 1623386 1 1498658 1 1241822 1 1136029 1
 
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 time7 seconds
R Server'George Udny Yule' @ 72.249.76.132


Multiple Linear Regression - Estimated Regression Equation
passagiers[t] = + 1103434.48290598 + 39211.5512820513dummy[t] -80404.4081196572M1[t] -43907.2414529915M2[t] + 169196.758547008M3[t] + 355160.758547009M4[t] + 438173.425213676M5[t] + 454553.091880342M6[t] + 702503.666666667M7[t] + 602327.166666667M8[t] + 535466.5M9[t] + 382660.333333333M10[t] + 111028.833333333M11[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)1103434.4829059839892.2954827.660300
dummy39211.551282051326432.2024111.48350.1432710.071635
M1-80404.408119657255199.091154-1.45660.1505210.075261
M2-43907.241452991555199.091154-0.79540.429550.214775
M3169196.75854700855199.0911543.06520.0032780.001639
M4355160.75854700955199.0911546.434200
M5438173.42521367655199.0911547.938100
M6454553.09188034255199.0911548.234800
M7702503.66666666755023.01704912.767500
M8602327.16666666755023.01704910.946800
M9535466.555023.0170499.731700
M10382660.33333333355023.0170496.954600
M11111028.83333333355023.0170492.01790.0481610.02408


Multiple Linear Regression - Regression Statistics
Multiple R0.947095602577047
R-squared0.89699008042078
Adjusted R-squared0.876038910336871
F-TEST (value)42.8133644483026
F-TEST (DF numerator)12
F-TEST (DF denominator)59
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation95302.661114966
Sum Squared Residuals535873235720.048


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
19213651023030.07478632-101665.074786320
29879211059527.24145299-71606.2414529916
311326141272631.24145299-140017.241452991
413322241458595.24145299-126371.241452991
514181331541607.90811966-123474.908119658
614115491557987.57478632-146438.574786325
716959201805938.14957265-110018.14957265
816361731705761.64957265-69588.6495726496
915396531638900.98290598-99247.9829059835
1013953141486094.81623932-90780.8162393164
1111275751214463.31623932-86888.316239316
1210360761103434.48290598-67358.482905983
139892361023030.07478633-33794.0747863257
1410083801059527.24145299-51147.2414529914
1512077631272631.24145299-64868.2414529914
1613688391458595.24145299-89756.2414529915
1714697981541607.90811966-71809.9081196583
1814987211557987.57478632-59266.5747863248
1917617691805938.14957265-44169.1495726494
2016532141705761.64957265-52547.6495726496
2115991041638900.98290598-39796.9829059829
2214211791486094.81623932-64915.8162393163
2311639951214463.31623932-50468.3162393163
2410377351103434.48290598-65699.482905983
2510154071023030.07478633-7623.07478632566
2610392101059527.24145299-20317.2414529914
2712580491272631.24145299-14582.2414529915
2814694451458595.2414529910849.7585470085
2915523461541607.9081196610738.0918803417
3015491441557987.57478632-8843.57478632481
3117858951805938.14957265-20043.1495726494
3216623351705761.64957265-43426.6495726496
3316294401638900.98290598-9460.98290598286
3414674301486094.81623932-18664.8162393163
3512022091214463.31623932-12254.3162393163
3610769821103434.48290598-26452.4829059830
3710393671023030.0747863316336.9252136743
3810634491059527.241452993921.75854700859
3913351351272631.2414529962503.7585470085
4014916021458595.2414529933006.7585470085
4115919721541607.9081196650364.0918803418
4216412481557987.5747863283260.4252136752
4318988491805938.1495726592910.8504273505
4417985801705761.6495726592818.3504273504
4517624441638900.98290598123543.017094017
4616220441486094.81623932135949.183760684
4713689551214463.31623932154491.683760684
4812629731103434.48290598159538.517094017
4911956501023030.07478633172619.925213674
5012695301059527.24145299210002.758547009
5114792791272631.24145299206647.758547009
5216078191458595.24145299149223.758547009
5317124661541607.90811966170858.091880342
5417217661557987.57478632163778.425213675
5519498431845149.7008547104693.299145299
5618213261744973.200854776352.7991452992
5717578021678112.5341880379689.465811966
5815903671525306.3675213765060.6324786325
5912606471253674.867521376972.13247863245
6011492351142646.034188036588.96581196577
6110163671062241.62606838-45874.6260683769
6210278851098738.79273504-70853.7927350427
6312621591311842.79273504-49683.7927350426
6415208541497806.7927350423047.2072649574
6515441441580819.45940171-36675.4594017095
6615647091597199.12606838-32490.1260683761
6718217761845149.7008547-23373.7008547008
6817413651744973.2008547-3608.20085470078
6916233861678112.53418803-54726.5341880341
7014986581525306.36752137-26648.3675213675
7112418221253674.86752137-11852.8675213675
7211360291142646.03418803-6617.03418803423


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.1515789920530530.3031579841061070.848421007946947
170.09198753581949970.1839750716389990.9080124641805
180.09468737213509290.1893747442701860.905312627864907
190.07098856106600650.1419771221320130.929011438933994
200.03758185795255530.07516371590511060.962418142047445
210.02711934876733250.05423869753466490.972880651232668
220.0158757107942040.0317514215884080.984124289205796
230.009690661610528130.01938132322105630.990309338389472
240.005378191181574080.01075638236314820.994621808818426
250.004747336673491220.009494673346982430.99525266332651
260.003161290198300490.006322580396600970.9968387098017
270.005639844305624280.01127968861124860.994360155694376
280.01530261015970930.03060522031941860.98469738984029
290.02456028797966760.04912057595933510.975439712020332
300.03190792556511350.06381585113022710.968092074434886
310.03251495055714470.06502990111428950.967485049442855
320.03368702663321820.06737405326643640.966312973366782
330.03666498631526020.07332997263052030.96333501368474
340.0481319893067320.0962639786134640.951868010693268
350.0614295057441960.1228590114883920.938570494255804
360.0950236769316290.1900473538632580.904976323068371
370.1143810092063410.2287620184126830.885618990793658
380.1533299800412510.3066599600825030.846670019958749
390.2669607886287440.5339215772574870.733039211371256
400.3952594027914870.7905188055829730.604740597208513
410.4867489196228960.973497839245790.513251080377104
420.5928438474731930.8143123050536130.407156152526807
430.737897449097130.5242051018057410.262102550902870
440.8556741432190.2886517135620020.144325856781001
450.8994698217541890.2010603564916220.100530178245811
460.9360096995312450.1279806009375090.0639903004687546
470.945172697550220.1096546048995590.0548273024497793
480.9511457984459160.09770840310816810.0488542015540841
490.9421992371510570.1156015256978860.0578007628489428
500.9511122371304160.0977755257391670.0488877628695835
510.9510072862395930.0979854275208140.048992713760407
520.9355758075726860.1288483848546280.064424192427314
530.8965518686223790.2068962627552420.103448131377621
540.831631529843620.336736940312760.16836847015638
550.8347578396212510.3304843207574980.165242160378749
560.7548045198444920.4903909603110150.245195480155508


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level20.048780487804878NOK
5% type I error level80.195121951219512NOK
10% type I error level180.439024390243902NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/27/t1293456429cqzn2kg8n14ry4u/10hm7i1293455557.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/27/t1293456429cqzn2kg8n14ry4u/10hm7i1293455557.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/27/t1293456429cqzn2kg8n14ry4u/1ibqt1293455556.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/27/t1293456429cqzn2kg8n14ry4u/1ibqt1293455556.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/27/t1293456429cqzn2kg8n14ry4u/2lus91293455557.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/27/t1293456429cqzn2kg8n14ry4u/2lus91293455557.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/27/t1293456429cqzn2kg8n14ry4u/3lus91293455557.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/27/t1293456429cqzn2kg8n14ry4u/3lus91293455557.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/27/t1293456429cqzn2kg8n14ry4u/4lus91293455557.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/27/t1293456429cqzn2kg8n14ry4u/4lus91293455557.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/27/t1293456429cqzn2kg8n14ry4u/5lus91293455557.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/27/t1293456429cqzn2kg8n14ry4u/5lus91293455557.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/27/t1293456429cqzn2kg8n14ry4u/6elrc1293455557.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/27/t1293456429cqzn2kg8n14ry4u/6elrc1293455557.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/27/t1293456429cqzn2kg8n14ry4u/77v8f1293455557.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/27/t1293456429cqzn2kg8n14ry4u/77v8f1293455557.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/27/t1293456429cqzn2kg8n14ry4u/87v8f1293455557.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/27/t1293456429cqzn2kg8n14ry4u/87v8f1293455557.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/27/t1293456429cqzn2kg8n14ry4u/97v8f1293455557.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/27/t1293456429cqzn2kg8n14ry4u/97v8f1293455557.ps (open in new window)


 
Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = No Linear Trend ;
 
Parameters (R input):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = No Linear Trend ;
 
R code (references can be found in the software module):
library(lattice)
library(lmtest)
n25 <- 25 #minimum number of obs. for Goldfeld-Quandt test
par1 <- as.numeric(par1)
x <- t(y)
k <- length(x[1,])
n <- length(x[,1])
x1 <- cbind(x[,par1], x[,1:k!=par1])
mycolnames <- c(colnames(x)[par1], colnames(x)[1:k!=par1])
colnames(x1) <- mycolnames #colnames(x)[par1]
x <- x1
if (par3 == 'First Differences'){
x2 <- array(0, dim=c(n-1,k), dimnames=list(1:(n-1), paste('(1-B)',colnames(x),sep='')))
for (i in 1:n-1) {
for (j in 1:k) {
x2[i,j] <- x[i+1,j] - x[i,j]
}
}
x <- x2
}
if (par2 == 'Include Monthly Dummies'){
x2 <- array(0, dim=c(n,11), dimnames=list(1:n, paste('M', seq(1:11), sep ='')))
for (i in 1:11){
x2[seq(i,n,12),i] <- 1
}
x <- cbind(x, x2)
}
if (par2 == 'Include Quarterly Dummies'){
x2 <- array(0, dim=c(n,3), dimnames=list(1:n, paste('Q', seq(1:3), sep ='')))
for (i in 1:3){
x2[seq(i,n,4),i] <- 1
}
x <- cbind(x, x2)
}
k <- length(x[1,])
if (par3 == 'Linear Trend'){
x <- cbind(x, c(1:n))
colnames(x)[k+1] <- 't'
}
x
k <- length(x[1,])
df <- as.data.frame(x)
(mylm <- lm(df))
(mysum <- summary(mylm))
if (n > n25) {
kp3 <- k + 3
nmkm3 <- n - k - 3
gqarr <- array(NA, dim=c(nmkm3-kp3+1,3))
numgqtests <- 0
numsignificant1 <- 0
numsignificant5 <- 0
numsignificant10 <- 0
for (mypoint in kp3:nmkm3) {
j <- 0
numgqtests <- numgqtests + 1
for (myalt in c('greater', 'two.sided', 'less')) {
j <- j + 1
gqarr[mypoint-kp3+1,j] <- gqtest(mylm, point=mypoint, alternative=myalt)$p.value
}
if (gqarr[mypoint-kp3+1,2] < 0.01) numsignificant1 <- numsignificant1 + 1
if (gqarr[mypoint-kp3+1,2] < 0.05) numsignificant5 <- numsignificant5 + 1
if (gqarr[mypoint-kp3+1,2] < 0.10) numsignificant10 <- numsignificant10 + 1
}
gqarr
}
bitmap(file='test0.png')
plot(x[,1], type='l', main='Actuals and Interpolation', ylab='value of Actuals and Interpolation (dots)', xlab='time or index')
points(x[,1]-mysum$resid)
grid()
dev.off()
bitmap(file='test1.png')
plot(mysum$resid, type='b', pch=19, main='Residuals', ylab='value of Residuals', xlab='time or index')
grid()
dev.off()
bitmap(file='test2.png')
hist(mysum$resid, main='Residual Histogram', xlab='values of Residuals')
grid()
dev.off()
bitmap(file='test3.png')
densityplot(~mysum$resid,col='black',main='Residual Density Plot', xlab='values of Residuals')
dev.off()
bitmap(file='test4.png')
qqnorm(mysum$resid, main='Residual Normal Q-Q Plot')
qqline(mysum$resid)
grid()
dev.off()
(myerror <- as.ts(mysum$resid))
bitmap(file='test5.png')
dum <- cbind(lag(myerror,k=1),myerror)
dum
dum1 <- dum[2:length(myerror),]
dum1
z <- as.data.frame(dum1)
z
plot(z,main=paste('Residual Lag plot, lowess, and regression line'), ylab='values of Residuals', xlab='lagged values of Residuals')
lines(lowess(z))
abline(lm(z))
grid()
dev.off()
bitmap(file='test6.png')
acf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Autocorrelation Function')
grid()
dev.off()
bitmap(file='test7.png')
pacf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Partial Autocorrelation Function')
grid()
dev.off()
bitmap(file='test8.png')
opar <- par(mfrow = c(2,2), oma = c(0, 0, 1.1, 0))
plot(mylm, las = 1, sub='Residual Diagnostics')
par(opar)
dev.off()
if (n > n25) {
bitmap(file='test9.png')
plot(kp3:nmkm3,gqarr[,2], main='Goldfeld-Quandt test',ylab='2-sided p-value',xlab='breakpoint')
grid()
dev.off()
}
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Estimated Regression Equation', 1, TRUE)
a<-table.row.end(a)
myeq <- colnames(x)[1]
myeq <- paste(myeq, '[t] = ', sep='')
for (i in 1:k){
if (mysum$coefficients[i,1] > 0) myeq <- paste(myeq, '+', '')
myeq <- paste(myeq, mysum$coefficients[i,1], sep=' ')
if (rownames(mysum$coefficients)[i] != '(Intercept)') {
myeq <- paste(myeq, rownames(mysum$coefficients)[i], sep='')
if (rownames(mysum$coefficients)[i] != 't') myeq <- paste(myeq, '[t]', sep='')
}
}
myeq <- paste(myeq, ' + e[t]')
a<-table.row.start(a)
a<-table.element(a, myeq)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable1.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,hyperlink('http://www.xycoon.com/ols1.htm','Multiple Linear Regression - Ordinary Least Squares',''), 6, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Variable',header=TRUE)
a<-table.element(a,'Parameter',header=TRUE)
a<-table.element(a,'S.D.',header=TRUE)
a<-table.element(a,'T-STAT<br />H0: parameter = 0',header=TRUE)
a<-table.element(a,'2-tail p-value',header=TRUE)
a<-table.element(a,'1-tail p-value',header=TRUE)
a<-table.row.end(a)
for (i in 1:k){
a<-table.row.start(a)
a<-table.element(a,rownames(mysum$coefficients)[i],header=TRUE)
a<-table.element(a,mysum$coefficients[i,1])
a<-table.element(a, round(mysum$coefficients[i,2],6))
a<-table.element(a, round(mysum$coefficients[i,3],4))
a<-table.element(a, round(mysum$coefficients[i,4],6))
a<-table.element(a, round(mysum$coefficients[i,4]/2,6))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable2.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Regression Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple R',1,TRUE)
a<-table.element(a, sqrt(mysum$r.squared))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'R-squared',1,TRUE)
a<-table.element(a, mysum$r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Adjusted R-squared',1,TRUE)
a<-table.element(a, mysum$adj.r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (value)',1,TRUE)
a<-table.element(a, mysum$fstatistic[1])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF numerator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[2])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF denominator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[3])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'p-value',1,TRUE)
a<-table.element(a, 1-pf(mysum$fstatistic[1],mysum$fstatistic[2],mysum$fstatistic[3]))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Residual Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Residual Standard Deviation',1,TRUE)
a<-table.element(a, mysum$sigma)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Sum Squared Residuals',1,TRUE)
a<-table.element(a, sum(myerror*myerror))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable3.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Actuals, Interpolation, and Residuals', 4, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Time or Index', 1, TRUE)
a<-table.element(a, 'Actuals', 1, TRUE)
a<-table.element(a, 'Interpolation<br />Forecast', 1, TRUE)
a<-table.element(a, 'Residuals<br />Prediction Error', 1, TRUE)
a<-table.row.end(a)
for (i in 1:n) {
a<-table.row.start(a)
a<-table.element(a,i, 1, TRUE)
a<-table.element(a,x[i])
a<-table.element(a,x[i]-mysum$resid[i])
a<-table.element(a,mysum$resid[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable4.tab')
if (n > n25) {
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'p-values',header=TRUE)
a<-table.element(a,'Alternative Hypothesis',3,header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'breakpoint index',header=TRUE)
a<-table.element(a,'greater',header=TRUE)
a<-table.element(a,'2-sided',header=TRUE)
a<-table.element(a,'less',header=TRUE)
a<-table.row.end(a)
for (mypoint in kp3:nmkm3) {
a<-table.row.start(a)
a<-table.element(a,mypoint,header=TRUE)
a<-table.element(a,gqarr[mypoint-kp3+1,1])
a<-table.element(a,gqarr[mypoint-kp3+1,2])
a<-table.element(a,gqarr[mypoint-kp3+1,3])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable5.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Description',header=TRUE)
a<-table.element(a,'# significant tests',header=TRUE)
a<-table.element(a,'% significant tests',header=TRUE)
a<-table.element(a,'OK/NOK',header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'1% type I error level',header=TRUE)
a<-table.element(a,numsignificant1)
a<-table.element(a,numsignificant1/numgqtests)
if (numsignificant1/numgqtests < 0.01) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'5% type I error level',header=TRUE)
a<-table.element(a,numsignificant5)
a<-table.element(a,numsignificant5/numgqtests)
if (numsignificant5/numgqtests < 0.05) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'10% type I error level',header=TRUE)
a<-table.element(a,numsignificant10)
a<-table.element(a,numsignificant10/numgqtests)
if (numsignificant10/numgqtests < 0.1) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable6.tab')
}
 





Copyright

Creative Commons License

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.

Software written by Ed van Stee & Patrick Wessa


Disclaimer

Information provided on this web site is provided "AS IS" without warranty of any kind, either express or implied, including, without limitation, warranties of merchantability, fitness for a particular purpose, and noninfringement. We use reasonable efforts to include accurate and timely information and periodically update the information, and software without notice. However, we make no warranties or representations as to the accuracy or completeness of such information (or software), and we assume no liability or responsibility for errors or omissions in the content of this web site, or any software bugs in online applications. Your use of this web site is AT YOUR OWN RISK. Under no circumstances and under no legal theory shall we be liable to you or any other person for any direct, indirect, special, incidental, exemplary, or consequential damages arising from your access to, or use of, this web site.


Privacy Policy

We may request personal information to be submitted to our servers in order to be able to:

  • personalize online software applications according to your needs
  • enforce strict security rules with respect to the data that you upload (e.g. statistical data)
  • manage user sessions of online applications
  • alert you about important changes or upgrades in resources or applications

We NEVER allow other companies to directly offer registered users information about their products and services. Banner references and hyperlinks of third parties NEVER contain any personal data of the visitor.

We do NOT sell, nor transmit by any means, personal information, nor statistical data series uploaded by you to third parties.

We carefully protect your data from loss, misuse, alteration, and destruction. However, at any time, and under any circumstance you are solely responsible for managing your passwords, and keeping them secret.

We store a unique ANONYMOUS USER ID in the form of a small 'Cookie' on your computer. This allows us to track your progress when using this website which is necessary to create state-dependent features. The cookie is used for NO OTHER PURPOSE. At any time you may opt to disallow cookies from this website - this will not affect other features of this website.

We examine cookies that are used by third-parties (banner and online ads) very closely: abuse from third-parties automatically results in termination of the advertising contract without refund. We have very good reason to believe that the cookies that are produced by third parties (banner ads) do NOT cause any privacy or security risk.

FreeStatistics.org is safe. There is no need to download any software to use the applications and services contained in this website. Hence, your system's security is not compromised by their use, and your personal data - other than data you submit in the account application form, and the user-agent information that is transmitted by your browser - is never transmitted to our servers.

As a general rule, we do not log on-line behavior of individuals (other than normal logging of webserver 'hits'). However, in cases of abuse, hacking, unauthorized access, Denial of Service attacks, illegal copying, hotlinking, non-compliance with international webstandards (such as robots.txt), or any other harmful behavior, our system engineers are empowered to log, track, identify, publish, and ban misbehaving individuals - even if this leads to ban entire blocks of IP addresses, or disclosing user's identity.


FreeStatistics.org is powered by