Home » date » 2010 » Dec » 13 »

MR

*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, 13 Dec 2010 21:17:36 +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/13/t1292274933jcnlgfp12pdo9ls.htm/, Retrieved Mon, 13 Dec 2010 22:15:43 +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/13/t1292274933jcnlgfp12pdo9ls.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 «
2649.2 31077 2579.4 31293 2504.6 30236 2462.3 30160 2467.4 32436 2446.7 30695 2656.3 27525 2626.2 26434 2482.6 25739 2539.9 25204 2502.7 24977 2466.9 24320 2513.2 22680 2443.3 22052 2293.4 21467 2070.8 21383 2029.6 21777 2052 21928 1864.4 21814 1670.1 22937 1811 23595 1905.4 20830 1862.8 19650 2014.5 19195 2197.8 19644 2962.3 18483 3047 18079 3032.6 19178 3504.4 18391 3801.1 18441 3857.6 18584 3674.4 20108 3721 20148 3844.5 19394 4116.7 17745 4105.2 17696 4435.2 17032 4296.5 16438 4202.5 15683 4562.8 15594 4621.4 15713 4697 15937 4591.3 16171 4357 15928 4502.6 16348 4443.9 15579 4290.9 15305 4199.8 15648 4138.5 14954 3970.1 15137 3862.3 15839 3701.6 16050 3570.12 15168 3801.06 17064 3895.51 16005 3917.96 14886 3813.06 14931 3667.03 14544 3494.17 13812 3364 13031 3295.3 12574 3277.0 11964 3257.2 11451 3161.7 11346 3097.3 11353 3061.3 10702 3119.3 10646 310 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 time8 seconds
R Server'George Udny Yule' @ 72.249.76.132


Multiple Linear Regression - Estimated Regression Equation
Bel20[t] = + 4765.30342448302 -0.081675043345911Goudprijs[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)4765.30342448302301.41617715.809700
Goudprijs-0.0816750433459110.015442-5.28921e-061e-06


