Home » date » 2009 » Dec » 19 »

*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: Sat, 19 Dec 2009 07:42:40 -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/Dec/19/t1261233814vlt02eloli0511h.htm/, Retrieved Sat, 19 Dec 2009 15:43:46 +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/Dec/19/t1261233814vlt02eloli0511h.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 «
97.4 0 97 0 105.4 0 102.7 0 98.1 0 104.5 0 87.4 0 89.9 0 109.8 0 111.7 0 98.6 0 96.9 0 95.1 0 97 0 112.7 0 102.9 0 97.4 0 111.4 0 87.4 0 96.8 0 114.1 0 110.3 0 103.9 0 101.6 0 94.6 0 95.9 0 104.7 0 102.8 0 98.1 0 113.9 0 80.9 0 95.7 0 113.2 0 105.9 0 108.8 0 102.3 0 99 0 100.7 0 115.5 0 100.7 0 109.9 0 114.6 0 85.4 0 100.5 0 114.8 0 116.5 0 112.9 0 102 0 106 0 105.3 0 118.8 0 106.1 0 109.3 0 117.2 0 92.5 0 104.2 0 112.5 0 122.4 0 113.3 0 100 0 110.7 0 112.8 0 109.8 0 117.3 0 109.1 0 115.9 0 96 0 99.8 0 116.8 0 115.7 1 99.4 1 94.3 1 91 1 93.2 1 103.1 1 94.1 1 91.8 1 102.7 1 82.6 1 89.1 1 104.5 1
 
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'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
Industriële_Productie[t] = + 94.3657986111111 -15.3487760416667Dummy_Crisis[t] + 0.149909784226187M1[t] + 1.12350508432540M2[t] + 10.6685289558532M3[t] + 4.28498139880953M4[t] + 2.25857669890873M5[t] + 11.5750291418651M6[t] -12.6085184151786M7[t] -3.6777802579365M8[t] + 11.8101007564484M9[t] + 14.6004284474206M10[t] + 6.81688089037698M11[t] + 0.183547557043651t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)94.36579861111111.71031755.174400
Dummy_Crisis-15.34877604166671.46798-10.455700
M10.1499097842261872.0529790.0730.9420070.471004
M21.123505084325402.0521140.54750.5858640.292932
M310.66852895585322.0514945.20042e-061e-06
M44.284981398809532.0511182.08910.0405010.02025
M52.258576698908732.0509871.10120.2747440.137372
M611.57502914186512.0511015.643300
M7-12.60851841517862.05146-6.146100
M8-3.67778025793652.052063-1.79220.077610.038805
M911.81010075644842.052915.752900
M1014.60042844742062.1286916.858900
M116.816880890376982.1283373.20290.0020830.001041
t0.1835475570436510.0224058.192200


