Home » date » 2009 » Nov » 18 »

Multiple Regressioin Analyse (a)

*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: Wed, 18 Nov 2009 10:47:31 -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/18/t1258566577b3y662y6rpzaiwn.htm/, Retrieved Wed, 18 Nov 2009 18:49:49 +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/18/t1258566577b3y662y6rpzaiwn.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 «
4 7.2 102.9 271244 4.1 7.4 97.4 269907 4 8.8 111.4 271296 3.8 9.3 87.4 270157 4.7 9.3 96.8 271322 4.3 8.7 114.1 267179 3.9 8.2 110.3 264101 4 8.3 103.9 265518 4.3 8.5 101.6 269419 4.8 8.6 94.6 268714 4.4 8.5 95.9 272482 4.3 8.2 104.7 268351 4.7 8.1 102.8 268175 4.7 7.9 98.1 270674 4.9 8.6 113.9 272764 5 8.7 80.9 272599 4.2 8.7 95.7 270333 4.3 8.5 113.2 270846 4.8 8.4 105.9 270491 4.8 8.5 108.8 269160 4.8 8.7 102.3 274027 4.2 8.7 99 273784 4.6 8.6 100.7 276663 4.8 8.5 115.5 274525 4.5 8.3 100.7 271344 4.4 8 109.9 271115 4.3 8.2 114.6 270798 3.9 8.1 85.4 273911 3.7 8.1 100.5 273985 4 8 114.8 271917 4.1 7.9 116.5 273338 3.7 7.9 112.9 270601 3.8 8 102 273547 3.8 8 106 275363 3.8 7.9 105.3 281229 3.3 8 118.8 277793 3.3 7.7 106.1 279913 3.3 7.2 109.3 282500 3.2 7.5 117.2 280041 3.4 7.3 92.5 282166 4.2 7 104.2 290304 4.9 7 112.5 283519 5.1 7 122.4 287816 5.5 7.2 113.3 285226 5.6 7.3 100 287595 6.4 7.1 110.7 289741 6.1 6.8 112.8 289148 7.1 6.4 109.8 288301 7.8 6.1 117.3 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 time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
Cons.index[t] = + 31.0503934631203 -0.855669637876198Werkl.graad[t] + 0.00418233696733515Industr.prod.[t] -7.5847943119858e-05BrutoSchuld[t] + 0.0336106524518894t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)31.05039346312036.8890194.50723.1e-051.6e-05
Werkl.graad-0.8556696378761980.304314-2.81180.0066470.003323
Industr.prod.0.004182336967335150.0195470.2140.8312990.41565
BrutoSchuld-7.5847943119858e-052e-05-3.74840.0004020.000201
t0.03361065245188940.020781.61740.1110320.055516


