Home » date » 2011 » Jan » 28 »

ws7TimDamen

*Unverified author*
R Software Module: /rwasp_multipleregression.wasp (opens new window with default values)
Title produced by software: Multiple Regression
Date of computation: Fri, 28 Jan 2011 13:33:30 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2011/Jan/28/t1296221504twv37l2ic02wxjm.htm/, Retrieved Fri, 28 Jan 2011 14:31:44 +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/2011/Jan/28/t1296221504twv37l2ic02wxjm.htm/},
    year = {2011},
}
@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 = {2011},
    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 «
6654,00 5712,00 3,30 38,60 645,00 3,00 1,00 6,60 8,30 4,50 42,00 3,00 3,39 44,50 12,50 14,00 60,00 1,00 0,92 5,70 16,50 25,00 5,00 2547,00 4603,00 3,90 69,00 624,00 3,00 10,55 179,50 9,80 27,00 180,00 4,00 0,02 0,30 19,70 19,00 35,00 1,00 160,00 169,00 6,20 30,40 392,00 4,00 3,30 25,60 14,50 28,00 63,00 1,00 52,16 440,00 9,70 50,00 230,00 1,00 0,43 6,40 12,50 7,00 112,00 5,00 465,00 423,00 3,90 30,00 281,00 5,00 0,55 2,40 10,30 2,00 187,10 419,00 3,10 40,00 365,00 5,00 0,08 1,20 8,40 3,50 42,00 1,00 3,00 25,00 8,60 50,00 28,00 2,00 0,79 3,50 10,70 6,00 42,00 2,00 0,20 5,00 10,70 10,40 120,00 2,00 1,41 17,50 6,10 34,00 1,00 60,00 81,00 18,10 7,00 1,00 529,00 680,00 28,00 400,00 5,00 27,66 115,00 3,80 20,00 148,00 5,00 0,12 1,00 14,40 3,90 16,00 3,00 207,00 406,00 12,00 39,30 252,00 1,00 85,00 325,00 6,20 41,00 310,00 1,00 36,33 119,50 13,00 16,20 63,00 1,00 0,10 4,00 13,80 9,00 28,00 5,00 1,04 5,50 8,20 7,60 68,00 5,00 521,00 655,00 2,90 46,00 336,00 5,00 100,00 157,00 10,80 etc...
 
Output produced by software:

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


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24
R Framework
error message
Warning: there are blank lines in the 'Data X' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.


Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 10.1204183249928 -0.0120503930556895G[t] -0.0130609895244657H[t] + 0.119711702613191J[t] + 0.245246671582954Z[t] + 0.000989834348735287P[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)10.120418324992814.7454740.68630.495330.247665
G-0.01205039305568950.028689-0.420.6760710.338036
H-0.01306098952446570.042102-0.31020.7575450.378773
J0.1197117026131910.1588770.75350.4543150.227157
Z0.2452466715829540.1221292.00810.0494670.024733
P0.0009898343487352870.0346050.02860.9772820.488641


