Home » date » 2010 » Dec » 20 »

*The author of this computation has been verified*
R Software Module: /rwasp_multipleregression.wasp (opens new window with default values)
Title produced by software: Multiple Regression
Date of computation: Mon, 20 Dec 2010 17:54:33 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Dec/20/t1292867587j0z6ppnzigu36ge.htm/, Retrieved Mon, 20 Dec 2010 18:53:09 +0100
 
BibTeX entries for LaTeX users:
@Manual{KEY,
    author = {{YOUR NAME}},
    publisher = {Office for Research Development and Education},
    title = {Statistical Computations at FreeStatistics.org, URL http://www.freestatistics.org/blog/date/2010/Dec/20/t1292867587j0z6ppnzigu36ge.htm/},
    year = {2010},
}
@Manual{R,
    title = {R: A Language and Environment for Statistical Computing},
    author = {{R Development Core Team}},
    organization = {R Foundation for Statistical Computing},
    address = {Vienna, Austria},
    year = {2010},
    note = {{ISBN} 3-900051-07-0},
    url = {http://www.R-project.org},
}
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
-999 -999 38.6 6.654 5.712 645 3 5 3 6.3 2 4.5 1 6.6 42 3 1 3 -999 -999 14 3.385 44.5 60 1 1 1 -999 -999 -999 0.92 5.7 25 5 2 3 2.1 1.8 69 2547 4603 624 3 5 4 0.1 0.7 27 10.55 0.5 180 4 4 4 15.8 3.9 19 0.023 0.3 35 1 1 1 5.2 1 30.4 160 169 392 4 5 4 10.9 3.6 28 3.3 25.6 63 1 2 1 8.3 1.4 50 52.16 440 230 1 1 1 11 1.5 7 0.425 6.4 112 5 4 4 3.2 0.7 30 465 423 281 5 5 5 7.6 2.7 -999 0.55 2.4 -999 2 1 2 -999 -999 40 187.1 419 365 5 5 5 6.3 2.1 3.5 0.075 1.2 42 1 1 1 8.6 0 50 3 25 28 2 2 2 6.6 4.1 6 0.785 3.5 42 2 2 2 9.5 1.2 10.4 0.2 5 120 2 2 2 4.8 1.3 34 1.41 17.5 -999 1 2 1 12 6.1 7 60 81 -999 1 1 1 -999 0.3 28 529 680 400 5 5 5 3.3 0.5 20 27.66 115 148 5 5 5 11 3.4 3.9 0.12 1 16 3 1 2 -999 -999 39.3 207 406 252 1 4 1 4.7 1.5 41 85 325 310 1 3 1 -999 -999 16.2 36.33 119.5 63 1 1 1 10.4 3.4 9 0.101 4 28 5 1 3 7.4 0.8 7.6 1.04 5.5 68 5 3 4 2.1 0.8 46 521 655 336 5 5 5 2.1 -999 22.4 100 157 100 1 1 1 -999 -999 16.3 35 56 33 3 5 4 7.7 1. 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 time6 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk


Multiple Linear Regression - Estimated Regression Equation
PS[t] = -147.448186217 + 0.827854459100156SWS[t] + 0.0153005707500431L[t] -0.00014671687001WB[t] + 0.0270059287704021WBR[t] -0.0209700304582951TG[t] + 3.15985232691066P[t] -9.0210345095733S[t] + 50.7708110913449D[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)-147.44818621766.192415-2.22760.0301780.015089
SWS0.8278544591001560.07247811.422100
L0.01530057075004310.116260.13160.8957940.447897
WB-0.000146716870010.294549-5e-040.9996040.499802
WBR0.02700592877040210.1609360.16780.8673750.433688
TG-0.02097003045829510.102843-0.20390.839210.419605
P3.1598523269106650.3142520.06280.950160.47508
S-9.021034509573333.416919-0.270.7882440.394122
D50.770811091344965.7376280.77230.4433520.221676


Multiple Linear Regression - Regression Statistics
Multiple R0.86874491034203
R-squared0.754717719245183
Adjusted R-squared0.71769397875389
F-TEST (value)20.3846966630147
F-TEST (DF numerator)8
F-TEST (DF denominator)53
p-value1.15019105351166e-13
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation211.835697265371
Sum Squared Residuals2378341.21970301


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1-999-870.56975915472-128.43024084528
229.90445632266583-7.90445632266583
3-999-929.407888592692-69.5921114073078
4-999-840.060887094893-158.939112905107
51.8133.652979583378-131.852979583378
60.728.9235798928041-28.2235798928041
73.9-89.893598672181493.7935986721814
8124.259550769623-23.259550769623
93.6-102.737806540719106.337806540719
101.4-87.850487858654789.2504878586547
111.542.3878169681239-40.887816968124
120.785.670815684578-84.970815684578
132.7-36.587676217586439.2876762175864
14-999-745.6806511735-253.3193488265
152.1-98.1178673868505100.21786738685
160-49.656804298053849.6568042980538
174.1-52.859621246368856.9596212463688
181.2-51.986588456900653.1865884569006
191.3-85.644213698176486.9442136981764
206.1-69.369462157826575.4694621578265
210.3-739.599824177322739.899824177322
220.580.1359485685872-79.6359485685872
233.4-36.59050245171139.990502451711
24-999-950.377364034415-48.6226359655847
251.5-113.798640494583115.298640494583
26-999-927.416526357919-71.5834736420807
273.419.9107137372526-16.5107137372526
280.849.3360415407832-48.5360415407832
290.890.1087925663751-89.3087925663751
30-999-98.3290740752835-900.670925924716
31-999-805.952576841016-193.047423158984
321.459.3594360243982-57.9594360243982
332-88.394500300314490.3945003003144
341.9-65.918856634176767.8188566341768
352.4-108.423669622974110.823669622974
362.8-3.733624610015446.53362461001544
371.317.9953897927169-16.6953897927169
38216.8338551552218-14.8338551552218
395.6-87.959563024999493.5595630249994
403.1-89.666185639719492.7661856397194
411-745.596140366598746.596140366598
421.8-47.379216564629949.1792165646299
430.940.3172549998679-39.4172549998679
441.8-38.606379018157240.4063790181572
451.940.4058428490582-38.5058428490582
460.983.2606110449034-82.3606110449034
47-999-884.709023854427-114.290976145574
482.613.7808390214966-11.1808390214966
492.4-95.992452837373498.3924528373734
501.2-57.858290320990359.0582903209903
510.9-57.189247954406958.0892479544069
520.5-2.128882952586322.62888295258632
53-999-750.183204817024-248.816795182976
540.681.6274941903236-81.0274941903237
55-999-886.0111498274-112.9888501726
562.2-17.712810893219819.9128108932198
572.3-40.620760729462642.9207607294626
580.55.63188405688682-5.13188405688682
592.6-44.403327737587347.0033277375873
600.646.7707886073313-46.1707886073313
616.6-41.31407824149747.914078241497
62-999-923.384904447443-75.615095552557


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
129.4680451993664e-071.89360903987328e-060.99999905319548
137.98199378693805e-081.59639875738761e-070.999999920180062
142.65934814392258e-095.31869628784516e-090.999999997340652
155.38217896052732e-111.07643579210546e-100.999999999946178
168.44315293097563e-131.68863058619513e-120.999999999999156
172.20933975009406e-144.41867950018813e-140.999999999999978
184.17294302218109e-168.34588604436219e-161
191.40035374310466e-172.80070748620932e-171
202.05281127880055e-194.10562255760111e-191
210.5388271536002180.9223456927995640.461172846399782
220.4467303146179580.8934606292359160.553269685382042
230.3560187354407570.7120374708815140.643981264559243
240.275168166151240.550336332302480.72483183384876
250.2541807237058740.5083614474117470.745819276294126
260.2083462427387140.4166924854774270.791653757261287
270.1513315100445660.3026630200891330.848668489955434
280.106604752925950.2132095058518990.89339524707405
290.1002712568375650.2005425136751310.899728743162435
300.9997758165989420.0004483668021162260.000224183401058113
310.999662342462990.0006753150740188990.000337657537009449
320.9992489687333810.001502062533237230.000751031266618614
330.9985279474831670.002944105033665280.00147205251683264
340.9999579736093978.40527812056543e-054.20263906028271e-05
350.9999125092744820.0001749814510365718.74907255182857e-05
360.999985944462682.8111074641854e-051.4055537320927e-05
370.9999604441967167.91116065675299e-053.95558032837649e-05
380.999909033917860.0001819321642782219.09660821391103e-05
390.9997521383851240.0004957232297524210.000247861614876211
400.999350697287850.001298605424302240.00064930271215112
4113.77052106115239e-221.88526053057619e-22
4215.46264601692668e-212.73132300846334e-21
4313.21724030048011e-191.60862015024006e-19
4412.09716872798963e-171.04858436399481e-17
4511.04698409116616e-155.23492045583078e-16
460.9999999999999588.41309592565981e-144.20654796282991e-14
470.9999999999955448.91270535751423e-124.45635267875711e-12
480.9999999996572336.85534503086419e-103.4276725154321e-10
490.9999999665495046.69009930125974e-083.34504965062987e-08
500.9999968326232286.33475354315792e-063.16737677157896e-06


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level300.769230769230769NOK
5% type I error level300.769230769230769NOK
10% type I error level300.769230769230769NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/20/t1292867587j0z6ppnzigu36ge/10as7d1292867664.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/20/t1292867587j0z6ppnzigu36ge/10as7d1292867664.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/20/t1292867587j0z6ppnzigu36ge/139aj1292867664.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/20/t1292867587j0z6ppnzigu36ge/139aj1292867664.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/20/t1292867587j0z6ppnzigu36ge/239aj1292867664.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/20/t1292867587j0z6ppnzigu36ge/239aj1292867664.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/20/t1292867587j0z6ppnzigu36ge/339aj1292867664.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/20/t1292867587j0z6ppnzigu36ge/339aj1292867664.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/20/t1292867587j0z6ppnzigu36ge/4v0sm1292867664.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/20/t1292867587j0z6ppnzigu36ge/4v0sm1292867664.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/20/t1292867587j0z6ppnzigu36ge/5v0sm1292867664.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/20/t1292867587j0z6ppnzigu36ge/5v0sm1292867664.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/20/t1292867587j0z6ppnzigu36ge/6o99p1292867664.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/20/t1292867587j0z6ppnzigu36ge/6o99p1292867664.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/20/t1292867587j0z6ppnzigu36ge/7o99p1292867664.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/20/t1292867587j0z6ppnzigu36ge/7o99p1292867664.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/20/t1292867587j0z6ppnzigu36ge/8h1qs1292867664.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/20/t1292867587j0z6ppnzigu36ge/8h1qs1292867664.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/20/t1292867587j0z6ppnzigu36ge/9h1qs1292867664.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/20/t1292867587j0z6ppnzigu36ge/9h1qs1292867664.ps (open in new window)


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