Home » date » 2010 » Dec » 06 »

*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, 06 Dec 2010 18:34:18 +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/06/t1291660379oatrj6whl89f7oj.htm/, Retrieved Mon, 06 Dec 2010 19:33:09 +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/06/t1291660379oatrj6whl89f7oj.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 «
2454.62 11527.72 10364.91 10383 -0.4 0 2.3 3.19 2407.6 2472.81 2408.64 2440.25 2448.05 11383.89 10152.09 10431 3 -4 2.4 3.35 2454.62 2407.6 2472.81 2408.64 2497.84 10989.34 10032.8 10574 0.4 -2 2.2 3.24 2448.05 2454.62 2407.6 2472.81 2645.64 11079.42 10204.59 10653 1.2 -2 2 3.23 2497.84 2448.05 2454.62 2407.6 2756.76 11028.93 10001.6 10805 0.6 -6 2.9 3.31 2645.64 2497.84 2448.05 2454.62 2849.27 10973 10411.75 10872 -1.3 -7 2.6 3.25 2756.76 2645.64 2497.84 2448.05 2921.44 11068.05 10673.38 10625 -3.2 -6 2.3 3.2 2849.27 2756.76 2645.64 2497.84 2981.85 11394.84 10539.51 10407 -1.8 -6 2.3 3.1 2921.44 2849.27 2756.76 2645.64 3080.58 11545.71 10723.78 10463 -3.6 -3 2.6 2.93 2981.85 2921.44 2849.27 2756.76 3106.22 11809.38 10682.06 10556 -4.2 -2 3.1 2.92 3080.58 2981.85 2921.44 2849.27 3119.31 11395.64 10283.19 10646 -6.9 -5 2.8 2.9 3106.22 3080.58 2981.85 2921.44 3061.26 11082.38 10377.18 10702 -8 -11 2.5 2.87 3119.31 3106.22 3080.58 2981.85 3097.31 11402.75 10486.64 11353 -7.5 -11 2.9 2.76 3061.26 3119 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 time7 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
BEL_20[t] = -203.213533723905 + 0.0883416305203353Nikkei[t] + 0.136821877484492DJ_Indust[t] -0.00815216372016688Goudprijs[t] -7.96149871283661Conjunct_Seizoenzuiver[t] + 9.82043023620331Cons_vertrouw[t] -8.46487453756446Alg_consumptie_index_BE[t] -242.695105335560Gem_rente_kasbon_5j[t] + 0.448559634759112Y1[t] -0.0614225929551998Y2[t] + 0.0748163256792463Y3[t] + 0.0777147845854144Y4[t] + 3.31975176170273t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)-203.213533723905364.963374-0.55680.5799610.28998
Nikkei0.08834163052033530.0128736.862600
DJ_Indust0.1368218774844920.02794.90419e-064e-06
Goudprijs-0.008152163720166880.01353-0.60250.5493480.274674
Conjunct_Seizoenzuiver-7.961498712836614.120919-1.9320.0586170.029308
Cons_vertrouw9.820430236203314.5779922.14510.0364570.018228
Alg_consumptie_index_BE-8.4648745375644611.338721-0.74650.4585760.229288
Gem_rente_kasbon_5j-242.69510533556040.289138-6.023800
Y10.4485596347591120.0953334.70521.8e-059e-06
Y2-0.06142259295519980.111788-0.54950.5849580.292479
Y30.07481632567924630.1102240.67880.5001850.250093
Y40.07771478458541440.0763271.01820.313130.156565
t3.319751761702733.5872790.92540.3588630.179432