Multiple Linear Regression - Regression Statistics
Multiple R0.643250979798282
R-squared0.413771823011449
Adjusted R-squared0.374689944545546
F-TEST (value)10.5873064257247
F-TEST (DF numerator)4
F-TEST (DF denominator)60
p-value1.47751398660301e-06
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1.21493556878008
Sum Squared Residuals88.5641061772192


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
144.78024571319966-0.780245713199663
24.14.72112828470714-0.621128284707141
343.510001368681560.489998631318439
43.83.101791922192820.698208077807177
54.73.086353688403031.61364631159697
64.34.019958581461110.280041418538888
73.94.69897114129815-0.79897114129815
844.51277133797063-0.512771337970634
94.34.069745861711850.230254138288152
104.84.041985991504270.758014008495728
114.43.880805596125690.519194403874309
124.34.52124955828112-0.221249558281123
134.74.645829972271790.05417002772821
144.74.641373558695920.0586264413040822
154.93.983574187597860.916425812402138
1653.806115666954851.19388433304515
174.24.073496345632900.126503654367104
184.34.3125218277679-0.0125218277679028
194.84.428094403953410.371905596046585
204.84.489220482115490.310779517884513
214.83.955360077540110.84463992245989
224.23.993600068177920.206399931822081
234.63.901521429019830.698478570980173
244.84.244760534766150.555239465233848
254.54.62887883474099-0.128878834740988
264.44.97503705762967-0.575037057629668
274.34.88121456422179-0.58121456422179
283.94.64215329408299-0.742153294082993
293.74.73330448695077-1.03330448695077
3045.06914306819504-1.06914306819504
314.15.0876507301057-0.987650730105703
323.75.31380078979424-1.61380078979424
333.84.99280896508345-1.19280896508345
343.84.90540910069902-1.10540910069902
353.84.57673504672031-0.776735046720307
363.34.84185381700343-1.54185381700343
373.34.91825204191893-1.61825204191893
383.35.19686236275331-1.89686236275332
393.25.19332267801602-1.99332267801602
403.45.13358665582028-1.73358665582028
414.24.85558098104344-0.655580981043442
424.95.43853332439245-0.538533324392449
435.15.18763050123493-0.0876305012349274
445.55.208494132389260.291505867610741
455.64.921228962137030.678771037862972
466.45.007954861779431.39204513822057
476.15.352027143495660.747972856504344
487.15.779601848018541.32039815198146
497.85.960658832544091.83934116745591
507.95.656161373875112.24383862612489
517.44.7993399753132.60066002468700
527.54.493183410586723.00681658941328
536.84.476589472907652.32341052709235
545.24.29086513534570.9091348646543
554.74.296166262782270.403833737217734
564.13.91502411870670.184975881293299
573.92.353831248959491.54616875104051
582.61.828792962143970.77120703785603
592.72.242349501893860.457650498106138
601.82.4089452095133-0.608945209513298
6112.99520545841159-1.99520545841159
620.32.78193388581127-2.48193388581127
631.32.33770781604115-1.03770781604115
6411.83381352358225-0.833813523582252
651.11.96788896332402-0.867888963324024


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
80.01720469598793210.03440939197586410.982795304012068
90.006276861517745570.01255372303549110.993723138482254
100.002102921928544650.00420584385708930.997897078071455
110.001107748236538110.002215496473076220.998892251763462
120.0002790702064196440.0005581404128392880.99972092979358
137.302159868767e-050.000146043197375340.999926978401312
141.47394775945462e-052.94789551890923e-050.999985260522405
153.09325301297538e-066.18650602595075e-060.999996906746987
167.0737454387759e-071.41474908775518e-060.999999292625456
171.58266287937083e-063.16532575874166e-060.99999841733712
189.08508717730247e-071.81701743546049e-060.999999091491282
192.27512792095077e-074.55025584190154e-070.999999772487208
205.6070071653084e-081.12140143306168e-070.999999943929928
212.00824708413005e-084.0164941682601e-080.99999997991753
226.38891300961908e-081.27778260192382e-070.99999993611087
234.39128555472575e-088.7825711094515e-080.999999956087144
242.64051840185015e-085.28103680370031e-080.999999973594816
251.48716415362895e-082.97432830725789e-080.999999985128359
267.11718967398156e-091.42343793479631e-080.99999999288281
273.93871439778569e-097.87742879557139e-090.999999996061286
281.60931078021616e-083.21862156043231e-080.999999983906892
295.69723635889324e-081.13944727177865e-070.999999943027636
303.04788362032232e-086.09576724064463e-080.999999969521164
311.19460702277785e-082.38921404555569e-080.99999998805393
328.62191959637052e-091.72438391927410e-080.99999999137808
334.30867803534006e-098.61735607068013e-090.999999995691322
342.08174394546268e-094.16348789092537e-090.999999997918256
351.23911734025070e-092.47823468050140e-090.999999998760883
361.86550481412691e-093.73100962825383e-090.999999998134495
371.27877983998987e-092.55755967997973e-090.99999999872122
386.75604726453515e-101.35120945290703e-090.999999999324395
392.59541675438056e-095.19083350876113e-090.999999997404583
404.79013685869854e-099.58027371739708e-090.999999995209863
411.46146768175156e-082.92293536350313e-080.999999985385323
427.89830856095394e-071.57966171219079e-060.999999210169144
431.04472555358398e-052.08945110716795e-050.999989552744464
440.0004488990105439610.0008977980210879220.999551100989456
450.008910459880412580.01782091976082520.991089540119587
460.08843258740636170.1768651748127230.911567412593638
470.6795517631279020.6408964737441970.320448236872098
480.9201775692953130.1596448614093740.079822430704687
490.9377077508937050.1245844982125910.0622922491062954
500.9520914939833660.0958170120332680.047908506016634
510.9663499280265030.0673001439469940.033650071973497
520.961508401266090.07698319746782090.0384915987339104
530.94718061538740.1056387692252010.0528193846126005
540.9385491291318580.1229017417362840.0614508708681419
550.9294662863835050.1410674272329900.0705337136164949
560.8913551733473510.2172896533052980.108644826652649
570.960498033479910.07900393304018160.0395019665200908


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level350.7NOK
5% type I error level380.76NOK
10% type I error level420.84NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258566577b3y662y6rpzaiwn/10xevx1258566447.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258566577b3y662y6rpzaiwn/10xevx1258566447.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/18/t1258566577b3y662y6rpzaiwn/132bn1258566447.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258566577b3y662y6rpzaiwn/132bn1258566447.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/18/t1258566577b3y662y6rpzaiwn/273m21258566447.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258566577b3y662y6rpzaiwn/273m21258566447.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/18/t1258566577b3y662y6rpzaiwn/3endx1258566447.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258566577b3y662y6rpzaiwn/3endx1258566447.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/18/t1258566577b3y662y6rpzaiwn/4uia71258566447.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258566577b3y662y6rpzaiwn/4uia71258566447.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/18/t1258566577b3y662y6rpzaiwn/52ujw1258566447.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258566577b3y662y6rpzaiwn/52ujw1258566447.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/18/t1258566577b3y662y6rpzaiwn/637dy1258566447.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258566577b3y662y6rpzaiwn/637dy1258566447.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/18/t1258566577b3y662y6rpzaiwn/7al5c1258566447.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258566577b3y662y6rpzaiwn/7al5c1258566447.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/18/t1258566577b3y662y6rpzaiwn/8fslg1258566447.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258566577b3y662y6rpzaiwn/8fslg1258566447.ps (open in new window)


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