Home » date » 2009 » Dec » 20 »

Multiple Regression Analysis 3 Paper

*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: Sun, 20 Dec 2009 05:23:34 -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/20/t12613138645a0dapt181sssrp.htm/, Retrieved Sun, 20 Dec 2009 13:57:57 +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/20/t12613138645a0dapt181sssrp.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 «
-1,2 23,6 -2,4 25,7 0,8 32,5 -0,1 33,5 -1,5 34,5 -4,4 27,9 -4,2 45,3 3,5 40,8 10 58,5 8,6 32,5 9,5 35,5 9,9 46,7 10,4 53,2 16 36,1 12,7 54 10,2 58,1 8,9 41,8 12,6 43,1 13,6 76 14,8 42,8 9,5 41 13,7 61,4 17 34,2 14,7 53,8 17,4 80,7 9 79,5 9,1 96,5 12,2 108,3 15,9 100,1 12,9 108,5 10,9 127,4 10,6 86,5 13,2 71,4 9,6 88,2 6,4 135,6 5,8 70,5 -1 87,5 -0,2 73,3 2,7 92,2 3,6 61,1 -0,9 45,7 0,3 30,5 -1,1 34,8 -2,5 29,2 -3,4 56,7 -3,5 67,1 -3,9 41,8 -4,6 46,8 -0,1 50,1 4,3 81,9 10,2 115,8 8,7 102,5 13,3 106,6 15 101,4 20,7 136,1 20,7 143,4 26,4 127,5 31,2 113,8 31,4 75,3 26,6 98,5 26,6 113,7 19,2 103,7 6,5 73,9 3,1 52,5 -0,2 63,9 -4 44,9 -12,6 31,3 -13 24,9 -17,6 22,8 -21,7 24,8 -23,2 22,8 -16,8 20,9 -19,8 21,5
 
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 time4 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
werkl[t] = -0.395712991636488 + 0.269567934887980afzetp[t] -3.79013568721123M1[t] -3.21395655816536M2[t] -6.56078146518992M3[t] -4.87045347166873M4[t] -3.97578920142145M5[t] -2.65155387116502M6[t] -7.54172565371467M7[t] -2.45587483350240M8[t] -2.04195046420927M9[t] -2.31005489925694M10[t] -0.302773237368129M11[t] -0.210015990850824t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)-0.3957129916364884.145033-0.09550.9242680.462134
afzetp0.2695679348879800.0310788.673800
M1-3.790135687211234.676195-0.81050.42090.21045
M2-3.213956558165364.884167-0.6580.5130750.256537
M3-6.560781465189924.919882-1.33350.1874860.093743
M4-4.870453471668734.881645-0.99770.3224960.161248
M5-3.975789201421454.866318-0.8170.4172140.208607
M6-2.651553871165024.852244-0.54650.5868110.293405
M7-7.541725653714674.889913-1.54230.1283470.064174
M8-2.455874833502404.849025-0.50650.6144160.307208
M9-2.041950464209274.849357-0.42110.6752290.337615
M10-2.310054899256944.850378-0.47630.6356460.317823
M11-0.3027732373681294.841556-0.06250.9503470.475174
t-0.2100159908508240.04853-4.32755.9e-053e-05


