Home » date » 2009 » Nov » 22 »

model 4

*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: Sun, 22 Nov 2009 06:44:03 -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/22/t1258897570sgcuatnb1bvx2wx.htm/, Retrieved Sun, 22 Nov 2009 14:46:22 +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/22/t1258897570sgcuatnb1bvx2wx.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 «
7,2 6,5 8 17,4 7,4 6,6 8,5 17 8,8 7,6 10,4 18 9,3 8 11,1 23,8 9,3 8,1 10,9 25,6 8,7 7,7 10 23,7 8,2 7,5 9,2 22 8,3 7,6 9,2 21,3 8,5 7,8 9,5 20,7 8,6 7,8 9,6 20,4 8,5 7,8 9,5 20,3 8,2 7,5 9,1 20,4 8,1 7,5 8,9 19,8 7,9 7,1 9 19,5 8,6 7,5 10,1 23,1 8,7 7,5 10,3 23,5 8,7 7,6 10,2 23,5 8,5 7,7 9,6 22,9 8,4 7,7 9,2 21,9 8,5 7,9 9,3 21,5 8,7 8,1 9,4 20,5 8,7 8,2 9,4 20,2 8,6 8,2 9,2 19,4 8,5 8,2 9 19,2 8,3 7,9 9 18,8 8 7,3 9 18,8 8,2 6,9 9,8 22,6 8,1 6,6 10 23,3 8,1 6,7 9,8 23 8 6,9 9,3 21,4 7,9 7 9 19,9 7,9 7,1 9 18,8 8 7,2 9,1 18,6 8 7,1 9,1 18,4 7,9 6,9 9,1 18,6 8 7 9,2 19,9 7,7 6,8 8,8 19,2 7,2 6,4 8,3 18,4 7,5 6,7 8,4 21,1 7,3 6,6 8,1 20,5 7 6,4 7,7 19,1 7 6,3 7,9 18,1 7 6,2 7,9 17 7,2 6,5 8 17,1 7,3 6,8 7,9 17,4 7,1 6,8 7,6 16,8 6,8 6,4 7,1 15,3 6,4 6,1 6,8 14,3 6,1 5,8 6,5 13,4 6,5 6,1 6,9 15,3 7,7 7,2 8,2 22,1 7,9 7,3 8,7 23,7 7,5 6,9 8,3 22,2 6,9 6,1 7,9 19,5 6,6 5,8 7,5 16,6 6,9 6,2 7,8 17,3 7,7 7,1 8,3 19,8 8 7,7 8,4 21,2 8 7,9 8,2 21,5 7,7 7,7 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 time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
TW[t] = + 0.211999605127861 + 0.527374917646042WM[t] + 0.424575943486697WV[t] + 0.00763345863895995WJ[t] -0.0107192009268042M1[t] -0.0253430461300658M2[t] + 0.0173207640937708M3[t] -0.0147025622825291M4[t] -0.0111383824972702M5[t] -0.0127332059870329M6[t] + 0.0137345467647528M7[t] -0.0027356307527948M8[t] + 0.0198790659864952M9[t] + 0.00495812503304638M10[t] + 0.0148365517192163M11[t] + 0.000127469705657836t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)0.2119996051278610.084832.49910.0158510.007925
WM0.5273749176460420.01129546.692700
WV0.4245759434866970.01082939.20900
WJ0.007633458638959950.004031.8940.0641360.032068
M1-0.01071920092680420.02007-0.53410.5956950.297847
M2-0.02534304613006580.020091-1.26140.2131380.106569
M30.01732076409377080.0222270.77930.4395630.219781
M4-0.01470256228252910.024848-0.59170.5567730.278387
M5-0.01113838249727020.024261-0.45910.6481910.324096
M6-0.01273320598703290.023597-0.53960.5919040.295952
M70.01373454676475280.0217520.63140.5307010.265351
M8-0.00273563075279480.020922-0.13080.8965070.448253
M90.01987906598649520.0207710.95710.343230.171615
M100.004958125033046380.0207890.23850.8124860.406243
M110.01483655171921630.020640.71880.4756550.237827
t0.0001274697056578360.0004260.29930.765990.382995