Multiple Linear Regression - Regression Statistics
Multiple R0.931335595209805
R-squared0.867385990904802
Adjusted R-squared0.841654914513196
F-TEST (value)33.7096659970189
F-TEST (DF numerator)13
F-TEST (DF denominator)67
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation3.68618399710860
Sum Squared Residuals910.39281485615


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
197.494.6992559523812.70074404761903
29795.85639880952381.14360119047618
3105.4105.584970238095-0.184970238095229
4102.799.38497023809523.31502976190477
598.197.54211309523810.557886904761897
6104.5107.042113095238-2.54211309523811
787.483.0421130952384.35788690476192
889.992.1563988095238-2.25639880952378
9109.8107.8278273809521.9721726190476
10111.7110.8017026289680.898297371031753
1198.6103.201702628968-4.60170262896828
1296.996.5683692956350.331630704365086
1395.196.9018266369048-1.80182663690476
149798.0589694940476-1.05896949404762
15112.7107.7875409226194.91245907738096
16102.9101.5875409226191.31245907738096
1797.499.7446837797619-2.3446837797619
18111.4109.2446837797622.1553162202381
1987.485.24468377976192.15531622023809
2096.894.35896949404762.44103050595237
21114.1110.0303980654764.06960193452381
22110.3113.004273313492-2.70427331349207
23103.9105.404273313492-1.50427331349206
24101.698.77093998015872.82906001984126
2594.699.1043973214286-4.50439732142857
2695.9100.261540178571-4.36154017857142
27104.7109.990111607143-5.29011160714285
28102.8103.790111607143-0.99011160714286
2998.1101.947254464286-3.84725446428572
30113.9111.4472544642862.45274553571429
3180.987.4472544642857-6.54725446428571
3295.796.5615401785714-0.861540178571431
33113.2112.232968750.967031250000007
34105.9115.206843998016-9.30684399801587
35108.8107.6068439980161.19315600198413
36102.3100.9735106646831.32648933531746
3799101.306968005952-2.30696800595238
38100.7102.464110863095-1.76411086309523
39115.5112.1926822916673.30731770833333
40100.7105.992682291667-5.29268229166666
41109.9104.1498251488105.75017485119048
42114.6113.6498251488100.950174851190468
4385.489.6498251488095-4.24982514880952
44100.598.76411086309521.73588913690476
45114.8114.4355394345240.364460565476192
46116.5117.409414682540-0.909414682539687
47112.9109.8094146825403.09058531746033
48102103.176081349206-1.17608134920635
49106103.5095386904762.49046130952381
50105.3104.6666815476190.633318452380951
51118.8114.3952529761904.40474702380952
52106.1108.195252976190-2.09525297619048
53109.3106.3523958333332.94760416666667
54117.2115.8523958333331.34760416666667
5592.591.85239583333330.647604166666663
56104.2100.9666815476193.23331845238095
57112.5116.638110119048-4.13811011904761
58122.4119.6119853670632.78801463293651
59113.3112.0119853670631.28801463293651
60100105.378652033730-5.37865203373016
61110.7105.7121093754.98789062500001
62112.8106.8692522321435.93074776785714
63109.8116.597823660714-6.79782366071429
64117.3110.3978236607146.90217633928571
65109.1108.5549665178570.545033482142853
66115.9118.054966517857-2.15496651785714
679694.05496651785721.94503348214285
6899.8103.169252232143-3.36925223214286
69116.8118.840680803571-2.04068080357143
70115.7106.4657800099219.23421999007937
7199.498.86578000992060.534219990079373
7294.392.23244667658732.06755332341270
739192.5659040178571-1.56590401785714
7493.293.723046875-0.523046874999994
75103.1103.451618303571-0.351618303571436
7694.197.2516183035714-3.15161830357143
7791.895.4087611607143-3.60876116071429
78102.7104.908761160714-2.20876116071428
7982.680.90876116071431.69123883928570
8089.190.023046875-0.923046875000009
81104.5105.694475446429-1.19447544642857


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.3790647884867930.7581295769735860.620935211513207
180.3926288455310400.7852576910620790.60737115446896
190.2757007980300480.5514015960600970.724299201969952
200.2723660113657910.5447320227315810.727633988634209
210.2109870524465530.4219741048931050.789012947553447
220.1735443803441190.3470887606882370.826455619655881
230.1306525045751800.2613050091503600.86934749542482
240.09789569938735960.1957913987747190.90210430061264
250.1193832117769150.2387664235538310.880616788223085
260.1083190309127230.2166380618254460.891680969087277
270.1556799975335550.311359995067110.844320002466445
280.1084299332484600.2168598664969200.89157006675154
290.07815855938861810.1563171187772360.921841440611382
300.08613730612279010.1722746122455800.91386269387721
310.1708070718438710.3416141436877430.829192928156129
320.1256093008451880.2512186016903760.874390699154812
330.09323531641645990.1864706328329200.90676468358354
340.2493060482832590.4986120965665170.750693951716741
350.2984445526700660.5968891053401320.701555447329934
360.2505644300774540.5011288601549090.749435569922546
370.22298260638340.44596521276680.7770173936166
380.2021488454391070.4042976908782140.797851154560893
390.2333030203952620.4666060407905240.766696979604738
400.2841020450538610.5682040901077210.71589795494614
410.4694370629387660.938874125877530.530562937061234
420.4032311586563920.8064623173127830.596768841343609
430.4410004290111850.8820008580223710.558999570988814
440.3896917360365390.7793834720730780.610308263963461
450.322494559820740.644989119641480.67750544017926
460.4189701294376230.8379402588752460.581029870562377
470.4044181650773270.8088363301546550.595581834922673
480.3345597260446290.6691194520892590.665440273955371
490.3044003797678750.608800759535750.695599620232125
500.2765914174132610.5531828348265230.723408582586739
510.3285246649462250.6570493298924490.671475335053775
520.3299078099589880.6598156199179760.670092190041012
530.2893935837051490.5787871674102990.71060641629485
540.2341133872466560.4682267744933120.765886612753344
550.1827878672406050.365575734481210.817212132759395
560.1971877152367350.3943754304734710.802812284763264
570.1671533429908540.3343066859817090.832846657009146
580.2210094130941850.4420188261883700.778990586905815
590.1534118037865980.3068236075731960.846588196213402
600.2793135276585270.5586270553170550.720686472341473
610.2752906936031070.5505813872062150.724709306396893
620.2910801034409910.5821602068819820.70891989655901
630.4479803279042010.8959606558084010.552019672095799
640.8438931520343880.3122136959312250.156106847965612


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


