Home » date » 2010 » Jan » 09 »

*Unverified author*
R Software Module: /rwasp_multipleregression.wasp (opens new window with default values)
Title produced by software: Multiple Regression
Date of computation: Sat, 09 Jan 2010 08:14:00 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Jan/09/t1263050085ulry3dzlechgn69.htm/, Retrieved Sat, 09 Jan 2010 16:14:57 +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/Jan/09/t1263050085ulry3dzlechgn69.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 «
8.8 8.9 8.6 8.4 8.4 8.4 99.4 8.3 8.8 8.9 8.6 8.4 8.4 99.8 7.5 8.3 8.8 8.9 8.6 8.4 99.9 7.2 7.5 8.3 8.8 8.9 8.6 100 7.4 7.2 7.5 8.3 8.8 8.9 100.1 8.8 7.4 7.2 7.5 8.3 8.8 100.1 9.3 8.8 7.4 7.2 7.5 8.3 100.2 9.3 9.3 8.8 7.4 7.2 7.5 100.3 8.7 9.3 9.3 8.8 7.4 7.2 100 8.2 8.7 9.3 9.3 8.8 7.4 99.9 8.3 8.2 8.7 9.3 9.3 8.8 99.4 8.5 8.3 8.2 8.7 9.3 9.3 99.8 8.6 8.5 8.3 8.2 8.7 9.3 99.6 8.5 8.6 8.5 8.3 8.2 8.7 100 8.2 8.5 8.6 8.5 8.3 8.2 99.9 8.1 8.2 8.5 8.6 8.5 8.3 100.3 7.9 8.1 8.2 8.5 8.6 8.5 100.6 8.6 7.9 8.1 8.2 8.5 8.6 100.7 8.7 8.6 7.9 8.1 8.2 8.5 100.8 8.7 8.7 8.6 7.9 8.1 8.2 100.8 8.5 8.7 8.7 8.6 7.9 8.1 100.6 8.4 8.5 8.7 8.7 8.6 7.9 101.1 8.5 8.4 8.5 8.7 8.7 8.6 101.1 8.7 8.5 8.4 8.5 8.7 8.7 100.9 8.7 8.7 8.5 8.4 8.5 8.7 101.1 8.6 8.7 8.7 8.5 8.4 8.5 101.2 8.5 8.6 8.7 8.7 8.5 8.4 101.4 8.3 8.5 8.6 8.7 8.7 8.5 101.9 8 8.3 8.5 8.6 8.7 8.7 102.1 8.2 8 8.3 8.5 8.6 8.7 102.1 8.1 8.2 8 8.3 8.5 8.6 103 8.1 8.1 8.2 8 8.3 8.5 103.4 8 8.1 8.1 8.2 8 8.3 103.2 7.9 8 8.1 8.1 8.2 8 103.1 7. 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 time5 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
werkl[t] = + 19.4250848391952 + 1.38018027566590`werkl-1`[t] -0.694005422132068`werkl-2`[t] -0.200396397847844`werkl-3`[t] + 0.217499603220255`werkl-4`[t] + 0.0508481331699843`werkl-5`[t] -0.174579752192536afzetp[t] -0.226257796357584M1[t] -0.129506295557380M2[t] -0.148491155978233M3[t] -0.169728355178839M4[t] -0.119227957982638M5[t] + 0.489046736630819M6[t] -0.415557532986574M7[t] -0.10456110042014M8[t] + 0.0158936263692312M9[t] -0.0350934389340346M10[t] + 0.0506195813463781M11[t] + 0.0162133957639823t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)19.42508483919526.0343773.21910.0022840.001142
`werkl-1`1.380180275665900.1461049.446500
`werkl-2`-0.6940054221320680.247281-2.80650.0071660.003583
`werkl-3`-0.2003963978478440.270402-0.74110.4621670.231084
`werkl-4`0.2174996032202550.2483850.87570.3854890.192745
`werkl-5`0.05084813316998430.1340540.37930.7060960.353048
afzetp-0.1745797521925360.055399-3.15130.0027710.001386
M1-0.2262577963575840.102885-2.19910.0326190.01631
M2-0.1295062955573800.116627-1.11040.2722340.136117
M3-0.1484911559782330.113998-1.30260.198810.099405
M4-0.1697283551788390.108223-1.56830.1232420.061621
M5-0.1192279579826380.106469-1.11980.268240.13412
M60.4890467366308190.1034894.72562e-051e-05
M7-0.4155575329865740.11831-3.51240.0009650.000482
M8-0.104561100420140.152152-0.68720.4951860.247593
M90.01589362636923120.1623640.09790.922420.46121
M10-0.03509343893403460.131428-0.2670.7905770.395289
M110.05061958134637810.1078910.46920.6410270.320513
t0.01621339576398230.0055222.93620.0050480.002524


