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:40:08 +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/t1291660690pd0woejicpsmiye.htm/, Retrieved Mon, 06 Dec 2010 19:38:10 +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/t1291660690pd0woejicpsmiye.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 «
2350.44 10892.76 10540.05 10570 -4.9 -3 1.6 3.38 2440.25 10631.92 10601.61 10297 -4 -1 1.3 3.35 2408.64 11441.08 10323.73 10635 -3.1 -3 1.1 3.22 2472.81 11950.95 10418.4 10872 -1.3 -4 1.9 3.06 2407.6 11037.54 10092.96 10296 0 -6 2.6 3.17 2454.62 11527.72 10364.91 10383 -0.4 0 2.3 3.19 2448.05 11383.89 10152.09 10431 3 -4 2.4 3.35 2497.84 10989.34 10032.8 10574 0.4 -2 2.2 3.24 2645.64 11079.42 10204.59 10653 1.2 -2 2 3.23 2756.76 11028.93 10001.6 10805 0.6 -6 2.9 3.31 2849.27 10973 10411.75 10872 -1.3 -7 2.6 3.25 2921.44 11068.05 10673.38 10625 -3.2 -6 2.3 3.2 2981.85 11394.84 10539.51 10407 -1.8 -6 2.3 3.1 3080.58 11545.71 10723.78 10463 -3.6 -3 2.6 2.93 3106.22 11809.38 10682.06 10556 -4.2 -2 3.1 2.92 3119.31 11395.64 10283.19 10646 -6.9 -5 2.8 2.9 3061.26 11082.38 10377.18 10702 -8 -11 2.5 2.87 3097.31 11402.75 10486.64 11353 -7.5 -11 2.9 2.76 3161.69 11716.87 10545.38 11346 -8.2 -11 3.1 2.67 3257.16 12204.98 10554.27 11451 -7.6 -10 3.1 2.75 3277.01 12986.62 10532.54 11964 -3.7 -14 3.2 2 etc...
 
Output produced by software:

Enter (or paste) a matrix (table) containing all data (time) series. Every column represents a different variable and must be delimited by a space or Tab. Every row represents a period in time (or category) and must be delimited by hard returns. The easiest way to enter data is to copy and paste a block of spreadsheet cells. Please, do not use commas or spaces to seperate groups of digits!


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Multiple Linear Regression - Estimated Regression Equation
BEL_20[t] = -694.276827768513 + 0.186289311341488Nikkei[t] + 0.238668063115473DJ_Indust[t] -0.0401626357343952Goudprijs[t] -3.31443430461099Conjunct_Seizoenzuiver[t] + 3.1995090939585Cons_vertrouw[t] + 39.6618902538806Alg_consumptie_index_BE[t] -302.748978637587Gem_rente_kasbon_5j[t] + 14.2294511552077t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)-694.276827768513463.181345-1.49890.1388860.069443
Nikkei0.1862893113414880.01416613.150700
DJ_Indust0.2386680631154730.0351196.796100
Goudprijs-0.04016263573439520.019447-2.06520.0430210.021511
Conjunct_Seizoenzuiver-3.314434304610996.070118-0.5460.5869770.293489
Cons_vertrouw3.19950909395857.4241820.4310.667970.333985
Alg_consumptie_index_BE39.661890253880616.3088482.43190.0178730.008937
Gem_rente_kasbon_5j-302.74897863758754.975934-5.50691e-060
t14.22945115520774.6249913.07660.0030960.001548