http://www.freestatistics.org/blog/date/2009/Dec/19/t1261233814vlt02eloli0511h/1l8ix1261233755.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261233814vlt02eloli0511h/1l8ix1261233755.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/19/t1261233814vlt02eloli0511h/2d7yh1261233755.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261233814vlt02eloli0511h/2d7yh1261233755.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/19/t1261233814vlt02eloli0511h/32u6j1261233755.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261233814vlt02eloli0511h/32u6j1261233755.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/19/t1261233814vlt02eloli0511h/48ti31261233755.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261233814vlt02eloli0511h/48ti31261233755.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/19/t1261233814vlt02eloli0511h/5k7sf1261233755.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261233814vlt02eloli0511h/5k7sf1261233755.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/19/t1261233814vlt02eloli0511h/605ag1261233755.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261233814vlt02eloli0511h/605ag1261233755.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/19/t1261233814vlt02eloli0511h/70re21261233755.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261233814vlt02eloli0511h/70re21261233755.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/19/t1261233814vlt02eloli0511h/8ythe1261233755.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261233814vlt02eloli0511h/8ythe1261233755.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/19/t1261233814vlt02eloli0511h/9g30a1261233755.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261233814vlt02eloli0511h/9g30a1261233755.ps (open in new window)


 
Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
 
Parameters (R input):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
 
