Home » date » 2010 » Nov » 29 »

WS8 Multiple Regression 1

*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, 29 Nov 2010 11:10:34 +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/Nov/29/t1291029003fefs5bxgldj3fwd.htm/, Retrieved Mon, 29 Nov 2010 12:10:22 +0100
 
BibTeX entries for LaTeX users:
@Manual{KEY,
    author = {{YOUR NAME}},
    publisher = {Office for Research Development and Education},
    title = {Statistical Computations at FreeStatistics.org, URL http://www.freestatistics.org/blog/date/2010/Nov/29/t1291029003fefs5bxgldj3fwd.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 «
37 0 30 1 47 0 35 0 30 1 43 0 82 0 40 0 47 0 19 1 52 0 136 0 80 0 42 0 54 0 66 0 81 0 63 0 137 0 72 0 107 0 58 0 36 0 52 0 79 0 77 0 54 0 84 0 48 0 96 0 83 0 66 0 61 0 53 0 30 1 74 0 69 0 59 0 42 0 65 0 70 0 100 0 63 0 105 0 82 0 81 0 75 0 102 0 121 0 98 0 76 0 77 0 63 0 37 0 35 0 23 1 40 0 29 1 37 0 51 0 20 1 28 1 13 1 22 1 25 1 13 1 16 1 13 1 16 1 17 1 9 1 17 1 25 1 14 1 8 1 7 1 10 1 7 1 10 1 3 1
 
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 time14 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
Soldiers[t] = + 82.19825815463 -48.8422479664777Dummy[t] -4.8590042294134M1[t] -9.68968586530826M2[t] -24.3324383487682M3[t] -15.4262982655884M4[t] -12.5426941871975M5[t] -14.8997323849432M6[t] -5.27930658747765M7[t] -13.1099882233725M8[t] -13.3136583447774M9[t] -12.9839117965813M10[t] -24.075289231624M11[t] -0.0489972260369107t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)82.1982581546310.2343288.031600
Dummy-48.84224796647776.778625-7.205300
M1-4.859004229413412.205622-0.39810.6918450.345922
M2-9.6896858653082612.32179-0.78640.4344560.217228
M3-24.332438348768212.182607-1.99730.0499170.024959
M4-15.426298265588412.173329-1.26720.2095290.104765
M5-12.542694187197512.274483-1.02190.3105820.155291
M6-14.899732384943212.159246-1.22540.2247860.112393
M7-5.2793065874776512.154448-0.43440.665450.332725
M8-13.109988223372512.240395-1.0710.2880510.144026
M9-13.313658344777412.596936-1.05690.2944120.147206
M10-12.983911796581312.823909-1.01250.3150080.157504
M11-24.07528923162412.649201-1.90330.0613630.030682
t-0.04899722603691070.134976-0.3630.717760.35888


Multiple Linear Regression - Regression Statistics
Multiple R0.781049808513339
R-squared0.610038803378723
Adjusted R-squared0.53322826465029
F-TEST (value)7.94212374340375
F-TEST (DF numerator)13
F-TEST (DF denominator)66
p-value3.04937552986217e-09
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation21.8072579105914
Sum Squared Residuals31386.7288402174


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
13777.2902566991794-40.2902566991794
23023.56832987077026.43167012922982
34757.7188281277509-10.7188281277509
43566.5759709848939-31.5759709848939
53020.56832987077019.4316701292299
64367.0045424134652-24.0045424134652
78276.57597098489385.42402901510618
84068.6962921229621-28.6962921229621
94768.4436247755203-21.4436247755203
101919.8821261312018-0.88212613120179
115257.5839994365999-5.58399943659992
1213681.610291442186954.3897085578131
138076.70228998673673.29771001326335
144271.8226111248048-29.8226111248048
155457.130861415308-3.13086141530805
166665.98800427245090.0119957275490812
178168.822611124804912.1773888751951
186366.4165757010223-3.41657570102233
1913775.988004272450961.0119957275491
207268.10832541051923.89167458948085
2110767.855658063077339.1443419369227
225868.1364073852366-10.1364073852366
233656.996032724157-20.9960327241570
245281.022324729744-29.022324729744
257976.11432327429372.88567672570628
267771.23464441236195.76535558763807
275456.5428947028651-2.54289470286513
288465.40003756000818.599962439992
294868.234644412362-20.2346444123619
309665.828608988579430.1713910114206
318375.4000375600087.59996243999201
326667.5203586980762-1.52035869807623
336167.2676913506344-6.2676913506344
345367.5484406727937-14.5484406727937
35307.5658180452363122.4341819547637
367480.434358017301-6.43435801730108
376975.5263565618508-6.52635656185079
385970.646677699919-11.646677699919
394255.9549279904222-13.9549279904222
406564.81207084756510.187929152434931
417067.6466776999192.35332230008098
4210065.240642276136534.7593577238635
436374.812070847565-11.8120708475651
4410566.932391985633338.0676080143667
458266.679724638191515.3202753618085
468166.960473960350714.0395260396493
477555.820099299271119.1799007007289
4810279.846391304858122.1536086951418
4912174.938389849407946.0616101505921
509870.05871098747627.9412890125239
517655.366961277979320.6330387220207
527764.224104135122112.7758958648779
536367.0587109874761-4.0587109874761
543764.6526755636936-27.6526755636936
553574.2241041351221-39.2241041351221
562317.50217730671275.49782269328732
574066.0917579257486-26.0917579257485
582917.530259281430111.4697407185699
593755.2321325868282-18.2321325868282
605179.2584245924152-28.2584245924152
612025.5081751704872-5.50817517048724
622820.62849630855547.37150369144455
63135.936746599058647.06325340094136
642214.79388945620157.20611054379849
652517.62849630855557.37150369144453
661315.2224608847729-2.22246088477292
671624.7938894562015-8.7938894562015
681316.9142105942697-3.91421059426974
691616.6615432468279-0.661543246827923
701716.94229256898720.0577074310128269
7195.801917907907553.19808209209245
721729.8282099134946-12.8282099134946
732524.92020845804430.0797915419556903
741420.0405295961125-6.04052959611253
7585.348779886615722.65122011338428
76714.2059227437586-7.20592274375858
771017.0405295961125-7.04052959611254
78714.63449417233-7.63449417232999
791024.2059227437586-14.2059227437586
80316.3262438818268-13.3262438818268


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.3809356541385680.7618713082771360.619064345861432
180.2347706299081430.4695412598162860.765229370091857
190.337333607827450.67466721565490.66266639217255
200.2190770115439550.4381540230879090.780922988456045
210.2777198477703300.5554396955406610.72228015222967
220.1968564940227040.3937129880454080.803143505977296
230.4920700442860150.984140088572030.507929955713985
240.9894918252245660.02101634955086830.0105081747754342
250.9826008285937760.03479834281244800.0173991714062240
260.9716401772646510.05671964547069760.0283598227353488
270.9639240591894470.07215188162110690.0360759408105534
280.946202899965440.1075942000691180.0537971000345592
290.9653236435440840.06935271291183240.0346763564559162
300.9597078114933140.08058437701337220.0402921885066861
310.972247338084460.05550532383107960.0277526619155398
320.9616945014032960.07661099719340710.0383054985967036
330.9581810608923840.0836378782152320.041818939107616
340.958067436705240.08386512658952050.0419325632947603
350.937066311463360.1258673770732810.0629336885366406
360.932464502067340.1350709958653190.0675354979326596
370.9349536165848080.1300927668303830.0650463834151915
380.9468360156528950.106327968694210.053163984347105
390.9720286580074820.05594268398503690.0279713419925185
400.9702621283374270.05947574332514660.0297378716625733
410.9631452594474970.07370948110500690.0368547405525034
420.9685837006939190.06283259861216230.0314162993060811
430.9756203661203150.04875926775937060.0243796338796853
440.9849371001446450.03012579971070970.0150628998553548
450.978816209604640.04236758079071830.0211837903953591
460.9685318303012990.06293633939740250.0314681696987013
470.958835672608550.08232865478289990.0411643273914499
480.9704715693367440.05905686132651240.0295284306632562
490.99843997400020.003120051999599970.00156002599979999
500.9997900592112560.0004198815774889410.000209940788744471
510.9999581909544598.36180910824826e-054.18090455412413e-05
520.999999286663681.42667264019151e-067.13336320095755e-07
530.9999998304797823.39040435264190e-071.69520217632095e-07
540.9999996043030057.91393990156685e-073.95696995078342e-07
550.9999997788577544.42284492457833e-072.21142246228917e-07
560.999998845686952.30862610173089e-061.15431305086545e-06
570.9999964074085637.18518287461198e-063.59259143730599e-06
580.9999817597124323.6480575135959e-051.82402875679795e-05
590.9999211202529940.0001577594940127437.88797470063716e-05
600.999640060229290.0007198795414212950.000359939770710647
610.9998324735431080.0003350529137843840.000167526456892192
620.999062642849390.001874714301220920.000937357150610462
630.9953465272423090.009306945515382370.00465347275769118


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level150.319148936170213NOK
5% type I error level200.425531914893617NOK
10% type I error level350.74468085106383NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Nov/29/t1291029003fefs5bxgldj3fwd/10am0p1291029019.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t1291029003fefs5bxgldj3fwd/10am0p1291029019.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/29/t1291029003fefs5bxgldj3fwd/13l4w1291029019.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t1291029003fefs5bxgldj3fwd/13l4w1291029019.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/29/t1291029003fefs5bxgldj3fwd/2wclz1291029019.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t1291029003fefs5bxgldj3fwd/2wclz1291029019.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/29/t1291029003fefs5bxgldj3fwd/3wclz1291029019.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t1291029003fefs5bxgldj3fwd/3wclz1291029019.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/29/t1291029003fefs5bxgldj3fwd/4wclz1291029019.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t1291029003fefs5bxgldj3fwd/4wclz1291029019.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/29/t1291029003fefs5bxgldj3fwd/5wclz1291029019.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t1291029003fefs5bxgldj3fwd/5wclz1291029019.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/29/t1291029003fefs5bxgldj3fwd/674k11291029019.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t1291029003fefs5bxgldj3fwd/674k11291029019.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/29/t1291029003fefs5bxgldj3fwd/7hvjm1291029019.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t1291029003fefs5bxgldj3fwd/7hvjm1291029019.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/29/t1291029003fefs5bxgldj3fwd/8hvjm1291029019.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t1291029003fefs5bxgldj3fwd/8hvjm1291029019.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/29/t1291029003fefs5bxgldj3fwd/9am0p1291029019.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t1291029003fefs5bxgldj3fwd/9am0p1291029019.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