Home » date » 2009 » Nov » 19 »

Multiple Regression (b)

*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: Thu, 19 Nov 2009 09:58:24 -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/19/t1258650000cdltq7kxxadwcxo.htm/, Retrieved Thu, 19 Nov 2009 18:00:12 +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/19/t1258650000cdltq7kxxadwcxo.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] = + 19.1792040203402 -1.12771759422269Werkl.graad[t] + 0.0611701113554312Industr.prod.[t] -4.5112205089636e-05BrutoSchuld[t] -0.135530992464506M1[t] -0.169606970781555M2[t] + 0.117225185486256M3[t] + 1.76991643625086M4[t] + 1.10643031597644M5[t] -0.190436397986985M6[t] -0.374667261299632M7[t] + 0.0442239049331357M8[t] + 1.11890712542945M9[t] + 1.0920282953553M10[t] + 0.899403442297472M11[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)19.17920402034029.1612932.09350.0413970.020698
Werkl.graad-1.127717594222690.354742-3.1790.0025360.001268
Industr.prod.0.06117011135543120.0374551.63310.108720.05436
BrutoSchuld-4.5112205089636e-051.2e-05-3.62830.0006690.000335
M1-0.1355309924645060.827324-0.16380.8705340.435267
M2-0.1696069707815550.852666-0.19890.8431370.421568
M30.1172251854862560.7723180.15180.8799680.439984
M41.769916436250861.0706111.65320.104560.05228
M51.106430315976440.849331.30270.1986420.099321
M6-0.1904363979869850.793594-0.240.8113370.405668
M7-0.3746672612996320.790863-0.47370.6377440.318872
M80.04422390493313570.8006730.05520.9561730.478086
M91.118907125429450.8547591.3090.1965080.098254
M101.09202829535530.8458861.2910.2026450.101323
M110.8994034422974720.8321781.08080.2849790.14249