Multiple Linear Regression - Regression Statistics
Multiple R0.326715892536400
R-squared0.106743274435857
Adjusted R-squared0.0269882096533440
F-TEST (value)1.33838866192309
F-TEST (DF numerator)5
F-TEST (DF denominator)56
p-value0.261640216229769
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation88.054285716776
Sum Squared Residuals434199.205053131


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
13.318.1406751636078-14.8406751636078
28.320.8641977723653-12.5641977723653
312.525.8901074246059-13.3901074246059
416.516.7750183325654-0.275018332565432
56930.047806428267938.9521935717321
62730.3584880275500-3.35848802754995
71914.45303147228644.54696852771358
830.455.9141643275831-25.5141643275831
92817.461257610506410.5387423894936
105032.470917683488917.5290823165110
11724.9742504631347-17.9742504631347
123039.837930404404-9.83793040440398
132135.116452628224-133.116452628224
1455.18332897697325-0.183328976973246
15116.0284948620829-15.0284948620829
16210.1157177886595-8.11571778865953
17210.7603213326-8.7603213326
18212.8944237371913-10.8944237371913
196023.84018547933636.159814520664
20680104.654649951589575.34535004841
213.846.9807812760436-43.1807812760436
2214.414.4997031768666-0.0997031768665824
231268.8310462014836-56.8310462014836
246.285.7869511520132-79.5869511520132
251325.5126990235145-12.5126990235145
2613.818.0162306271745-4.21623062717449
278.227.6275822530751-19.4275822530751
282.983.2017845482766-80.3017845482766
2910.834.0720027952624-23.2720027952624
3016.313.65347525400132.64652474599874
312.613.7999211277342-11.1999211277342
322416.14969356705617.85030643294388
3310026.317801624713773.6821983752863
343010.524344726954519.4756552730455
3539.51126811025689-6.51126811025689
3649.9332851326666-5.93328513266661
37411.4722545649280-7.47225456492796
38212.9883126153308-10.9883126153308
392158.596926846770-156.596926846770
400.4810.7895432524666-10.3095432524666
411024.8672704927630-14.8672704927630
421.6212.7570682044381-11.1370682044381
4319233.5243437030842158.475656296916
442.512.2087798266843-9.70877982668432
454.2917.4533940604458-13.1633940604458
460.2812.8044821047346-12.5244821047346
474.2418.2747646720853-14.0347646720853
486.833.2922049076434-26.4922049076434
490.7511.2160426998417-10.4660426998417
503.611.2271746959311-7.62717469593112
5114.8319.7800546455488-4.95005464554882
5255.530.148836415315425.3511635846846
531.412.4421845922677-11.0421845922677
540.0611.6589778110700-11.5989778110700
552.612.8276779830566-10.2276779830566
5612.312.7539556605630-0.453955660562951
572.512.5840056728443-10.0840056728443
585817.356357467859440.6436425321406
593.913.0985080157615-9.19850801576149
601720.9220156884773-3.92201568847729
613.318.1406751636078-14.8406751636078
628.320.8641977723653-12.5641977723653


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
90.0001603361556750890.0003206723113501770.999839663844325
100.000222480014213230.000444960028426460.999777519985787
117.99151160019593e-050.0001598302320039190.999920084883998
128.44196857805806e-061.68839371561161e-050.999991558031422
131.40727334770573e-062.81454669541147e-060.999998592726652
142.31487646231095e-074.62975292462189e-070.999999768512354
154.2147455410618e-088.4294910821236e-080.999999957852545
166.4050421309236e-091.28100842618472e-080.999999993594958
178.3819728849268e-101.67639457698536e-090.999999999161803
189.78181548896698e-111.95636309779340e-100.999999999902182
194.2468584887981e-098.4937169775962e-090.999999995753141
200.9999999999999959.26654733059169e-154.63327366529585e-15
210.9999999999999882.47278857144052e-141.23639428572026e-14
220.999999999999941.21299238416744e-136.0649619208372e-14
230.99999999999992.01615437212864e-131.00807718606432e-13
240.9999999999998862.29001437464186e-131.14500718732093e-13
250.999999999999471.05939286752355e-125.29696433761775e-13
260.9999999999976384.72323329484307e-122.36161664742153e-12
270.9999999999905011.89978294405391e-119.49891472026956e-12
280.9999999999855832.88336352562653e-111.44168176281327e-11
290.9999999999469261.06148335675553e-105.30741678377764e-11
300.9999999997714674.57066256754119e-102.28533128377059e-10
310.9999999990577081.88458329152106e-099.42291645760532e-10
320.9999999963260447.3479127510349e-093.67395637551745e-09
330.9999999914582851.70834302136221e-088.54171510681105e-09
340.9999999755437374.89125259417864e-082.44562629708932e-08
350.999999909841571.80316860999706e-079.01584304998531e-08
360.9999996787884396.42423122309911e-073.21211561154955e-07
370.9999989038388472.19232230661293e-061.09616115330647e-06
380.9999964114378927.17712421688893e-063.58856210844447e-06
390.9999961845539767.63089204846793e-063.81544602423397e-06
400.9999890861670632.18276658743064e-051.09138329371532e-05
410.9999765690364774.68619270452844e-052.34309635226422e-05
420.9999290887233350.0001418225533290957.09112766645475e-05
430.9999999998615622.76876847352376e-101.38438423676188e-10
440.9999999987681552.46368995675849e-091.23184497837924e-09
450.999999989593822.08123586073642e-081.04061793036821e-08
460.9999999167511431.66497714071765e-078.32488570358824e-08
470.999999370358131.25928374080833e-066.29641870404163e-07
480.9999998882688322.23462335916333e-071.11731167958166e-07
490.9999988678647282.26427054480413e-061.13213527240206e-06
500.9999904373901831.91252196339293e-059.56260981696467e-06
510.9999402290136570.0001195419726868825.97709863434412e-05
520.9996194683266310.0007610633467371450.000380531673368572
530.9995353104963330.0009293790073337080.000464689503666854


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level451NOK
5% type I error level451NOK
10% type I error level451NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2011/Jan/28/t1296221504twv37l2ic02wxjm/10q5r11296221601.png (open in new window)
http://www.freestatistics.org/blog/date/2011/Jan/28/t1296221504twv37l2ic02wxjm/10q5r11296221601.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/Jan/28/t1296221504twv37l2ic02wxjm/1rvmi1296221601.png (open in new window)
http://www.freestatistics.org/blog/date/2011/Jan/28/t1296221504twv37l2ic02wxjm/1rvmi1296221601.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/Jan/28/t1296221504twv37l2ic02wxjm/29x431296221601.png (open in new window)
http://www.freestatistics.org/blog/date/2011/Jan/28/t1296221504twv37l2ic02wxjm/29x431296221601.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/Jan/28/t1296221504twv37l2ic02wxjm/3d70v1296221601.png (open in new window)
http://www.freestatistics.org/blog/date/2011/Jan/28/t1296221504twv37l2ic02wxjm/3d70v1296221601.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/Jan/28/t1296221504twv37l2ic02wxjm/4pvdb1296221601.png (open in new window)
http://www.freestatistics.org/blog/date/2011/Jan/28/t1296221504twv37l2ic02wxjm/4pvdb1296221601.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/Jan/28/t1296221504twv37l2ic02wxjm/5zd941296221601.png (open in new window)
http://www.freestatistics.org/blog/date/2011/Jan/28/t1296221504twv37l2ic02wxjm/5zd941296221601.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/Jan/28/t1296221504twv37l2ic02wxjm/691w71296221601.png (open in new window)
http://www.freestatistics.org/blog/date/2011/Jan/28/t1296221504twv37l2ic02wxjm/691w71296221601.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/Jan/28/t1296221504twv37l2ic02wxjm/7rqgg1296221601.png (open in new window)
http://www.freestatistics.org/blog/date/2011/Jan/28/t1296221504twv37l2ic02wxjm/7rqgg1296221601.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/Jan/28/t1296221504twv37l2ic02wxjm/8ufzq1296221601.png (open in new window)
http://www.freestatistics.org/blog/date/2011/Jan/28/t1296221504twv37l2ic02wxjm/8ufzq1296221601.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/Jan/28/t1296221504twv37l2ic02wxjm/9l62i1296221601.png (open in new window)
http://www.freestatistics.org/blog/date/2011/Jan/28/t1296221504twv37l2ic02wxjm/9l62i1296221601.ps (open in new window)


 
Parameters (Session):
par1 = 3 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
 
Parameters (R input):
par1 = 3 ; par2 = Do not include Seasonal Dummies ; par3 = No 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