Multiple Linear Regression - Regression Statistics
Multiple R0.539896177404536
R-squared0.29148788237603
Adjusted R-squared0.281068586528619
F-TEST (value)27.9757755845325
F-TEST (DF numerator)1
F-TEST (DF denominator)68
p-value1.41125002617315e-06
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation719.60904727157
Sum Squared Residuals35212928.3022266


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
12649.22227.08810242213422.111897577871
22579.42209.44629305942369.953706940576
32504.62295.77681387605208.823186123949
42462.32301.98411717034160.315882829660
52467.42116.09171851505351.308281484953
62446.72258.28796898028188.412031019722
72656.32517.19785638682139.102143613184
82626.22606.3053286772119.8946713227949
92482.62663.06948380261-180.469483802613
102539.92706.76563199268-166.865631992675
112502.72725.30586683220-222.605866832197
122466.92778.96637031046-312.066370310461
132513.22912.91344139775-399.713441397755
142443.32964.20536861899-520.905368618987
152293.43011.98526897634-718.585268976345
162070.83018.8459726174-948.045972617401
172029.62986.66600553911-957.066005539113
1820522974.33307399388-922.33307399388
191864.42983.64402893531-1119.24402893531
201670.12891.92295525786-1221.82295525786
2118112838.18077673625-1027.18077673625
221905.43064.01227158769-1158.61227158769
231862.83160.38882273587-1297.58882273587
242014.53197.55096745825-1183.05096745825
252197.83160.87887299594-963.07887299594
262962.33255.70359832054-293.403598320543
2730473288.70031583229-241.700315832291
283032.63198.93944319514-166.339443195135
293504.43263.21770230837241.182297691633
303801.13259.13395014107541.966049858928
313857.63247.45441894261610.145581057394
323674.43122.98165288344551.418347116562
3337213119.7146511496601.285348850399
343844.53181.29763383242663.202366167582
354116.73315.97978030983800.720219690174
364105.23319.98185743378785.218142566225
374435.23374.214086215461060.98591378454
384296.53422.72906196293873.770938037069
394202.53484.39371968909718.106280310906
404562.83491.662798546881071.13720145312
414621.43481.943468388721139.45653161128
4246973463.648258679231233.35174132077
434591.33444.536298536291146.76370146371
4443573464.38333406935892.616665930654
454502.63430.079815864061072.52018413594
464443.93492.88792419707951.01207580293
474290.93515.26688607385775.633113926151
484199.83487.2523462062712.5476537938
494138.53543.93482628826594.565173711737
503970.13528.98829335596441.111706644038
513862.33471.65241292713390.647587072868
523701.63454.41897878114247.181021218855
533570.123526.4563670122443.6636329877617
543801.063371.60048482839429.459515171609
553895.513458.09435573171437.415644268290
563917.963549.48872923579368.471270764215
573813.063545.81335228522267.246647714781
583667.033577.4215940600989.6084059399136
593494.173637.20772578929-143.037725789293
6033643700.99593464245-336.99593464245
613295.33738.32142945153-443.021429451531
6232773788.14320589254-511.143205892537
633257.23830.04250312899-572.84250312899
643161.73838.61838268031-676.91838268031
653097.33838.04665737689-740.746657376889
663061.33891.21711059508-829.917110595077
673119.33895.79091302245-776.490913022448
683106.223903.14166692358-796.92166692358
693080.583910.73744595475-830.15744595475
702981.853915.31124838212-933.46124838212


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.002717822522978930.005435645045957850.997282177477021
60.0004150891981442240.0008301783962884490.999584910801856
76.68518771421995e-050.0001337037542843990.999933148122858
86.89900309341026e-061.37980061868205e-050.999993100996907
92.22126770705098e-064.44253541410196e-060.999997778732293
102.53784292155581e-075.07568584311163e-070.999999746215708
113.24732413134827e-086.49464826269653e-080.999999967526759
124.9143344232158e-099.8286688464316e-090.999999995085666
134.81655077028751e-109.63310154057503e-100.999999999518345
146.98408639029019e-111.39681727805804e-100.99999999993016
158.25195391093207e-111.65039078218641e-100.99999999991748
161.87646094775231e-093.75292189550463e-090.99999999812354
176.24599451275262e-091.24919890255052e-080.999999993754006
186.3583802258866e-091.27167604517732e-080.99999999364162
193.11472950128520e-086.22945900257039e-080.999999968852705
207.9197403583946e-071.58394807167892e-060.999999208025964
212.76752853902068e-065.53505707804136e-060.999997232471461
223.89737589362887e-067.79475178725774e-060.999996102624106
238.86779339765293e-061.77355867953059e-050.999991132206602
242.5134035825225e-055.026807165045e-050.999974865964175
250.0001546900710266570.0003093801420533150.999845309928973
260.0108728383920840.0217456767841680.989127161607916
270.09323990378516890.1864798075703380.906760096214831
280.3291690120071370.6583380240142750.670830987992863
290.703501276267520.592997447464960.29649872373248
300.9144343046142330.1711313907715330.0855656953857666
310.9736948892380280.05261022152394380.0263051107619719
320.9952226387742830.009554722451433930.00477736122571697
330.9996882964826780.0006234070346440840.000311703517322042
340.9999881742206982.36515586048543e-051.18257793024272e-05
350.9999966324411266.7351177476962e-063.3675588738481e-06
360.999998905151892.18969622156121e-061.09484811078060e-06
370.9999992723215871.45535682619666e-067.27678413098331e-07
380.9999991253013751.74939725070256e-068.74698625351279e-07
390.9999985709143542.85817129294742e-061.42908564647371e-06
400.9999993493041931.30139161501156e-066.50695807505778e-07
410.9999997861336574.27732686701193e-072.13866343350597e-07
420.9999999626823627.4635276161619e-083.73176380808095e-08
430.999999985948772.81024586127777e-081.40512293063889e-08
440.9999999828918233.42163538686300e-081.71081769343150e-08
450.9999999906778961.86442086833993e-089.32210434169965e-09
460.9999999987486542.50269238949582e-091.25134619474791e-09
470.9999999998007523.98495372887314e-101.99247686443657e-10
480.9999999999171931.65613181862986e-108.2806590931493e-11
490.9999999999971355.73107512732147e-122.86553756366074e-12
500.999999999998792.4199652667224e-121.2099826333612e-12
510.999999999992931.41415934540421e-117.07079672702105e-12
520.9999999999751294.97425056713071e-112.48712528356536e-11
530.9999999999452061.09587845250076e-105.47939226250381e-11
540.999999999993771.24601356693217e-116.23006783466084e-12
550.999999999949041.01919167268810e-105.09595836344052e-11
560.9999999999843593.12830561633148e-111.56415280816574e-11
570.9999999999807743.84528040195124e-111.92264020097562e-11
580.9999999999061541.87692099076313e-109.38460495381565e-11
590.9999999987829522.43409558434155e-091.21704779217078e-09
600.999999984611593.07768201524078e-081.53884100762039e-08
610.9999998557974292.88405142925528e-071.44202571462764e-07
620.9999983041164653.39176707099134e-061.69588353549567e-06
630.9999945424296731.09151406548946e-055.45757032744732e-06
640.9999395496516010.0001209006967974926.0450348398746e-05
650.9994575151690320.001084969661936090.000542484830968046


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level550.901639344262295NOK
5% type I error level560.918032786885246NOK
10% type I error level570.934426229508197NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/13/t1292274933jcnlgfp12pdo9ls/105yzo1292275047.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/13/t1292274933jcnlgfp12pdo9ls/105yzo1292275047.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/13/t1292274933jcnlgfp12pdo9ls/1962x1292275047.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/13/t1292274933jcnlgfp12pdo9ls/1962x1292275047.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/13/t1292274933jcnlgfp12pdo9ls/2962x1292275047.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/13/t1292274933jcnlgfp12pdo9ls/2962x1292275047.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/13/t1292274933jcnlgfp12pdo9ls/3ky101292275047.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/13/t1292274933jcnlgfp12pdo9ls/3ky101292275047.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/13/t1292274933jcnlgfp12pdo9ls/4ky101292275047.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/13/t1292274933jcnlgfp12pdo9ls/4ky101292275047.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/13/t1292274933jcnlgfp12pdo9ls/5ky101292275047.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/13/t1292274933jcnlgfp12pdo9ls/5ky101292275047.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/13/t1292274933jcnlgfp12pdo9ls/6ky101292275047.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/13/t1292274933jcnlgfp12pdo9ls/6ky101292275047.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/13/t1292274933jcnlgfp12pdo9ls/7c7031292275047.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/13/t1292274933jcnlgfp12pdo9ls/7c7031292275047.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/13/t1292274933jcnlgfp12pdo9ls/85yzo1292275047.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/13/t1292274933jcnlgfp12pdo9ls/85yzo1292275047.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/13/t1292274933jcnlgfp12pdo9ls/95yzo1292275047.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/13/t1292274933jcnlgfp12pdo9ls/95yzo1292275047.ps (open in new window)


 
Parameters (Session):
par1 = pearson ;
 
Parameters (R input):
par1 = 1 ; 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