Multiple Linear Regression - Regression Statistics
Multiple R0.70097736397713
R-squared0.491369264808326
Adjusted R-squared0.348952658954657
F-TEST (value)3.45022451464123
F-TEST (DF numerator)14
F-TEST (DF denominator)50
p-value0.000612196827674438
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1.23968636711867
Sum Squared Residuals76.841114440994


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
144.98209585061306-0.982095850613056
24.14.44635575920136-0.346355759201357
343.948103989663930.0518960103360667
43.83.620236572383940.179763427616060
54.73.479193779921141.22080622007886
64.34.104100414626660.195899585373342
73.94.39013729254062-0.490137292540619
844.24084399206434-0.240843992064341
94.34.77330972554396-0.473309725543958
104.84.237272461147710.562727538852286
114.44.066957723496470.333042276503533
124.34.230525058618880.069474941381117
134.74.09948236209710.600517637902899
144.73.890714978735060.809285021264939
154.94.260348069825470.639651930174534
1653.789097400278361.21090259972164
174.24.133153184797430.0668468152025671
184.34.109164377187610.190835622812386
194.83.607178293209411.19282170679059
204.84.150735367924960.649264632075036
214.84.382708243595180.417291756404821
224.24.164930311884890.035069688115112
234.64.05918836910050.5408116308995
244.84.274324228767320.52567577123268
254.53.60252103147710.8974789685229
264.44.47985605086235-0.0798560508623518
274.34.84294478066957-0.542944780669568
283.94.68180624483381-0.781806244833815
293.74.93865050284977-1.23865050284977
3044.72258018081665-0.722580180816648
314.14.69100582279813-0.591005822798131
323.75.01315669348168-1.31315669348168
333.85.17541338458746-1.37541338458746
343.85.31129123549225-1.51129123549225
353.84.92399086885209-1.12399086885209
363.34.89261770711866-1.59261770711866
373.34.22290370391695-0.922903703916952
383.34.83172560448174-1.53172560448174
393.25.37441727450607-2.17441727450607
403.45.64588685782058-2.24588685782058
414.25.66928319365205-1.46928319365205
424.95.18621471547189-0.286214715471888
435.15.41372080930785-0.313720809307846
445.55.167261054543810.332738945456192
455.65.208739220733270.39126077926673
466.45.965113308884410.434886691115585
476.16.26601250555795-0.166012505557954
487.15.672395804594181.42760419540582
497.86.250317897326031.54968210267397
507.95.286431856185822.61356814381418
517.44.700154324445892.69984567555411
527.54.859220497461942.64077950253806
536.84.636383725824632.16361627417537
545.24.577940311897190.622059688102808
554.74.497957782143990.202042217856006
564.13.528002891985210.571997108014792
573.92.859829425540141.04017057445986
582.62.121392682590730.478607317409269
592.72.283850532992990.416149467007008
601.82.23013720090096-0.430137200900958
6112.14267915456976-1.14267915456976
620.31.76491575053367-1.46491575053367
631.31.97403156088908-0.674031560889081
6412.00375242722136-1.00375242722136
651.11.84333561295498-0.74333561295498


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
180.07920899147564190.1584179829512840.920791008524358
190.03201988192303870.06403976384607750.967980118076961
200.01391944683967910.02783889367935830.98608055316032
210.004406577846753540.008813155693507070.995593422153247
220.002924121556110890.005848243112221780.99707587844389
230.001015662105228940.002031324210457880.998984337894771
240.0004047879670674480.0008095759341348970.999595212032933
250.0002404459885305770.0004808919770611550.99975955401147
268.05596697315464e-050.0001611193394630930.999919440330268
272.33890915395731e-054.67781830791462e-050.99997661090846
287.44302671943692e-061.48860534388738e-050.99999255697328
292.42187628770629e-064.84375257541257e-060.999997578123712
306.1859377294455e-071.2371875458891e-060.999999381406227
311.93170057115475e-073.86340114230951e-070.999999806829943
325.6337905387488e-081.12675810774976e-070.999999943662095
332.12725187478656e-084.25450374957312e-080.999999978727481
344.79914517265863e-099.59829034531725e-090.999999995200855
351.25261912380757e-092.50523824761513e-090.99999999874738
362.42476266505483e-094.84952533010966e-090.999999997575237
374.56092156675827e-099.12184313351654e-090.999999995439078
383.51276315100169e-097.02552630200337e-090.999999996487237
391.07481618862785e-082.1496323772557e-080.999999989251838
404.78535660465935e-089.5707132093187e-080.999999952146434
413.16233249703565e-066.3246649940713e-060.999996837667503
423.76368488209598e-067.52736976419196e-060.999996236315118
439.97195822912086e-061.99439164582417e-050.99999002804177
442.74746389234141e-055.49492778468281e-050.999972525361077
450.0003888238934895530.0007776477869791060.99961117610651
460.02788240099555980.05576480199111970.97211759900444
470.785288497969290.4294230040614180.214711502030709


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level250.833333333333333NOK
5% type I error level260.866666666666667NOK
10% type I error level280.933333333333333NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258650000cdltq7kxxadwcxo/103hs21258649899.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258650000cdltq7kxxadwcxo/103hs21258649899.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258650000cdltq7kxxadwcxo/1kzc01258649899.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258650000cdltq7kxxadwcxo/1kzc01258649899.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258650000cdltq7kxxadwcxo/28gd91258649899.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258650000cdltq7kxxadwcxo/28gd91258649899.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258650000cdltq7kxxadwcxo/3sdp11258649899.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258650000cdltq7kxxadwcxo/3sdp11258649899.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258650000cdltq7kxxadwcxo/4a1p41258649899.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258650000cdltq7kxxadwcxo/4a1p41258649899.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258650000cdltq7kxxadwcxo/5y9bq1258649899.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258650000cdltq7kxxadwcxo/5y9bq1258649899.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258650000cdltq7kxxadwcxo/6kfrk1258649899.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258650000cdltq7kxxadwcxo/6kfrk1258649899.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258650000cdltq7kxxadwcxo/7maq91258649899.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258650000cdltq7kxxadwcxo/7maq91258649899.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258650000cdltq7kxxadwcxo/8lm741258649899.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258650000cdltq7kxxadwcxo/8lm741258649899.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258650000cdltq7kxxadwcxo/9dmto1258649899.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258650000cdltq7kxxadwcxo/9dmto1258649899.ps (open in new window)


 
Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = No Linear Trend ;
 
Parameters (R input):
par1 = 1 ; par2 = Include Monthly 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