R code (references can be found in the software module):
library(lattice)
library(lmtest)
n25 <- 25 #minimum number of obs. for Goldfeld-Quandt test
par1 <- as.numeric(par1)
x <- t(y)
k <- length(x[1,])
n <- length(x[,1])
x1 <- cbind(x[,par1], x[,1:k!=par1])
mycolnames <- c(colnames(x)[par1], colnames(x)[1:k!=par1])
colnames(x1) <- mycolnames #colnames(x)[par1]
x <- x1
if (par3 == 'First Differences'){
x2 <- array(0, dim=c(n-1,k), dimnames=list(1:(n-1), paste('(1-B)',colnames(x),sep='')))
for (i in 1:n-1) {
for (j in 1:k) {
x2[i,j] <- x[i+1,j] - x[i,j]
}
}
x <- x2
}
if (par2 == 'Include Monthly Dummies'){
x2 <- array(0, dim=c(n,11), dimnames=list(1:n, paste('M', seq(1:11), sep ='')))
for (i in 1:11){
x2[seq(i,n,12),i] <- 1
}
x <- cbind(x, x2)
}
if (par2 == 'Include Quarterly Dummies'){
x2 <- array(0, dim=c(n,3), dimnames=list(1:n, paste('Q', seq(1:3), sep ='')))
for (i in 1:3){
x2[seq(i,n,4),i] <- 1
}
x <- cbind(x, x2)
}
k <- length(x[1,])
if (par3 == 'Linear Trend'){
x <- cbind(x, c(1:n))
colnames(x)[k+1] <- 't'
}
x
k <- length(x[1,])
df <- as.data.frame(x)
(mylm <- lm(df))
(mysum <- summary(mylm))
if (n > n25) {
kp3 <- k + 3
nmkm3 <- n - k - 3
gqarr <- array(NA, dim=c(nmkm3-kp3+1,3))
numgqtests <- 0
numsignificant1 <- 0
numsignificant5 <- 0
numsignificant10 <- 0
for (mypoint in kp3:nmkm3) {
j <- 0
numgqtests <- numgqtests + 1
for (myalt in c('greater', 'two.sided', 'less')) {
j <- j + 1
gqarr[mypoint-kp3+1,j] <- gqtest(mylm, point=mypoint, alternative=myalt)$p.value
}
if (gqarr[mypoint-kp3+1,2] < 0.01) numsignificant1 <- numsignificant1 + 1
if (gqarr[mypoint-kp3+1,2] < 0.05) numsignificant5 <- numsignificant5 + 1
if (gqarr[mypoint-kp3+1,2] < 0.10) numsignificant10 <- numsignificant10 + 1
}
gqarr
}
bitmap(file='test0.png')
plot(x[,1], type='l', main='Actuals and Interpolation', ylab='value of Actuals and Interpolation (dots)', xlab='time or index')
points(x[,1]-mysum$resid)
grid()
dev.off()
bitmap(file='test1.png')
plot(mysum$resid, type='b', pch=19, main='Residuals', ylab='value of Residuals', xlab='time or index')
grid()
dev.off()
bitmap(file='test2.png')
hist(mysum$resid, main='Residual Histogram', xlab='values of Residuals')
grid()
dev.off()
bitmap(file='test3.png')
densityplot(~mysum$resid,col='black',main='Residual Density Plot', xlab='values of Residuals')
dev.off()
bitmap(file='test4.png')
qqnorm(mysum$resid, main='Residual Normal Q-Q Plot')
qqline(mysum$resid)
grid()
dev.off()
(myerror <- as.ts(mysum$resid))
bitmap(file='test5.png')
dum <- cbind(lag(myerror,k=1),myerror)
dum
dum1 <- dum[2:length(myerror),]
dum1
z <- as.data.frame(dum1)
z
plot(z,main=paste('Residual Lag plot, lowess, and regression line'), ylab='values of Residuals', xlab='lagged values of Residuals')
lines(lowess(z))
abline(lm(z))
grid()
dev.off()
bitmap(file='test6.png')
acf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Autocorrelation Function')
grid()
dev.off()
bitmap(file='test7.png')
pacf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Partial Autocorrelation Function')
grid()
dev.off()
bitmap(file='test8.png')
opar <- par(mfrow = c(2,2), oma = c(0, 0, 1.1, 0))
plot(mylm, las = 1, sub='Residual Diagnostics')
par(opar)
dev.off()
if (n > n25) {
bitmap(file='test9.png')
plot(kp3:nmkm3,gqarr[,2], main='Goldfeld-Quandt test',ylab='2-sided p-value',xlab='breakpoint')
grid()
dev.off()
}
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Estimated Regression Equation', 1, TRUE)
a<-table.row.end(a)
myeq <- colnames(x)[1]
myeq <- paste(myeq, '[t] = ', sep='')
for (i in 1:k){
if (mysum$coefficients[i,1] > 0) myeq <- paste(myeq, '+', '')
myeq <- paste(myeq, mysum$coefficients[i,1], sep=' ')
if (rownames(mysum$coefficients)[i] != '(Intercept)') {
myeq <- paste(myeq, rownames(mysum$coefficients)[i], sep='')
if (rownames(mysum$coefficients)[i] != 't') myeq <- paste(myeq, '[t]', sep='')
}
}
myeq <- paste(myeq, ' + e[t]')
a<-table.row.start(a)
a<-table.element(a, myeq)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable1.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,hyperlink('http://www.xycoon.com/ols1.htm','Multiple Linear Regression - Ordinary Least Squares',''), 6, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Variable',header=TRUE)
a<-table.element(a,'Parameter',header=TRUE)
a<-table.element(a,'S.D.',header=TRUE)
a<-table.element(a,'T-STAT<br />H0: parameter = 0',header=TRUE)
a<-table.element(a,'2-tail p-value',header=TRUE)
a<-table.element(a,'1-tail p-value',header=TRUE)
a<-table.row.end(a)
for (i in 1:k){
a<-table.row.start(a)
a<-table.element(a,rownames(mysum$coefficients)[i],header=TRUE)
a<-table.element(a,mysum$coefficients[i,1])
a<-table.element(a, round(mysum$coefficients[i,2],6))
a<-table.element(a, round(mysum$coefficients[i,3],4))
a<-table.element(a, round(mysum$coefficients[i,4],6))
a<-table.element(a, round(mysum$coefficients[i,4]/2,6))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable2.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Regression Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple R',1,TRUE)
a<-table.element(a, sqrt(mysum$r.squared))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'R-squared',1,TRUE)
a<-table.element(a, mysum$r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Adjusted R-squared',1,TRUE)
a<-table.element(a, mysum$adj.r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (value)',1,TRUE)
a<-table.element(a, mysum$fstatistic[1])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF numerator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[2])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF denominator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[3])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'p-value',1,TRUE)
a<-table.element(a, 1-pf(mysum$fstatistic[1],mysum$fstatistic[2],mysum$fstatistic[3]))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Residual Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Residual Standard Deviation',1,TRUE)
a<-table.element(a, mysum$sigma)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Sum Squared Residuals',1,TRUE)
a<-table.element(a, sum(myerror*myerror))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable3.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Actuals, Interpolation, and Residuals', 4, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Time or Index', 1, TRUE)
a<-table.element(a, 'Actuals', 1, TRUE)
a<-table.element(a, 'Interpolation<br />Forecast', 1, TRUE)
a<-table.element(a, 'Residuals<br />Prediction Error', 1, TRUE)
a<-table.row.end(a)
for (i in 1:n) {
a<-table.row.start(a)
a<-table.element(a,i, 1, TRUE)
a<-table.element(a,x[i])
a<-table.element(a,x[i]-mysum$resid[i])
a<-table.element(a,mysum$resid[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable4.tab')
if (n > n25) {
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'p-values',header=TRUE)
a<-table.element(a,'Alternative Hypothesis',3,header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'breakpoint index',header=TRUE)
a<-table.element(a,'greater',header=TRUE)
a<-table.element(a,'2-sided',header=TRUE)
a<-table.element(a,'less',header=TRUE)
a<-table.row.end(a)
for (mypoint in kp3:nmkm3) {
a<-table.row.start(a)
a<-table.element(a,mypoint,header=TRUE)
a<-table.element(a,gqarr[mypoint-kp3+1,1])
a<-table.element(a,gqarr[mypoint-kp3+1,2])
a<-table.element(a,gqarr[mypoint-kp3+1,3])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable5.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Description',header=TRUE)
a<-table.element(a,'# significant tests',header=TRUE)
a<-table.element(a,'% significant tests',header=TRUE)
a<-table.element(a,'OK/NOK',header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'1% type I error level',header=TRUE)
a<-table.element(a,numsignificant1)
a<-table.element(a,numsignificant1/numgqtests)
if (numsignificant1/numgqtests < 0.01) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'5% type I error level',header=TRUE)
a<-table.element(a,numsignificant5)
a<-table.element(a,numsignificant5/numgqtests)
if (numsignificant5/numgqtests < 0.05) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'10% type I error level',header=TRUE)
a<-table.element(a,numsignificant10)
a<-table.element(a,numsignificant10/numgqtests)
if (numsignificant10/numgqtests < 0.1) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable6.tab')
}
 





Copyright

Creative Commons License

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.

Software written by Ed van Stee & Patrick Wessa


Disclaimer

Information provided on this web site is provided "AS IS" without warranty of any kind, either express or implied, including, without limitation, warranties of merchantability, fitness for a particular purpose, and noninfringement. We use reasonable efforts to include accurate and timely information and periodically update the information, and software without notice. However, we make no warranties or representations as to the accuracy or completeness of such information (or software), and we assume no liability or responsibility for errors or omissions in the content of this web site, or any software bugs in online applications. Your use of this web site is AT YOUR OWN RISK. Under no circumstances and under no legal theory shall we be liable to you or any other person for any direct, indirect, special, incidental, exemplary, or consequential damages arising from your access to, or use of, this web site.


Privacy Policy

We may request personal information to be submitted to our servers in order to be able to:

  • personalize online software applications according to your needs
  • enforce strict security rules with respect to the data that you upload (e.g. statistical data)
  • manage user sessions of online applications
  • alert you about important changes or upgrades in resources or applications

We NEVER allow other companies to directly offer registered users information about their products and services. Banner references and hyperlinks of third parties NEVER contain any personal data of the visitor.

We do NOT sell, nor transmit by any means, personal information, nor statistical data series uploaded by you to third parties.

We carefully protect your data from loss, misuse, alteration, and destruction. However, at any time, and under any circumstance you are solely responsible for managing your passwords, and keeping them secret.

We store a unique ANONYMOUS USER ID in the form of a small 'Cookie' on your computer. This allows us to track your progress when using this website which is necessary to create state-dependent features. The cookie is used for NO OTHER PURPOSE. At any time you may opt to disallow cookies from this website - this will not affect other features of this website.

We examine cookies that are used by third-parties (banner and online ads) very closely: abuse from third-parties automatically results in termination of the advertising contract without refund. We have very good reason to believe that the cookies that are produced by third parties (banner ads) do NOT cause any privacy or security risk.

FreeStatistics.org is safe. There is no need to download any software to use the applications and services contained in this website. Hence, your system's security is not compromised by their use, and your personal data - other than data you submit in the account application form, and the user-agent information that is transmitted by your browser - is never transmitted to our servers.

As a general rule, we do not log on-line behavior of individuals (other than normal logging of webserver 'hits'). However, in cases of abuse, hacking, unauthorized access, Denial of Service attacks, illegal copying, hotlinking, non-compliance with international webstandards (such as robots.txt), or any other harmful behavior, our system engineers are empowered to log, track, identify, publish, and ban misbehaving individuals - even if this leads to ban entire blocks of IP addresses, or disclosing user's identity.


FreeStatistics.org is powered by