Home » date » 2009 » Nov » 23 »

ws7 link4 y-1 en y-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: Mon, 23 Nov 2009 15:12:22 -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/23/t125901442892rrgxkdnuma2nx.htm/, Retrieved Mon, 23 Nov 2009 23:14:00 +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/23/t125901442892rrgxkdnuma2nx.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 «
1.4 8.2 1.7 1.4 1.2 8.0 1.4 1.2 1.0 7.5 1.2 1 1.7 6.8 1.0 1.7 2.4 6.5 1.7 1.4 2.0 6.6 2.4 1.2 2.1 7.6 2.0 1.0 2.0 8.0 2.1 1.7 1.8 8.1 2.0 2.4 2.7 7.7 1.8 2.0 2.3 7.5 2.7 2.1 1.9 7.6 2.3 2.0 2.0 7.8 1.9 1.8 2.3 7.8 2.0 2.7 2.8 7.8 2.3 2.3 2.4 7.5 2.8 1.9 2.3 7.5 2.4 2.0 2.7 7.1 2.3 2.3 2.7 7.5 2.7 2.8 2.9 7.5 2.7 2.4 3.0 7.6 2.9 2.3 2.2 7.7 3.0 2.7 2.3 7.7 2.2 2.7 2.8 7.9 2.3 2.9 2.8 8.1 2.8 3.0 2.8 8.2 2.8 2.2 2.2 8.2 2.8 2.3 2.6 8.2 2.2 2.8 2.8 7.9 2.6 2.8 2.5 7.3 2.8 2.8 2.4 6.9 2.5 2.2 2.3 6.6 2.4 2.6 1.9 6.7 2.3 2.8 1.7 6.9 1.9 2.5 2.0 7.0 1.7 2.4 2.1 7.1 2.0 2.3 1.7 7.2 2.1 1.9 1.8 7.1 1.7 1.7 1.8 6.9 1.8 2.0 1.8 7.0 1.8 2.1 1.3 6.8 1.8 1.7 1.3 6.4 1.3 1.8 1.3 6.7 1.3 1.8 1.2 6.6 1.3 1.8 1.4 6.4 1.2 1.3 2.2 6.3 1.4 1.3 2.9 6.2 2.2 1.3 3.1 6.5 2.9 1.2 3.5 6.8 3.1 1.4 3.6 6.8 3.5 2.2 4.4 6.4 3.6 2.9 4.1 6.1 4.4 3.1 5.1 5.8 4.1 3.5 5.8 6.1 5.1 3.6 5.9 7.2 5.8 4.4 5.4 7.3 5.9 4.1 5.5 6.9 5.4 5.1 4.8 6.1 5.5 5.8 3.2 5.8 4.8 5.9 2.7 6.2 3.2 5.4 2.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 time4 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 1.19733911441188 -0.114838682663652X[t] + 1.04005420661093Y1[t] -0.181531956075848Y4[t] -0.100911659309453M1[t] + 0.0562361791256351M2[t] -0.144735621419419M3[t] + 0.0688315396933528M4[t] + 0.173874541939557M5[t] -0.0284129403688838M6[t] -0.0181390830330392M7[t] -0.141918406447336M8[t] -0.0166014834555407M9[t] + 0.0167579353408157M10[t] -0.170892863225451M11[t] -0.000202430578581416t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)1.197339114411881.0642041.12510.266140.13307
X-0.1148386826636520.134597-0.85320.3977850.198893
Y11.040054206610930.07699413.508200
Y4-0.1815319560758480.087126-2.08360.0425490.021275
M1-0.1009116593094530.305046-0.33080.742230.371115
M20.05623617912563510.3071710.18310.8555080.427754
M3-0.1447356214194190.305566-0.47370.6378870.318943
M40.06883153969335280.3015870.22820.8204360.410218
M50.1738745419395570.3170480.54840.5859480.292974
M6-0.02841294036888380.321296-0.08840.9299010.46495
M7-0.01813908303303920.316879-0.05720.9545890.477295
M8-0.1419184064473360.316506-0.44840.6558890.327944
M9-0.01660148345554070.314083-0.05290.9580650.479033
M100.01675793534081570.3145810.05330.9577370.478869
M11-0.1708928632254510.31541-0.54180.5904550.295227
t-0.0002024305785814160.005288-0.03830.9696220.484811