Multiple Linear Regression - Regression Statistics
Multiple R0.985849235217833
R-squared0.971898714579585
Adjusted R-squared0.968330297383342
F-TEST (value)272.361291051620
F-TEST (DF numerator)8
F-TEST (DF denominator)63
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation150.489825361688
Sum Squared Residuals1426772.81485565


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
12350.442487.02131874436-136.581318744363
22440.252478.91580104686-38.6658010468649
32408.642586.03003922044-177.390039220441
42472.812779.32284035828-306.512840358283
52407.62552.60846810745-145.008468107445
62454.622722.13412598806-267.514125988063
72448.052588.3076812174-140.257681217401
82497.842535.20927140303-37.3692714030259
92645.642596.4911663553849.1488336446237
102756.762547.42932656193209.330673438068
112849.272655.80271375331193.467286246689
122921.442772.83767645926148.602323540742
132981.852850.38426248588131.465737514116
143080.583013.3798409070767.2001590929269
153106.223091.0824426572615.1375573427443
163119.312922.93124442423196.378755575766
173061.262880.61973501399180.640264986011
183097.313002.0193497685895.2906502314214
193161.693126.5663900213035.1236099786953
203257.163206.6211294845850.538870515424
213277.013327.9963970342-50.9863970341988
223295.323328.49878197328-33.1787819732749
233363.993549.65334232637-185.663342326373
243494.173785.4780615772-291.308061577200
253667.033840.49091679821-173.460916798215
263813.063895.43834951639-82.378349516389
273917.963910.966748760316.99325123969077
283895.514002.90986145241-107.399861452414
293801.063789.0809545993911.9790454006065
303570.123541.3847439552628.7352560447420
313701.613508.93067997176192.679320028236
323862.273698.22777675659164.042223243408
333970.13848.72042868652121.379571313481
344138.524086.9895222878551.5304777121477
354199.754070.15856361785129.591436382153
364290.894237.8268959029253.0631040970839
374443.914355.2044044122888.7055955877244
384502.644375.44658313298127.193416867024
394356.984202.99735998728153.982640012719
404591.274397.1229519667194.147048033301
414696.964590.58289480372106.377105196278
424621.44595.0571318193726.3428681806313
434562.844602.57140316969-39.73140316969
444202.524238.09720034287-35.5772003428662
454296.494290.900140273075.58985972693068
464435.234520.57511193465-85.345111934655
474105.184125.96061717701-20.7806171770052
484116.684225.78714297501-109.107142975014
493844.493607.19117713873237.298822861266
503720.983591.33284186625129.647158133755
513674.43507.91951496874166.480485031262
523857.623850.821850363446.79814963655667
533801.063973.36812494501-172.308124945013
543504.373688.75518496188-184.385184961879
553032.63187.4458297138-154.845829713798
563047.033253.06100858942-206.031008589422
572962.343126.91581941074-164.575819410737
582197.822038.50447139775159.315528602246
592014.451891.44290525407123.007094745931
601862.831890.41832365926-27.5883236592584
611905.411825.0388726830080.3711273169951
621810.991497.77012922094313.219870779062
631670.071492.50093920378177.569060796216
641864.441908.70209595658-44.2620959565847
652052.022061.05625069554-9.03625069554037
662029.62166.05577177178-136.455771771780
672070.832159.25080121525-88.4208012152534
682293.412519.36423985320-225.954239853204
692443.272528.26721163569-84.9972116356874
702513.172513.011430889410.158569110587452
712466.922550.56186804724-83.641868047237
722502.662684.46354536869-181.803545368686


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
120.1587955150635390.3175910301270770.841204484936461
130.1117187276056420.2234374552112850.888281272394358
140.06006408172151430.1201281634430290.939935918278486
150.02892751515116810.05785503030233620.971072484848832
160.01445751136305860.02891502272611720.985542488636941
170.05598594913494090.1119718982698820.94401405086506
180.07868830054890530.1573766010978110.921311699451095
190.0547231753019440.1094463506038880.945276824698056
200.03260358351400380.06520716702800750.967396416485996
210.01759402156378360.03518804312756710.982405978436216
220.009240104773611670.01848020954722330.990759895226388
230.0073626070159660.0147252140319320.992637392984034
240.007886239506354040.01577247901270810.992113760493646
250.01321372548072960.02642745096145920.98678627451927
260.02875167746731010.05750335493462030.97124832253269
270.03019460737664270.06038921475328550.969805392623357
280.04321350643073330.08642701286146650.956786493569267
290.1816410687398090.3632821374796170.818358931260191
300.7390789038211890.5218421923576220.260921096178811
310.7477504252504160.5044991494991670.252249574749584
320.7614801341992220.4770397316015570.238519865800778
330.7808238161876470.4383523676247060.219176183812353
340.8742411879163580.2515176241672850.125758812083643
350.9552113037509260.08957739249814850.0447886962490742
360.958198902070120.08360219585976020.0418010979298801
370.9676363980393930.06472720392121360.0323636019606068
380.9622368345964620.0755263308070760.037763165403538
390.9549091648410780.09018167031784360.0450908351589218
400.9405301697644070.1189396604711870.0594698302355935
410.9273019263266350.1453961473467300.0726980736733652
420.935033813035160.1299323739296800.0649661869648401
430.961604541478080.07679091704384080.0383954585219204
440.9927912517636550.014417496472690.007208748236345
450.995875616195950.008248767608101010.00412438380405051
460.9950055482778620.009988903444276020.00499445172213801
470.9925903699882530.01481926002349360.00740963001174679
480.9921520648956890.01569587020862260.00784793510431132
490.9896095770596170.02078084588076610.0103904229403831
500.987010804291810.02597839141638000.0129891957081900
510.988967129483390.02206574103321950.0110328705166097
520.981947039144620.03610592171076150.0180529608553807
530.9779827565378930.04403448692421310.0220172434621065
540.9781528582850820.04369428342983640.0218471417149182
550.9583494202440930.08330115951181330.0416505797559067
560.9341221443178460.1317557113643080.065877855682154
570.9079427357032830.1841145285934330.0920572642967166
580.8305161475949440.3389677048101120.169483852405056
590.9866187061759160.02676258764816880.0133812938240844
600.9545552679384760.09088946412304860.0454447320615243


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level20.0408163265306122NOK
5% type I error level180.36734693877551NOK
10% type I error level310.63265306122449NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/06/t1291660690pd0woejicpsmiye/10161a1291660799.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/06/t1291660690pd0woejicpsmiye/10161a1291660799.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/06/t1291660690pd0woejicpsmiye/1u5my1291660799.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/06/t1291660690pd0woejicpsmiye/1u5my1291660799.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/06/t1291660690pd0woejicpsmiye/25w3j1291660799.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/06/t1291660690pd0woejicpsmiye/25w3j1291660799.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/06/t1291660690pd0woejicpsmiye/35w3j1291660799.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/06/t1291660690pd0woejicpsmiye/35w3j1291660799.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/06/t1291660690pd0woejicpsmiye/45w3j1291660799.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/06/t1291660690pd0woejicpsmiye/45w3j1291660799.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/06/t1291660690pd0woejicpsmiye/55w3j1291660799.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/06/t1291660690pd0woejicpsmiye/55w3j1291660799.ps (open in new window)


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


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


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


http://www.freestatistics.org/blog/date/2010/Dec/06/t1291660690pd0woejicpsmiye/9qx271291660799.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/06/t1291660690pd0woejicpsmiye/9qx271291660799.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