Multiple Linear Regression - Regression Statistics
Multiple R0.999180255803478
R-squared0.998361183587504
Adjusted R-squared0.997859505093883
F-TEST (value)1990.04182216648
F-TEST (DF numerator)15
F-TEST (DF denominator)49
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.0324139473504168
Sum Squared Residuals0.0514825351589441


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
17.27.158774566817490.0412254331825123
27.47.40625027137223-0.00625027137223209
38.88.790744220211450.00925577978854648
49.39.31127555114588-0.0112755511458815
59.39.29652972925420.00347027074580880
68.78.687490487859620.0125095121403803
78.28.25597309231226-0.055973092312265
88.38.28702445521770.0129755447822942
98.58.5380343130545-0.0380343130544964
108.68.563408398563690.0365916014363128
118.58.53019335474295-0.0301933547429491
128.28.18820476590480.0117952340952040
138.18.088117770802930.0118822291970658
147.97.9028389850039-0.00283898500389447
158.68.65109422092743-0.051094220927429
168.78.70716693640971-0.00716693640971106
178.78.72113848331656-0.0211384833165615
188.58.51308298002167-0.0130829800216662
198.48.362214366445470.0377856335545296
208.58.490750853055880.0092491469441242
218.78.653792138739740.046207861260258
228.78.689446121664870.0105538783351330
238.68.60843006244819-0.00843006244818653
248.58.5072791000095-0.00727910000949656
258.38.33542151003895-0.0354215100389536
2688.00450018395373-0.00450018395372530
278.28.2050093944422-0.00500939444220988
288.18.10515967222237-0.00515967222236557
298.18.074383587188860.0256164128111402
3087.953889711368280.0461102886317216
317.97.894399454585880.00560054541412379
327.97.92239743403573-0.0223974340357345
3388.03880799486616-0.0388079948661648
3487.969750340125980.0302496598740227
357.97.87580794471640.0241920552836112
3687.966217445046750.033782554953248
377.77.674976931854450.0250230681455531
387.27.23113585064391-0.0311358506439103
397.57.495207538541080.00479246145892127
407.37.278621331876450.0213786681235531
4176.996320778348930.00367922165106692
4277.0193976628586-0.0193976628586033
4376.984858589048590.0151414109514131
447.27.169949296743080.030050703256925
457.37.31073638172485-0.0107363817248539
467.17.16399005224768-0.0639900522476777
476.86.73930782187930.0606921781206996
486.46.43138002288696-0.0313800228869595
496.16.12833292055093-0.0283329205509286
506.56.456382969155840.0436170308441603
517.77.683142903773610.0168570962263866
527.97.92848604443326-0.0284860444332596
537.57.53994716151264-0.0399471615126423
546.96.92613915789183-0.0261391578918324
556.66.6025544976078-0.00255449760780150
566.96.92987796094761-0.0298779609476088
577.77.658629171614740.0413708283852571
5888.0134050873978-0.0134050873977908
5988.04626081621318-0.0462608162131751
607.77.706918666152-0.00691866615199587
617.37.31437629993525-0.0143762999352490
627.47.39889173987040.00110826012960181
638.18.074801722104220.0251982778957845
648.38.269290463912340.0307095360876646
658.28.171680260378810.0283197396211879


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
190.7885362380173170.4229275239653660.211463761982683
200.6578840347909410.6842319304181180.342115965209059
210.7318771164789650.5362457670420690.268122883521034
220.7158342363810990.5683315272378030.284165763618901
230.6070852981614780.7858294036770440.392914701838522
240.5255233966947020.9489532066105950.474476603305298
250.6463875850206490.7072248299587030.353612414979351
260.5619725312402540.8760549375194930.438027468759746
270.490783008751730.981566017503460.50921699124827
280.4119553313673170.8239106627346340.588044668632683
290.3250762173952060.6501524347904120.674923782604794
300.319611824940460.639223649880920.68038817505954
310.2440896272550980.4881792545101960.755910372744902
320.2713584462711080.5427168925422170.728641553728892
330.4659499281130510.9318998562261020.534050071886949
340.3823612507079830.7647225014159660.617638749292017
350.3384228184895420.6768456369790840.661577181510458
360.2824658736130980.5649317472261950.717534126386902
370.3011355359477270.6022710718954550.698864464052273
380.2492682219811060.4985364439622120.750731778018894
390.1826835096435850.3653670192871700.817316490356415
400.1464552389025160.2929104778050320.853544761097484
410.1258890674680710.2517781349361420.87411093253193
420.1056159022761040.2112318045522070.894384097723896
430.0608429979467050.1216859958934100.939157002053295
440.1059735466584040.2119470933168070.894026453341596
450.0560011083928440.1120022167856880.943998891607156
460.2237347124289620.4474694248579250.776265287571038


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level00OK
10% type I error level00OK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/22/t1258897570sgcuatnb1bvx2wx/10mukm1258897439.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/22/t1258897570sgcuatnb1bvx2wx/10mukm1258897439.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/22/t1258897570sgcuatnb1bvx2wx/1qcwg1258897438.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/22/t1258897570sgcuatnb1bvx2wx/1qcwg1258897438.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/22/t1258897570sgcuatnb1bvx2wx/2348f1258897438.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/22/t1258897570sgcuatnb1bvx2wx/2348f1258897438.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/22/t1258897570sgcuatnb1bvx2wx/301we1258897439.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/22/t1258897570sgcuatnb1bvx2wx/301we1258897439.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/22/t1258897570sgcuatnb1bvx2wx/4ww641258897439.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/22/t1258897570sgcuatnb1bvx2wx/4ww641258897439.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/22/t1258897570sgcuatnb1bvx2wx/53zk01258897439.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/22/t1258897570sgcuatnb1bvx2wx/53zk01258897439.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/22/t1258897570sgcuatnb1bvx2wx/63fql1258897439.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/22/t1258897570sgcuatnb1bvx2wx/63fql1258897439.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/22/t1258897570sgcuatnb1bvx2wx/7whvr1258897439.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/22/t1258897570sgcuatnb1bvx2wx/7whvr1258897439.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/22/t1258897570sgcuatnb1bvx2wx/83fok1258897439.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/22/t1258897570sgcuatnb1bvx2wx/83fok1258897439.ps (open in new window)


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