Multiple Linear Regression - Regression Statistics
Multiple R0.995516590819115
R-squared0.991053282596114
Adjusted R-squared0.989065123173029
F-TEST (value)498.477773506692
F-TEST (DF numerator)12
F-TEST (DF denominator)54
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation88.5147247296587
Sum Squared Residuals423082.250674232


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
12454.622659.41920362837-204.799203628373
22448.052541.93556256269-93.8855625626862
32497.842555.91613445387-58.0761344538721
42645.642608.9924498636136.6475501363918
52756.762583.70190270218173.058097297817
62849.272704.03979724598145.230202754016
72921.442842.7864539947278.6535460052832
82981.852918.0497865193763.8002134806256
93080.583080.185524364850.394475635151281
103106.223166.28843998531-60.0684399853104
113119.313092.7431554830726.5668445169261
123061.263056.825894159394.434105840607
133097.313100.19504336697-2.88504336697123
143161.693187.7893931429-26.0993931429015
153257.163243.5560536940613.6039463059389
163277.013281.93014502248-4.92014502247929
173295.323347.25156043464-51.9315604346404
183363.993450.2886889283-86.2986889282974
193494.173615.31060874214-121.140608742139
203667.033734.99754659932-67.9675465993223
213813.063838.11036554343-25.050365543431
223917.963894.8652194767223.0947805232830
233895.513972.03584861159-76.5258486115918
243801.063847.75211774549-46.6921177454914
253570.123714.74121197296-144.621211972964
263701.613603.4672596094498.1427403905601
273862.273761.76937591638100.500624083617
283970.13894.1821261622375.917873837766
294138.524065.5724479825172.9475520174938
304199.754152.2903540340347.4596459659651
314290.894180.74605303013110.143946969868
324443.914343.89356144805100.016438551948
334502.644434.4035544746368.2364455253744
344356.984354.985709354791.99429064520637
354591.274421.81018660151169.459813398486
364696.964663.5580451278933.4019548721148
374621.44636.3311982691-14.9311982691006
384562.844576.68871303656-13.8487130365623
394202.524415.51234255912-212.992342559122
404296.494294.354152714972.13584728502725
414435.234471.02998433135-35.7999843313469
424105.184229.14070327235-123.960703272347
434116.684147.34408845802-30.664088458021
443844.493843.165212323701.32478767630371
453720.983740.23749408303-19.2574940830285
463674.43636.985786466237.4142135338013
473857.623762.8199403857494.800059614259
483801.063789.2967647855111.7632352144877
493504.373508.77366761102-4.40366761102274
503032.63086.16492879333-53.5649287933256
513047.032952.4510920750894.5789079249208
522962.342975.40150003758-13.0615000375790
532197.822319.6498329147-121.829832914701
542014.451946.7660736646967.6839263353147
551862.831948.58907253136-85.7590725313615
561905.411856.6870229507948.7229770492113
571810.991692.54657881721118.443421182787
581670.071668.854376279141.21562372086194
591864.441800.7389781354163.7010218645875
602052.022007.2268127936644.7931872063417
612029.62106.75674890070-77.1567489006961
622070.832095.46278865392-24.6327886539187
632293.412327.02320810613-33.6132081061270
642443.272457.91506716159-14.6450671615913
652513.172475.4993761189737.6706238810282
662466.922534.16777929508-67.247779295082
672502.662552.28193248797-49.621932487967


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.04471378749999400.08942757499998790.955286212500006
170.0617570684064720.1235141368129440.938242931593528
180.0406673296116430.0813346592232860.959332670388357
190.02814582719477540.05629165438955070.971854172805225
200.01535922093111080.03071844186222170.98464077906889
210.007861784271280560.01572356854256110.99213821572872
220.00332431109523630.00664862219047260.996675688904764
230.005649168442560680.01129833688512140.99435083155744
240.005795930226321330.01159186045264270.994204069773679
250.03358914092889540.06717828185779080.966410859071105
260.4865026547739960.9730053095479920.513497345226004
270.4485370374231980.8970740748463970.551462962576802
280.5324225335252770.9351549329494470.467577466474723
290.4961745635493430.9923491270986850.503825436450657
300.6166512763367910.7666974473264180.383348723663209
310.636818647301050.7263627053978990.363181352698950
320.6568542131574890.6862915736850220.343145786842511
330.6136724644741160.7726550710517670.386327535525884
340.6140320418345310.7719359163309370.385967958165469
350.8036674959039990.3926650081920020.196332504096001
360.7712278578513370.4575442842973260.228772142148663
370.7744004984276450.4511990031447090.225599501572355
380.849000932288620.3019981354227590.150999067711380
390.9686763355915030.06264732881699480.0313236644084974
400.952633390827610.09473321834478160.0473666091723908
410.938536440566160.1229271188676790.0614635594338396
420.9535271237446080.09294575251078460.0464728762553923
430.970675608560310.05864878287937830.0293243914396891
440.9697374570424380.06052508591512440.0302625429575622
450.9704856025802580.05902879483948420.0295143974197421
460.9418837567383540.1162324865232930.0581162432616464
470.895308552054190.2093828958916210.104691447945811
480.8242304356647180.3515391286705630.175769564335282
490.7136218937970730.5727562124058530.286378106202927
500.8851031149758750.229793770048250.114896885024125
510.8110121782226320.3779756435547350.188987821777368


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level10.0277777777777778NOK
5% type I error level50.138888888888889NOK
10% type I error level150.416666666666667NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/06/t1291660379oatrj6whl89f7oj/10edf1291660450.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/06/t1291660379oatrj6whl89f7oj/10edf1291660450.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/06/t1291660379oatrj6whl89f7oj/10kc3k1291660450.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/06/t1291660379oatrj6whl89f7oj/10kc3k1291660450.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/06/t1291660379oatrj6whl89f7oj/20edf1291660450.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/06/t1291660379oatrj6whl89f7oj/20edf1291660450.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/06/t1291660379oatrj6whl89f7oj/3o25c1291660450.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/06/t1291660379oatrj6whl89f7oj/3o25c1291660450.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/06/t1291660379oatrj6whl89f7oj/4o25c1291660450.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/06/t1291660379oatrj6whl89f7oj/4o25c1291660450.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/06/t1291660379oatrj6whl89f7oj/5o25c1291660450.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/06/t1291660379oatrj6whl89f7oj/5o25c1291660450.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/06/t1291660379oatrj6whl89f7oj/6hb4f1291660450.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/06/t1291660379oatrj6whl89f7oj/6hb4f1291660450.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/06/t1291660379oatrj6whl89f7oj/7r33h1291660450.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/06/t1291660379oatrj6whl89f7oj/7r33h1291660450.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/06/t1291660379oatrj6whl89f7oj/8r33h1291660450.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/06/t1291660379oatrj6whl89f7oj/8r33h1291660450.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/06/t1291660379oatrj6whl89f7oj/9r33h1291660450.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/06/t1291660379oatrj6whl89f7oj/9r33h1291660450.ps (open in new window)


 
Parameters (Session):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = Linear Trend ;
 
Parameters (R input):
par1 = 1 ; par2 = Do not include Seasonal 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