Home » date » 2010 » Dec » 24 »

*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: Fri, 24 Dec 2010 17:45:10 +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/24/t1293212617toaugcr0jgd9k5h.htm/, Retrieved Fri, 24 Dec 2010 18:43:48 +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/24/t1293212617toaugcr0jgd9k5h.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 «
3010 2590 11290 4700 44,51 2910 2080 11620 4960 45,48 3840 2640 10790 4880 53,1 3580 3000 8380 4090 51,88 3140 2350 9370 3450 48,65 3550 2220 10090 3020 54,35 3250 2540 11130 3070 57,52 2820 2700 10530 3720 63,98 2260 2580 10490 3750 62,91 2060 2420 10570 3910 58,54 2120 2090 11170 4120 55,24 2210 2000 11610 4780 56,86 2190 1860 10920 3070 62,99 2180 1980 11570 4100 60,21 2350 2690 12960 3900 62,06 2440 3040 11190 3020 70,26 2370 2450 11920 3220 69,78 2440 2650 14930 4030 68,56 2610 2710 14520 4210 73,67 3040 3230 12970 4510 73,23 3190 3160 13870 4320 61,96 3120 3040 13250 3890 57,81 3170 2630 12760 7280 58,76 3600 2730 14050 9640 62,47 3420 2830 14660 5680 53,68 3650 2320 15010 6320 57,56 4180 2410 15020 5820 62,05 2960 3080 13090 4890 67,49 2710 2260 13190 3320 67,21 2950 2300 11390 2930 71,05 3030 3600 10110 3530 76,93 3770 3380 8240 3690 70,76 4740 3670 7920 3750 77,17 4450 3040 7700 3330 82,34 5550 2840 7920 4790 92,41 5580 2810 8130 5990 90,93 5890 2980 10510 5290 92, 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
Garnalen[t] = + 1054.73859795288 -0.389954780048043Kabeljauw[t] -0.116309920068412Tong[t] + 0.244707593115734Zeeduivel[t] + 58.4447910371906Olie[t] -15.5934957349337t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)1054.738597952881242.5747090.84880.3991880.199594
Kabeljauw-0.3899547800480430.313731-1.2430.2184890.109245
Tong-0.1163099200684120.07456-1.560.1237790.06189
Zeeduivel0.2447075931157340.0976372.50630.0147950.007397
Olie58.44479103719068.1106397.205900
t-15.59349573493377.10635-2.19430.0319090.015954