Multiple Linear Regression - Regression Statistics
Multiple R0.930999559820629
R-squared0.866760180386205
Adjusted R-squared0.825122736756894
F-TEST (value)20.8168442833037
F-TEST (DF numerator)15
F-TEST (DF denominator)48
p-value4.44089209850063e-16
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.495420919128886
Sum Squared Residuals11.7812105813045


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
11.41.6684952394143-0.268495239414302
21.21.57269851303543-0.372698513035428
311.25723917313660-0.257239173136603
41.71.215907770960070.484092229039932
52.42.137697478877190.262302521122805
622.68806803356663-0.688068033566632
72.12.20358548623104-0.103585486231038
822.0106013105807-0.0106013105806990
91.81.89315414481336-0.0931541448133602
102.71.836848547204750.863151452795252
112.32.58985864493489-0.289858644934887
121.92.3511967222786-0.451196722278602
1321.847399604428630.152600395571366
142.31.944971672477970.355028327522029
152.82.128426485767950.671573514232046
162.42.96888270683705-0.568882706837047
172.32.63954840025271-0.339548400252711
182.72.32452895294730.375471047052698
192.72.613920611245550.0860793887544462
202.92.562551639683020.337448360316985
2132.902346300759630.0976536992403654
222.22.9554120589418-0.755412058941799
232.31.935515464508200.364484535491797
242.82.150937190068270.649062809931734
252.82.528729271345380.271270728654616
262.82.81941637579620-0.0194163757962040
272.22.60008894906498-0.400088949064983
282.62.098655177594690.501344822405311
292.82.653969036705780.146030963294218
302.52.72839317473914-0.228393174739137
312.42.58130298622409-0.18130298622409
322.32.31515463393887-0.0151546339388751
331.92.28847344620946-0.38847344620946
341.71.93710060207289-0.237100602072885
3521.547905858947070.45209414105293
362.12.037281880918440.0627181190815605
371.72.10130212585547-0.401302125855473
381.81.89001611054914-0.0900161105491406
391.81.761355449796570.0386445502034257
401.81.94508311645681-0.145083116456815
411.32.14550420708751-0.845504207087507
421.31.45076946835289-0.150769468352894
431.31.42638929031106-0.126389290311061
441.21.31389140458455-0.113891404584549
451.41.44873419090732-0.0487341909073234
462.21.701385888713650.49861411128635
472.92.357059893123910.542940106876085
483.13.23948986120693-0.139489861206927
493.53.275628616626820.224371383373185
503.63.70337014226702-0.103370142267017
514.43.525064435616840.874935564383159
524.14.56861774502371-0.468617745023706
535.14.323280877076800.776719122923195
545.85.108240370394040.691759629605964
555.95.574801625988260.325198374011744
565.45.59780101121286-0.197801011212862
575.55.067291917310220.432708082689779
584.85.16925290306692-0.369252903066918
593.24.26966013848593-1.06966013848593
602.72.82109434552776-0.121094345527764
612.12.078445142329390.0215548576706082
621.91.669527185874240.23047281412576
630.61.52782550661704-0.927825506617044
640.70.5028534831276750.197146516872325


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
190.4744075063568120.9488150127136240.525592493643188
200.3072644548747090.6145289097494190.69273554512529
210.2028595505043440.4057191010086870.797140449495656
220.5428137795337620.9143724409324750.457186220466238
230.4359702730356340.8719405460712670.564029726964366
240.3863062835614730.7726125671229450.613693716438527
250.2872804493751580.5745608987503150.712719550624842
260.2087894655369840.4175789310739680.791210534463016
270.1734110797087880.3468221594175760.826588920291212
280.1390204847349720.2780409694699430.860979515265028
290.09721661659681890.1944332331936380.902783383403181
300.08198056930734840.1639611386146970.918019430692652
310.0751429940637340.1502859881274680.924857005936266
320.06557545361947420.1311509072389480.934424546380526
330.05589406351357660.1117881270271530.944105936486423
340.03679291763038440.07358583526076880.963207082369616
350.03904081937740860.07808163875481710.960959180622591
360.03052939243508340.06105878487016670.969470607564917
370.01672601737137070.03345203474274140.98327398262863
380.008975581266379260.01795116253275850.99102441873362
390.004963616080204730.009927232160409460.995036383919795
400.005164556212857090.01032911242571420.994835443787143
410.005184564778959240.01036912955791850.99481543522104
420.005781469690007120.01156293938001420.994218530309993
430.005021522946096220.01004304589219240.994978477053904
440.003019352080302130.006038704160604260.996980647919698
450.01854288184272380.03708576368544760.981457118157276


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level20.0740740740740741NOK
5% type I error level90.333333333333333NOK
10% type I error level120.444444444444444NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/23/t125901442892rrgxkdnuma2nx/10rayl1259014337.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/23/t125901442892rrgxkdnuma2nx/10rayl1259014337.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/23/t125901442892rrgxkdnuma2nx/1cj531259014337.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/23/t125901442892rrgxkdnuma2nx/1cj531259014337.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/23/t125901442892rrgxkdnuma2nx/2aylj1259014337.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/23/t125901442892rrgxkdnuma2nx/2aylj1259014337.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/23/t125901442892rrgxkdnuma2nx/3p9iq1259014337.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/23/t125901442892rrgxkdnuma2nx/3p9iq1259014337.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/23/t125901442892rrgxkdnuma2nx/4dvwg1259014337.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/23/t125901442892rrgxkdnuma2nx/4dvwg1259014337.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/23/t125901442892rrgxkdnuma2nx/5vb1x1259014337.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/23/t125901442892rrgxkdnuma2nx/5vb1x1259014337.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/23/t125901442892rrgxkdnuma2nx/6ba111259014337.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/23/t125901442892rrgxkdnuma2nx/6ba111259014337.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/23/t125901442892rrgxkdnuma2nx/7jduf1259014337.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/23/t125901442892rrgxkdnuma2nx/7jduf1259014337.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/23/t125901442892rrgxkdnuma2nx/8cqef1259014337.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/23/t125901442892rrgxkdnuma2nx/8cqef1259014337.ps (open in new window)


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