Home » date » 2009 » Nov » 14 »

multiple regression analysis: 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: Sat, 14 Nov 2009 05:58:47 -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/14/t1258203655l4oc6wzpz7vxkin.htm/, Retrieved Sat, 14 Nov 2009 14:01:07 +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/14/t1258203655l4oc6wzpz7vxkin.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 «
8,4 99 8,4 98.6 8,4 98.6 8,6 98.5 8,9 98.9 8,8 99.4 8,3 99.8 7,5 99.9 7,2 100 7,4 100.1 8,8 100.1 9,3 100.2 9,3 100.3 8,7 100 8,2 99.9 8,3 99.4 8,5 99.8 8,6 99.6 8,5 100 8,2 99.9 8,1 100.3 7,9 100.6 8,6 100.7 8,7 100.8 8,7 100.8 8,5 100.6 8,4 101.1 8,5 101.1 8,7 100.9 8,7 101.1 8,6 101.2 8,5 101.4 8,3 101.9 8 102.1 8,2 102.1 8,1 103 8,1 103.4 8 103.2 7,9 103.1 7,9 103 8 103.7 8 103.4 7,9 103.5 8 103.8 7,7 104 7,2 104.2 7,5 104.4 7,3 104.4 7 104.9 7 105.3 7 105.2 7,2 105.4 7,3 105.4 7,1 105.5 6,8 105.7 6,4 105.6 6,1 105.8 6,5 105.4 7,7 105.5 7,9 105.8 7,5 106.1 6,9 106 6,6 105.5 6,9 105.4 7,7 106 8 106.1 8 106.4 7,7 106 7,3 106 7,4 106 8,1 106 8,3 106.1 8,2 106.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 time4 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
werkl[t] = + 68.14802305098 -0.600110625503214afzetp[t] -0.102420103023981M1[t] -0.495816819253388M2[t] -0.74391950407523M3[t] -0.705361053505565M4[t] -0.283423175642895M5[t] -0.278179620822697M6[t] -0.362915784660241M7[t] -0.714346271540255M8[t] -0.892417612469521M9[t] -0.95384072431599M10[t] -0.215263836162456M11[t] + 0.0514304868800148t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)68.148023050988.0456968.470100
afzetp-0.6001106255032140.081786-7.337600
M1-0.1024201030239810.20811-0.49210.6244450.312222
M2-0.4958168192533880.216436-2.29080.0255630.012782
M3-0.743919504075230.216175-3.44130.001070.000535
M4-0.7053610535055650.217236-3.2470.0019250.000963
M5-0.2834231756428950.21591-1.31270.194370.097185
M6-0.2781796208226970.215978-1.2880.2027740.101387
M7-0.3629157846602410.215532-1.68380.0975020.048751
M8-0.7143462715402550.215729-3.31130.0015880.000794
M9-0.8924176124695210.215374-4.14360.0001115.5e-05
M10-0.953840724315990.215406-4.42814.2e-052.1e-05
M11-0.2152638361624560.215547-0.99870.3220240.161012
t0.05143048688001480.0100195.13323e-062e-06