Multiple Linear Regression - Regression Statistics
Multiple R0.980228972060803
R-squared0.96084883766738
Adjusted R-squared0.946466778034988
F-TEST (value)66.8088481223753
F-TEST (DF numerator)18
F-TEST (DF denominator)49
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.161355997571108
Sum Squared Residuals1.2757521396562


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
18.88.747762137510480.0522378624895221
28.38.40459619942178-0.104596199421779
37.57.74705816521561-0.247058165215610
47.27.06289402447790.137105975522094
57.47.347002775777620.0529972242223853
68.88.5022110512790.297788948720997
79.39.250508673905340.0494913260946615
89.39.132735406792920.167264593207078
98.78.72246526764408-0.0224652676440766
108.28.091512280142940.108487719857062
118.38.1869788757780.113021124222003
128.58.71342343324491-0.213423433244914
138.68.71462893300156-0.114628933001559
148.58.597680550532-0.097680550532003
158.28.36119510548206-0.161195105482055
168.17.970230954858120.129769045141880
177.98.10671364797438-0.206713647974380
188.68.550562022561920.0494379774380806
198.78.69934539638350.000654603616493099
208.78.681844336084610.0181556639153870
218.58.59516565440873-0.0951656544087262
228.48.31910650947540.080893490524606
238.58.479159635920630.0208403640793728
248.78.7322520634431-0.0322520634431003
258.78.67046694447170.0295330555283018
268.68.575213554649410.0247864453505907
278.58.37609397942290.123906020577099
288.38.263747548497680.0362524515023253
2988.11911914451816-0.119119144518163
308.28.466643916085-0.266643916085004
318.17.918613452961650.181386547038345
328.17.910706453815360.189293546184643
3388.03619228185078-0.0361922818507823
347.97.929143680442-0.0291436804420043
357.97.96833025266424-0.0683302526642403
3687.896073609228060.103926390771938
3787.874710841321570.125289158678432
387.97.873982446814270.0260175531857289
3987.655694575831270.344305424168731
407.77.84492335205796-0.144923352057959
417.27.41839102276844-0.218391022768442
427.57.484285051407230.0157149485927650
437.37.43373503767901-0.133735037679008
4477.2294504394152-0.229450439415200
4576.836910501902710.163089498097291
4677.10770152817295-0.107701528172952
477.27.20658543244014-0.00658543244013645
487.37.37279579439085-0.0727957943908475
497.17.12925592176717-0.0292559217671732
506.86.8217889909769-0.0217889909768962
516.46.5846827841252-0.184682784125192
526.16.27287141314891-0.172871413148915
536.56.294669005166470.205330994833533
547.77.66671190876970.033288091230301
557.98.06242590932003-0.162425909320034
567.57.61474366719418-0.11474366719418
576.96.90926629419371-0.009266294193706
586.66.65253600176671-0.0525360017667118
596.96.958945803197-0.0589458031969987
607.77.485455099693080.214544900306925
6188.06317522192752-0.0631752219275241
6287.826738257605640.173261742394358
637.77.575275389922970.124724610077028
647.37.285332706959430.0146672930405738
657.47.114104403794930.285895596205067
668.18.22958604989714-0.12958604989714
678.38.235371529750460.0646284702495425
688.28.23051969669773-0.0305196966977268


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
220.0710801763567820.1421603527135640.928919823643218
230.03319186581142940.06638373162285880.96680813418857
240.01633639797573820.03267279595147640.983663602024262
250.006053379292703020.01210675858540600.993946620707297
260.005140484731535220.01028096946307040.994859515268465
270.1391111799607550.2782223599215090.860888820039245
280.09148210740736540.1829642148147310.908517892592635
290.0871075702296650.174215140459330.912892429770335
300.1582125152087830.3164250304175660.841787484791217
310.1221166237913420.2442332475826840.877883376208658
320.1690477554323580.3380955108647160.830952244567642
330.2357313157571210.4714626315142430.764268684242879
340.208334747232820.416669494465640.79166525276718
350.2563930325328730.5127860650657460.743606967467127
360.1919627114134020.3839254228268050.808037288586598
370.1504301874943020.3008603749886040.849569812505698
380.1254608073341950.2509216146683900.874539192665805
390.3823234278627690.7646468557255370.617676572137231
400.4683947096347200.9367894192694410.53160529036528
410.7642258212827550.471548357434490.235774178717245
420.6652775356840010.6694449286319980.334722464315999
430.6743661101654120.6512677796691760.325633889834588
440.6646938816694310.6706122366611380.335306118330569
450.5606921532429820.8786156935140350.439307846757018
460.4366040161299020.8732080322598030.563395983870098


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level30.12NOK
10% type I error level40.16NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Jan/09/t1263050085ulry3dzlechgn69/10dlzk1263050033.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jan/09/t1263050085ulry3dzlechgn69/10dlzk1263050033.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Jan/09/t1263050085ulry3dzlechgn69/1awvy1263050033.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jan/09/t1263050085ulry3dzlechgn69/1awvy1263050033.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Jan/09/t1263050085ulry3dzlechgn69/28f3w1263050033.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jan/09/t1263050085ulry3dzlechgn69/28f3w1263050033.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Jan/09/t1263050085ulry3dzlechgn69/3i86x1263050033.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jan/09/t1263050085ulry3dzlechgn69/3i86x1263050033.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Jan/09/t1263050085ulry3dzlechgn69/46h6a1263050033.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jan/09/t1263050085ulry3dzlechgn69/46h6a1263050033.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Jan/09/t1263050085ulry3dzlechgn69/5hfjy1263050033.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jan/09/t1263050085ulry3dzlechgn69/5hfjy1263050033.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Jan/09/t1263050085ulry3dzlechgn69/6xikd1263050033.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jan/09/t1263050085ulry3dzlechgn69/6xikd1263050033.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Jan/09/t1263050085ulry3dzlechgn69/7sjvu1263050033.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jan/09/t1263050085ulry3dzlechgn69/7sjvu1263050033.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Jan/09/t1263050085ulry3dzlechgn69/8822k1263050033.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jan/09/t1263050085ulry3dzlechgn69/8822k1263050033.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Jan/09/t1263050085ulry3dzlechgn69/9ya641263050033.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jan/09/t1263050085ulry3dzlechgn69/9ya641263050033.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