Home » date » 2009 » Nov » 20 »

Multiple Regression met monthly dummies en een lineaire trend

*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, 20 Nov 2009 10:26:11 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Nov/20/t1258738054bkgxt2i6mpwzovh.htm/, Retrieved Fri, 20 Nov 2009 18:27:47 +0100
 
BibTeX entries for LaTeX users:
@Manual{KEY,
    author = {{YOUR NAME}},
    publisher = {Office for Research Development and Education},
    title = {Statistical Computations at FreeStatistics.org, URL http://www.freestatistics.org/blog/date/2009/Nov/20/t1258738054bkgxt2i6mpwzovh.htm/},
    year = {2009},
}
@Manual{R,
    title = {R: A Language and Environment for Statistical Computing},
    author = {{R Development Core Team}},
    organization = {R Foundation for Statistical Computing},
    address = {Vienna, Austria},
    year = {2009},
    note = {{ISBN} 3-900051-07-0},
    url = {http://www.R-project.org},
}
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
7.3 7.9 7.6 9.1 7.5 9.4 7.6 9.4 7.9 9.1 7.9 9 8.1 9.3 8.2 9.9 8 9.8 7.5 9.3 6.8 8.3 6.5 8 6.6 8.5 7.6 10.4 8 11.1 8.1 10.9 7.7 10 7.5 9.2 7.6 9.2 7.8 9.5 7.8 9.6 7.8 9.5 7.5 9.1 7.5 8.9 7.1 9 7.5 10.1 7.5 10.3 7.6 10.2 7.7 9.6 7.7 9.2 7.9 9.3 8.1 9.4 8.2 9.4 8.2 9.2 8.2 9 7.9 9 7.3 9 6.9 9.8 6.6 10 6.7 9.8 6.9 9.3 7 9 7.1 9 7.2 9.1 7.1 9.1 6.9 9.1 7 9.2 6.8 8.8 6.4 8.3 6.7 8.4 6.6 8.1 6.4 7.7 6.3 7.9 6.2 7.9 6.5 8 6.8 7.9 6.8 7.6 6.4 7.1 6.1 6.8 5.8 6.5 6.1 6.9 7.2 8.2 7.3 8.7 6.9 8.3 6.1 7.9 5.8 7.5 6.2 7.8 7.1 8.3 7.7 8.4 7.9 8.2 7.7 7.7 7.4 7.2 7.5 7.3
 
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 time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
WGM[t] = + 3.77933636549804 + 0.421915736108744WGV[t] -0.133196764232351M1[t] -0.315249607827085M2[t] -0.423011503247149M3[t] -0.36018079288132M4[t] -0.296300268627076M5[t] -0.234246055715227M6[t] -0.0690858529874588M7[t] + 0.130184180527623M8[t] + 0.215663672606848M9[t] + 0.175891574176302M10[t] + 0.109041573893588M11[t] -0.00474896754226758t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)3.779336365498040.8913444.248e-054e-05
WGV0.4219157361087440.0934264.5163.1e-051.5e-05
M1-0.1331967642323510.267267-0.49840.6200790.31004
M2-0.3152496078270850.293183-1.07530.2866330.143317
M3-0.4230115032471490.302757-1.39720.1675860.083793
M4-0.360180792881320.295994-1.21690.2285060.114253
M5-0.2963002686270760.285283-1.03860.303220.15161
M6-0.2342460557152270.279891-0.83690.4060150.203007
M7-0.06908585298745880.282155-0.24490.8074220.403711
M80.1301841805276230.2879960.4520.6529020.326451
M90.2156636726068480.2877640.74940.4565660.228283
M100.1758915741763020.2827860.6220.5363410.26817
M110.1090415738935880.2779470.39230.6962420.348121
t-0.004748967542267580.003732-1.27260.2081370.104068


Multiple Linear Regression - Regression Statistics
Multiple R0.739960868005558
R-squared0.547542086179539
Adjusted R-squared0.447847969575031
F-TEST (value)5.49222065281612
F-TEST (DF numerator)13
F-TEST (DF denominator)59
p-value2.18836094234565e-06
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.47961414642234
Sum Squared Residuals13.5717540374574


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
17.36.974524948982470.325475051017533
27.67.294022021175990.305977978824011
37.57.308085879046280.191914120953721
47.67.366167621869840.233832378130160
57.97.29872445774920.601275542250807
67.97.31383812950790.5861618704921
78.17.600824085526020.499175914473975
88.28.048494593164080.151505406835915
988.08703354409017-0.0870335440901684
107.57.83155461006298-0.331554610062982
116.87.33803990612926-0.538039906129257
126.57.09767464386078-0.597674643860778
136.67.17068678014053-0.570686780140531
147.67.78552486761014-0.185524867610144
1587.968355019923930.0316449800760681
168.17.942053615525740.157946384474255
177.77.621461009739850.0785389902601484
187.57.341233666222440.158766333777562
197.67.501644901407940.0983550985920613
207.87.82274068821338-0.0227406882133760
217.87.9456627863612-0.145662786361208
227.87.85895014677752-0.0589501467775205
237.57.61858488450904-0.118584884509041
247.57.420411195851440.0795888041485634
257.17.3246570376877-0.224657037687692
267.57.60196253627031-0.101962536270309
277.57.57383482052973-0.0738348205297264
287.67.589724989742410.010275010257587
297.77.395707104789140.304292895210857
307.77.284246055715230.415753944284773
317.97.48684886451160.413151135488398
328.17.723561504095290.376438495904709
338.27.804292028632250.395707971367751
348.27.675387815437690.524612184562313
358.27.519405700390960.680594299609044
367.97.40561515895510.4943848410449
377.37.267669427180480.0323305728195192
386.97.41840020493047-0.518400204930474
396.67.39027248918989-0.790272489189893
406.77.3639710847917-0.663971084791704
416.97.21214477344931-0.312144773449309
4277.14287529798627-0.142875297986267
437.17.30328653317177-0.203286533171769
447.27.53999917275546-0.339999172755456
457.17.62072969729241-0.520729697292415
466.97.5762086313196-0.6762086313196
4777.54680123710549-0.546801237105493
486.87.26424440122614-0.464244401226141
496.46.91534080139715-0.515340801397149
506.76.77073056387102-0.0707305638710222
516.66.531644980076070.0683550199239323
526.46.42096042845613-0.0209604284561309
536.36.56447513238986-0.264475132389857
546.26.62178037775944-0.421780377759438
556.56.82438318655581-0.324383186555813
566.86.97671267891775-0.176712678917753
576.86.93086848262209-0.130868482622087
586.46.6753895485949-0.275389548594902
596.16.4772158599373-0.377215859937297
605.86.23685059766882-0.436850597668818
616.16.2676711603377-0.167671160337697
627.26.629359806142060.570640193857938
637.36.72780681123410.572193188765897
646.96.617122259614170.282877740385833
656.16.50748752188265-0.407487521882646
665.86.39602647280873-0.59602647280873
676.26.68301242882685-0.483012428826853
687.17.088491362854040.0115086371459601
697.77.211413461001870.488586538998128
707.97.082509247807310.817490752192691
717.76.799952411927960.900047588072044
727.46.475204002437730.924795997562272
737.56.379449844273981.12055015572602


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.01085650841674960.02171301683349910.98914349158325
180.02693825148629810.05387650297259620.973061748513702
190.01564335483234870.03128670966469750.984356645167651
200.01231953850309180.02463907700618360.987680461496908
210.007993089046671220.01598617809334240.992006910953329
220.01316845539237890.02633691078475790.986831544607621
230.02312439981155810.04624879962311610.976875600188442
240.04999878741984010.09999757483968010.95000121258016
250.02798901724907230.05597803449814460.972010982750928
260.01445592413053730.02891184826107470.985544075869463
270.007081067079026340.01416213415805270.992918932920974
280.00335071228595420.00670142457190840.996649287714046
290.002055069393359890.004110138786719780.99794493060664
300.001680043378042480.003360086756084950.998319956621958
310.001613699042966450.00322739808593290.998386300957034
320.001932156972770830.003864313945541650.99806784302723
330.003268913698259590.006537827396519180.99673108630174
340.01061907105726430.02123814211452860.989380928942736
350.0900666735238050.180133347047610.909933326476195
360.2274865501666770.4549731003333550.772513449833323
370.2194003521987260.4388007043974520.780599647801274
380.2601838029409980.5203676058819960.739816197059002
390.4214299953085350.842859990617070.578570004691465
400.4801688762324370.9603377524648740.519831123767563
410.4787626807925920.9575253615851850.521237319207408
420.5914694864441780.8170610271116450.408530513555822
430.710962948582780.5780741028344390.289037051417220
440.7054047679560640.5891904640878730.294595232043936
450.6325372591817180.7349254816365640.367462740818282
460.5852424993472170.8295150013055660.414757500652783
470.5291370552800100.941725889439980.47086294471999
480.4762446693393310.9524893386786620.523755330660669
490.7413946051402510.5172107897194980.258605394859749
500.8124756675408990.3750486649182030.187524332459101
510.7672534325220720.4654931349558570.232746567477928
520.7534639371925580.4930721256148840.246536062807442
530.6929678959069690.6140642081860620.307032104093031
540.5734657364034660.853068527193070.426534263596534
550.4843248581672960.9686497163345930.515675141832704
560.7447242986013380.5105514027973250.255275701398662


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level60.15NOK
5% type I error level150.375NOK
10% type I error level180.45NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258738054bkgxt2i6mpwzovh/106o131258737966.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258738054bkgxt2i6mpwzovh/106o131258737966.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t1258738054bkgxt2i6mpwzovh/1mfku1258737966.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258738054bkgxt2i6mpwzovh/1mfku1258737966.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t1258738054bkgxt2i6mpwzovh/2ruka1258737966.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258738054bkgxt2i6mpwzovh/2ruka1258737966.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t1258738054bkgxt2i6mpwzovh/3ktbv1258737966.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258738054bkgxt2i6mpwzovh/3ktbv1258737966.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t1258738054bkgxt2i6mpwzovh/4nah01258737966.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258738054bkgxt2i6mpwzovh/4nah01258737966.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t1258738054bkgxt2i6mpwzovh/5kjmt1258737966.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258738054bkgxt2i6mpwzovh/5kjmt1258737966.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t1258738054bkgxt2i6mpwzovh/6og6q1258737966.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258738054bkgxt2i6mpwzovh/6og6q1258737966.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t1258738054bkgxt2i6mpwzovh/7duw01258737966.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258738054bkgxt2i6mpwzovh/7duw01258737966.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t1258738054bkgxt2i6mpwzovh/8f5yz1258737966.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258738054bkgxt2i6mpwzovh/8f5yz1258737966.ps (open in new window)


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