Multiple Linear Regression - Regression Statistics
Multiple R0.874136061372917
R-squared0.764113853792555
Adjusted R-squared0.712138940221424
F-TEST (value)14.7015896957059
F-TEST (DF numerator)13
F-TEST (DF denominator)59
p-value5.59552404411079e-14
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.372864172098382
Sum Squared Residuals8.20263375924211


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
18.48.68608151001797-0.286081510017968
28.48.58415953086973-0.184159530869726
38.48.38748733292790.0125126670720988
48.68.53748733292790.0625126670720989
58.98.77081144746930.129188552530704
68.88.52743017641790.2725698235821
78.38.25408024925910.0459197507409085
87.57.89406918670877-0.394069186708767
97.27.7074172701092-0.507417270109196
107.47.63741358259243-0.237413582592426
118.88.427420957625970.372579042374027
129.38.634104218118120.665895781881884
139.38.523103539423830.776896460576166
148.78.36117049772540.338829502274594
158.28.2245093623339-0.0245093623338956
168.38.61455361253518-0.314553612535182
178.58.84787772707659-0.347877727076587
188.69.02457389387744-0.424573893877444
198.58.75122396671863-0.251223966718626
208.28.51123502926894-0.311235029268944
218.18.14454992501841-0.0445499250184129
227.97.954524112401-0.0545241124009965
238.68.68452042488422-0.0845204248842189
248.78.89120368537637-0.191203685376372
258.78.8402140692324-0.140214069232406
268.58.61826996498366-0.118269964983657
278.48.121542454290220.278457545709778
288.58.21153139173990.288468608260097
298.78.80492188158322-0.104921881583225
308.78.7415737981828-0.0415737981828007
318.68.64825705867494-0.048257058674946
328.58.22823493357430.271765066425699
338.37.801538766773440.498461233226558
3487.671524016706350.328475983293646
358.28.4615313917399-0.261531391739903
368.18.18812615182948-0.0881261518294768
378.17.897092285484220.202907714515778
3887.675148181235470.324851818764526
397.97.538487045843970.361512954156027
407.97.688487045843970.211512954156029
4187.74177797273440.258222027265595
4287.978485202085580.0215147979144207
437.97.885168462577730.0148315374222672
4487.405135274926770.594864725073230
457.77.158472295776880.541527704223125
467.27.028457545709780.171542454290223
477.57.69844279564268-0.198442795642681
487.37.96513711868515-0.665137118685151
4977.61409218978958-0.614092189789578
5077.0320817102389-0.0320817102389058
5176.89542057484740.104579425152604
527.26.865387387196430.334612612803567
537.37.33875575193912-0.0387557519391175
547.17.33541873108901-0.235418731089011
556.87.18209092903084-0.382090929030839
566.46.94210199158116-0.542101991581165
576.16.69543901243127-0.59543901243127
586.56.9254906376661-0.425490637666097
597.77.655486950149330.0445130498506734
607.97.742148085540840.157851914459165
617.57.51112528174591-0.0111252817459069
626.97.22917011494683-0.329170114946832
636.67.33255322975661-0.732553229756612
646.97.48255322975661-0.58255322975661
657.77.595855219197370.104144780802630
6687.592518198347260.407481801652736
6787.379179333738770.620820666261235
687.77.319223583940050.380776416059947
697.37.19258272989080.107417270109197
707.47.182590104924350.217409895075650
718.17.97259747995790.127402520042102
728.38.179280740450050.120719259549950
738.28.128291124306080.0717088756939148


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.4928159552312040.9856319104624080.507184044768796
180.5007428900093260.9985142199813480.499257109990674
190.4711637423573590.9423274847147190.528836257642641
200.5780210056092910.8439579887814180.421978994390709
210.6272813546945240.7454372906109510.372718645305476
220.5355045989312790.9289908021374420.464495401068721
230.4857946024862240.9715892049724480.514205397513776
240.5569829005328210.8860341989343580.443017099467179
250.4900684598861420.9801369197722840.509931540113858
260.4085339310858380.8170678621716770.591466068914162
270.3260562076432510.6521124152865030.673943792356749
280.2487589040059400.4975178080118810.75124109599406
290.1973312831402750.3946625662805500.802668716859725
300.1498515042449400.2997030084898810.85014849575506
310.1210069381397160.2420138762794330.878993061860283
320.1347395738661850.269479147732370.865260426133815
330.1357237851819630.2714475703639270.864276214818037
340.09849723049110740.1969944609822150.901502769508893
350.1382679719680370.2765359439360740.861732028031963
360.1875712976113050.375142595222610.812428702388695
370.1598322856910490.3196645713820980.840167714308951
380.1184045730395190.2368091460790380.881595426960481
390.09949427421440450.1989885484288090.900505725785596
400.070548966976490.141097933952980.92945103302351
410.04775433719405070.09550867438810140.95224566280595
420.03209624706148550.0641924941229710.967903752938514
430.02149785165979540.04299570331959080.978502148340205
440.02688974482904850.0537794896580970.973110255170952
450.07698538259141630.1539707651828330.923014617408584
460.1358757124467720.2717514248935430.864124287553228
470.1497913753953320.2995827507906630.850208624604668
480.2111216387944460.4222432775888930.788878361205554
490.2486503964476460.4973007928952910.751349603552354
500.3446819344109250.6893638688218490.655318065589075
510.5444151515367210.9111696969265570.455584848463279
520.7503639005457090.4992721989085830.249636099454291
530.7567302129080180.4865395741839630.243269787091981
540.6404407471282550.719118505743490.359559252871745
550.5609573524413680.8780852951172640.439042647558632
560.6234974370160220.7530051259679560.376502562983978


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level10.025OK
10% type I error level40.1NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/14/t1258203655l4oc6wzpz7vxkin/10zkrq1258203522.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/14/t1258203655l4oc6wzpz7vxkin/10zkrq1258203522.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/14/t1258203655l4oc6wzpz7vxkin/16m9v1258203522.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/14/t1258203655l4oc6wzpz7vxkin/16m9v1258203522.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/14/t1258203655l4oc6wzpz7vxkin/2u8mj1258203522.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/14/t1258203655l4oc6wzpz7vxkin/2u8mj1258203522.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/14/t1258203655l4oc6wzpz7vxkin/3csb51258203522.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/14/t1258203655l4oc6wzpz7vxkin/3csb51258203522.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/14/t1258203655l4oc6wzpz7vxkin/4ldzm1258203522.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/14/t1258203655l4oc6wzpz7vxkin/4ldzm1258203522.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/14/t1258203655l4oc6wzpz7vxkin/5uqpr1258203522.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/14/t1258203655l4oc6wzpz7vxkin/5uqpr1258203522.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/14/t1258203655l4oc6wzpz7vxkin/6cmds1258203522.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/14/t1258203655l4oc6wzpz7vxkin/6cmds1258203522.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/14/t1258203655l4oc6wzpz7vxkin/7io401258203522.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/14/t1258203655l4oc6wzpz7vxkin/7io401258203522.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/14/t1258203655l4oc6wzpz7vxkin/8kpet1258203522.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/14/t1258203655l4oc6wzpz7vxkin/8kpet1258203522.ps (open in new window)


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