Multiple Linear Regression - Regression Statistics
Multiple R0.703122021824278
R-squared0.494380577574261
Adjusted R-squared0.454252051984917
F-TEST (value)12.3199287866569
F-TEST (DF numerator)5
F-TEST (DF denominator)63
p-value2.40444402166418e-08
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1090.81058453612
Sum Squared Residuals74961667.0741697


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
130102467.52656103045542.473438969554
229102732.74315101361177.256848986392
338403021.08491236269818.915087637313
435802880.79295954853699.207040451474
531402658.1337153329481.8662846671
635502837.40224242717712.597757572826
732502773.5662674494476.433732550602
828203301.9792445733-481.979244573303
922603282.63802063055-1022.63802063055
1020603103.88197416382-1043.88197416382
1121203005.70838793527-885.708387935272
1222103230.22203051119-1020.22203051119
1321903289.29263366026-1099.29263366026
1421803240.87541810091-1060.87541810091
1523502845.92458443243-495.924584432433
1624403163.62007876489-723.620078764891
1723703314.08168053366-944.081680533656
1824402997.31487474157-557.314874741566
1926103348.71140839267-738.711408392674
2030403358.31837301715-318.318373017154
2131902560.17554614288629.824453857116
2231202315.71862661202804.281373387976
2331703402.07974367798-232.079743677979
2436003991.7910675511-391.791067551099
2534202383.481260614421036.51873938558
2636502909.43487949841740.565120501589
2741802997.645669557591182.35433044241
2829603035.62221856718-75.6222185671848
2927102927.60518778269-217.605187782690
3029503234.76339323665-284.763393236652
3130303351.58530829495-321.585308294952
3237703317.83026889757452.169731102431
3347403615.682627505931124.31737249407
3444504070.73120616998379.268793830018
3555505053.35261572309496.647384276913
3655805232.18350117907347.816498820933
3758904775.240756688621114.75924331138
3874805171.91363447562308.08636552440
39104505381.847729134975068.15227086503
4063605735.12277705153624.877222948473
4167106091.69750834594618.302491654064
4262006502.39279965423-302.392799654229
4344906215.78202853109-1725.78202853109
4434805439.15787542671-1959.15787542671
4525204431.2870302797-1911.28703027970
4619203359.09295347234-1439.09295347234
4720102311.36989226247-301.369892262471
4819502062.29996250834-112.299962508339
4922403549.44389266759-1309.44389266759
5023701967.56075122512402.439248774879
5128402099.38449283507740.61550716493
5227002548.68506685741151.314933142592
5329802404.81498668755575.185013312445
5432902740.45480732615549.545192673847
5533002380.85120456913919.148795430874
5630002747.00811955736252.991880442644
5723302545.66452811223-215.664528112230
5821903141.39934739862-951.399347398616
5919703284.82409133136-1314.82409133136
6021703011.76782380086-841.767823800859
6128303635.58902190936-805.589021909361
6231903606.91716935954-416.917169359536
6335503852.27577345224-302.275773452241
6432404008.75512930663-768.755129306631
6534503313.1163402074136.8836597926
6635702443.128626542371126.87137345763
6732302375.58839863059854.411601369415
6832602914.5347881434345.4652118566
6927002997.52905261454-297.529052614543


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
90.03314869768789870.06629739537579740.966851302312101
100.02477425963254280.04954851926508560.975225740367457
110.01873357269925380.03746714539850760.981266427300746
120.01252436954984340.02504873909968680.987475630450157
130.004666444120990720.009332888241981450.99533355587901
140.002585220238962370.005170440477924750.997414779761038
150.001374055953522340.002748111907044680.998625944046478
160.0004812780500254660.0009625561000509320.999518721949975
170.0002392547899257610.0004785095798515230.999760745210074
180.0001198284434626650.000239656886925330.999880171556537
198.1652100180557e-050.0001633042003611140.99991834789982
208.21371466234157e-050.0001642742932468310.999917862853377
214.49547343776795e-058.99094687553591e-050.999955045265622
221.60678323657249e-053.21356647314498e-050.999983932167634
231.24946547448530e-052.49893094897060e-050.999987505345255
246.00202270161522e-061.20040454032304e-050.999993997977298
252.26591177520537e-064.53182355041074e-060.999997734088225
263.31641318283158e-066.63282636566316e-060.999996683586817
272.09230401870338e-054.18460803740677e-050.999979076959813
288.6381985881277e-061.72763971762554e-050.999991361801412
295.37581103993991e-061.07516220798798e-050.99999462418896
308.340662792114e-061.6681325584228e-050.999991659337208
315.4709959470224e-061.09419918940448e-050.999994529004053
322.61306197772195e-065.2261239554439e-060.999997386938022
337.91349219094824e-061.58269843818965e-050.99999208650781
341.18568518216917e-052.37137036433834e-050.999988143148178
359.35449039048027e-050.0001870898078096050.999906455096095
368.3988848563861e-050.0001679776971277220.999916011151436
370.0001956964055313410.0003913928110626820.999804303594469
380.004553591481720160.009107182963440310.99544640851828
390.9685187184149290.06296256317014190.0314812815850709
400.9771529448452960.04569411030940840.0228470551547042
410.9938726434281170.01225471314376700.00612735657188348
420.9996206390239210.0007587219521573660.000379360976078683
430.9999099236562880.0001801526874248749.00763437124369e-05
440.9999772459958354.55080083302163e-052.27540041651081e-05
450.9999785429374384.29141251237662e-052.14570625618831e-05
460.9999649526689197.00946621625266e-053.50473310812633e-05
470.9999151281591470.0001697436817051128.4871840852556e-05
480.999796241367740.0004075172645183080.000203758632259154
490.9998125022338180.0003749955323634680.000187497766181734
500.9995644418723080.0008711162553845620.000435558127692281
510.9989403301099470.002119339780106350.00105966989005318
520.9980636581434770.003872683713045860.00193634185652293
530.9960380320936530.007923935812694290.00396196790634714
540.9929321673589120.01413566528217530.00706783264108767
550.9857543998581030.02849120028379420.0142456001418971
560.9886454218201780.02270915635964340.0113545781798217
570.9741006063283880.05179878734322410.0258993936716120
580.9406518198907110.1186963602185780.0593481801092891
590.9067891347147720.1864217305704570.0932108652852283
600.9432040288443310.1135919423113380.0567959711556689


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level380.730769230769231NOK
5% type I error level460.884615384615385NOK
10% type I error level490.942307692307692NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/24/t1293212617toaugcr0jgd9k5h/10f3mx1293212701.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/24/t1293212617toaugcr0jgd9k5h/10f3mx1293212701.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/24/t1293212617toaugcr0jgd9k5h/1n2qy1293212701.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/24/t1293212617toaugcr0jgd9k5h/1n2qy1293212701.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/24/t1293212617toaugcr0jgd9k5h/2gb711293212701.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/24/t1293212617toaugcr0jgd9k5h/2gb711293212701.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/24/t1293212617toaugcr0jgd9k5h/3gb711293212701.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/24/t1293212617toaugcr0jgd9k5h/3gb711293212701.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/24/t1293212617toaugcr0jgd9k5h/4gb711293212701.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/24/t1293212617toaugcr0jgd9k5h/4gb711293212701.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/24/t1293212617toaugcr0jgd9k5h/5gb711293212701.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/24/t1293212617toaugcr0jgd9k5h/5gb711293212701.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/24/t1293212617toaugcr0jgd9k5h/6qkp41293212701.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/24/t1293212617toaugcr0jgd9k5h/6qkp41293212701.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/24/t1293212617toaugcr0jgd9k5h/7ulns1293212701.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/24/t1293212617toaugcr0jgd9k5h/7ulns1293212701.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/24/t1293212617toaugcr0jgd9k5h/8ulns1293212701.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/24/t1293212617toaugcr0jgd9k5h/8ulns1293212701.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/24/t1293212617toaugcr0jgd9k5h/9mcmd1293212701.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/24/t1293212617toaugcr0jgd9k5h/9mcmd1293212701.ps (open in new window)


 
Parameters (Session):
par1 = 12 ; par2 = -1.0 ; par3 = 1 ; par4 = 0 ; par5 = 12 ; par6 = 3 ; par7 = 1 ; par8 = 1 ; par9 = 0 ; par10 = FALSE ;
 
Parameters (R input):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = Linear Trend ; par4 = 0 ; par5 = 12 ; par6 = 3 ; par7 = 1 ; par8 = 1 ; par9 = 0 ; par10 = FALSE ;
 
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