Multiple Linear Regression - Regression Statistics
Multiple R0.76096849416809
R-squared0.57907304911645
Adjusted R-squared0.486326432820075
F-TEST (value)6.24360297162756
F-TEST (DF numerator)13
F-TEST (DF denominator)59
p-value3.46713284971045e-07
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation8.38491643678452
Sum Squared Residuals4148.10259545969


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1-1.21.96593859365773-3.16593859365773
2-2.42.89819439511755-5.29819439511755
30.81.17441545448043-0.374415454480434
4-0.12.92429539203879-3.02429539203879
5-1.53.87851160632323-5.37851160632323
6-4.43.21358257546817-7.61358257546817
7-4.22.80387686911853-7.00387686911853
83.56.46665599148408-2.96665599148408
91011.4419168174436-1.44191681744361
108.63.955030084457644.64496991554236
119.56.560999560159582.93900043984042
129.99.672917677422270.227082322577732
1310.47.424957576132072.97504242386793
14163.1815090277426512.8184909722573
1512.74.449934164362128.25006583563788
1610.27.03547470007323.1645252999268
178.93.326165640795595.57383435920441
1812.64.790823295555577.80917670444443
1913.68.559420579969625.04057942003038
2014.84.4855999710501510.3144000289499
219.54.204286066694095.29571393330591
2213.79.225351512510374.47464848748963
23173.6903693545953113.3096306454047
2414.79.066658124917025.63334187508298
2517.412.31788389534165.08211610465838
26912.3605655116711-3.36056551167109
279.113.3863795068914-4.28637950689136
2812.218.0475931412399-5.84759314123989
2915.916.5217843545549-0.621784354554908
3012.919.9003743470195-7.00037434701954
3110.919.8950205430019-8.99502054300188
3210.613.7455268354450-3.14552683544497
3313.29.878959397078783.32104060292122
349.613.9295802772983-4.32958027729833
356.428.5043660620266-22.1043660620266
365.811.0482507473364-5.24825074733639
37-111.63075396237-12.63075396237
38-0.28.16905242515572-8.36905242515572
392.79.70704549666316-7.00704549666316
403.62.803794724317360.796205275682643
41-0.9-0.662903193561076-0.237096806438924
420.3-3.646116464452763.94611646445276
43-1.1-7.587162117834936.48716211783492
44-2.5-4.220907723846161.72090772384616
45-3.43.39611886401558-6.79611886401558
46-3.55.72150496095207-9.22150496095207
47-3.90.698701879324174-4.59870187932417
48-4.62.13929880028138-6.73929880028138
49-0.1-0.971278692650340.871278692650341
504.37.96714477498246-3.66714477498246
5110.213.5486568698096-3.34865686980959
528.711.4437153384698-2.74371533846983
5313.313.23359215090700.0664078490930123
541512.94605822889512.05394177110489
5520.717.19987779610753.50012220389248
5620.724.0435585501512-3.34355855015123
5726.419.96133676387466.43866323612535
5831.215.790135630010815.4098643699892
5931.47.209035807861624.1909641921384
6026.613.555769143780013.0442308562200
6126.613.653050076015312.9469499239847
6219.211.32353386533057.87646613466948
636.5-0.2664314922066556.76643149220665
643.1-4.554873296139057.65487329613905
65-0.2-0.7971505590196340.597150559019634
66-4-4.804721982485640.80472198248564
67-12.6-13.57103367036260.971033670362639
68-13-10.4204336242843-2.57956637571574
69-17.6-10.7826179091067-6.81738209089328
70-21.7-10.7216024652293-10.9783975347707
71-23.2-9.46347266396723-13.7365273360328
72-16.8-9.88289449373708-6.91710550626292
73-19.8-13.7213054108663-6.07869458913365


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.02695548926142310.05391097852284630.973044510738577
180.01048008895351890.02096017790703790.98951991104648
190.006653067028118550.01330613405623710.993346932971881
200.002294576483384510.004589152966769010.997705423516616
210.003466279640605000.006932559281209990.996533720359395
220.006329757503630370.01265951500726070.99367024249637
230.00378168463839590.00756336927679180.996218315361604
240.002406009340000370.004812018680000740.99759399066
250.002252571533356250.004505143066712500.997747428466644
260.01255872073186850.0251174414637370.987441279268132
270.01446581771214890.02893163542429780.985534182287851
280.007764796856661140.01552959371332230.992235203143339
290.004143904567574480.008287809135148970.995856095432426
300.002074347061791930.004148694123583860.997925652938208
310.001298578556317710.002597157112635420.998701421443682
320.001338812277831500.002677624555662990.998661187722168
330.001334096749030540.002668193498061080.99866590325097
340.001737135204957060.003474270409914120.998262864795043
350.009387243419869120.01877448683973820.99061275658013
360.02299856905887490.04599713811774990.977001430941125
370.09900252315095270.1980050463019050.900997476849047
380.1285077980995180.2570155961990350.871492201900482
390.1229446893250340.2458893786500690.877055310674966
400.09159403172260470.1831880634452090.908405968277395
410.0742627896714640.1485255793429280.925737210328536
420.05661448019333330.1132289603866670.943385519806667
430.05064573439182040.1012914687836410.94935426560818
440.07335803705775460.1467160741155090.926641962942245
450.06583284572468120.1316656914493620.934167154275319
460.05948018344628710.1189603668925740.940519816553713
470.04266318684318160.08532637368636310.957336813156818
480.03138457673724190.06276915347448370.968615423262758
490.01888467003973400.03776934007946790.981115329960266
500.01123338896024000.02246677792048000.98876661103976
510.01353688683177870.02707377366355740.986463113168221
520.03579326089621890.07158652179243780.964206739103781
530.1050089387700740.2100178775401480.894991061229926
540.857667766893430.2846644662131410.142332233106570
550.873848260600290.2523034787994180.126151739399709
560.8543020400085830.2913959199828340.145697959991417


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level110.275NOK
5% type I error level220.55NOK
10% type I error level260.65NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/20/t12613138645a0dapt181sssrp/10ml4a1261311809.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/20/t12613138645a0dapt181sssrp/10ml4a1261311809.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/20/t12613138645a0dapt181sssrp/11ieu1261311809.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/20/t12613138645a0dapt181sssrp/11ieu1261311809.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/20/t12613138645a0dapt181sssrp/2j24p1261311809.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/20/t12613138645a0dapt181sssrp/2j24p1261311809.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/20/t12613138645a0dapt181sssrp/3ndtj1261311809.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/20/t12613138645a0dapt181sssrp/3ndtj1261311809.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/20/t12613138645a0dapt181sssrp/4a1pb1261311809.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/20/t12613138645a0dapt181sssrp/4a1pb1261311809.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/20/t12613138645a0dapt181sssrp/51xzq1261311809.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/20/t12613138645a0dapt181sssrp/51xzq1261311809.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/20/t12613138645a0dapt181sssrp/66q3i1261311809.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/20/t12613138645a0dapt181sssrp/66q3i1261311809.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/20/t12613138645a0dapt181sssrp/70r8f1261311809.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/20/t12613138645a0dapt181sssrp/70r8f1261311809.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/20/t12613138645a0dapt181sssrp/8vy5e1261311809.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/20/t12613138645a0dapt181sssrp/8vy5e1261311809.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/20/t12613138645a0dapt181sssrp/9n8px1261311809.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/20/t12613138645a0dapt181sssrp/9n8px1261311809.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