Home » date » 2009 » Dec » 20 »

Multiple Regression Analysis 4 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 07:49:21 -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/t1261320803qwssciaryzxotcv.htm/, Retrieved Sun, 20 Dec 2009 15:53:35 +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/t1261320803qwssciaryzxotcv.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 0,2 -1,9 -1,6 -4,2 -2,2 -2,4 25,7 -1,2 0,2 -1,9 -1,6 -4,2 0,8 32,5 -2,4 -1,2 0,2 -1,9 -1,6 -0,1 33,5 0,8 -2,4 -1,2 0,2 -1,9 -1,5 34,5 -0,1 0,8 -2,4 -1,2 0,2 -4,4 27,9 -1,5 -0,1 0,8 -2,4 -1,2 -4,2 45,3 -4,4 -1,5 -0,1 0,8 -2,4 3,5 40,8 -4,2 -4,4 -1,5 -0,1 0,8 10 58,5 3,5 -4,2 -4,4 -1,5 -0,1 8,6 32,5 10 3,5 -4,2 -4,4 -1,5 9,5 35,5 8,6 10 3,5 -4,2 -4,4 9,9 46,7 9,5 8,6 10 3,5 -4,2 10,4 53,2 9,9 9,5 8,6 10 3,5 16 36,1 10,4 9,9 9,5 8,6 10 12,7 54 16 10,4 9,9 9,5 8,6 10,2 58,1 12,7 16 10,4 9,9 9,5 8,9 41,8 10,2 12,7 16 10,4 9,9 12,6 43,1 8,9 10,2 12,7 16 10,4 13,6 76 12,6 8,9 10,2 12,7 16 14,8 42,8 13,6 12,6 8,9 10,2 12,7 9,5 41 14,8 13,6 12,6 8,9 10,2 13,7 61,4 9,5 14,8 13,6 12,6 8,9 17 34,2 13,7 9,5 14,8 13,6 12,6 14,7 53,8 17 13,7 9,5 14,8 13,6 17,4 80,7 14,7 17 13,7 9,5 14,8 9 79,5 17,4 14,7 17 13,7 9,5 9,1 96,5 9 17,4 14,7 17 13,7 12,2 108,3 9,1 9 17,4 14,7 17 15,9 100,1 12,2 9,1 9 17,4 14,7 12,9 108,5 15,9 12,2 9,1 9 17,4 10,9 127,4 12,9 15,9 12,2 9,1 9 10,6 86,5 10,9 1 etc...
 
Output produced by software:

Enter (or paste) a matrix (table) containing all data (time) series. Every column represents a different variable and must be delimited by a space or Tab. Every row represents a period in time (or category) and must be delimited by hard returns. The easiest way to enter data is to copy and paste a block of spreadsheet cells. Please, do not use commas or spaces to seperate groups of digits!


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
Y[t] = -0.322809223089442 + 0.0518061441391626X[t] + 0.975170502562991Y1[t] -0.116024070052944Y2[t] + 0.00885828143121708Y3[t] + 0.247106653868723Y4[t] -0.332969323286305Y5[t] -0.688673468306776M1[t] -1.09191559338719M2[t] -0.90814048713177M3[t] -0.371568623488736M4[t] -0.164833511373571M5[t] + 0.185268234324544M6[t] -1.15177125372001M7[t] + 1.4792396079914M8[t] + 0.75528855950583M9[t] + 0.176543249138199M10[t] + 0.611097713715677M11[t] -0.0455753246002475t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)-0.3228092230894421.850837-0.17440.8621930.431097
X0.05180614413916260.0197552.62250.011320.00566
Y10.9751705025629910.129627.523300
Y2-0.1160240700529440.188871-0.61430.5415940.270797
Y30.008858281431217080.191860.04620.9633450.481672
Y40.2471066538687230.1903091.29840.1996510.099825
Y5-0.3329693232863050.132367-2.51550.0148930.007447
M1-0.6886734683067762.086495-0.33010.742630.371315
M2-1.091915593387192.193078-0.49790.6205820.310291
M3-0.908140487131772.253233-0.4030.6885110.344255
M4-0.3715686234887362.226363-0.16690.8680760.434038
M5-0.1648335113735712.203134-0.07480.9406360.470318
M60.1852682343245442.192780.08450.9329790.46649
M7-1.151771253720012.232651-0.51590.6080470.304023
M81.47923960799142.1826470.67770.5008380.250419
M90.755288559505832.1818340.34620.7305590.36528
M100.1765432491381992.1832370.08090.935850.467925
M110.6110977137156772.165320.28220.7788530.389427
t-0.04557532460024750.025781-1.76780.0827510.041376


Multiple Linear Regression - Regression Statistics
Multiple R0.961390629342346
R-squared0.924271942187273
Adjusted R-squared0.899029256249697
F-TEST (value)36.6154356344236
F-TEST (DF numerator)18
F-TEST (DF denominator)54
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation3.71751652208532
Sum Squared Residuals746.276170966775


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1-1.20.261558133992251-1.46155813399225
2-2.4-0.381597201493626-2.01840279850637
30.8-1.820136390393042.62013639039304
4-0.12.5888539611605-2.6888539611605
5-1.50.497074584303551-1.99707458430355
6-4.4-0.603161017919336-3.79683898208066
7-4.2-2.56757765486589-1.63242234513411
83.5-0.9840652797165564.48406527971656
9106.57701921357623.4229807864238
108.69.80228117090963-1.20228117090963
119.59.310524719696420.189475280303575
129.912.1678738455548-2.26787384555476
1310.411.0859393943683-0.685939394368294
14167.690135039679168.30986496032084
1512.714.8507039344068-2.15070393440679
1610.211.4899076249712-1.28990762497121
178.98.791552411419670.108447588580332
1812.69.37384561299763.2261543870024
1913.610.7523892213352.84761077866499
2014.812.63325858270552.16674141729452
219.513.3686219826737-3.86862198267375
2213.79.84952716151513.85047283848491
231712.56577295837914.43422704162089
2414.715.571871679197-0.871871679197
2517.411.93341290512725.46658709487283
26917.1540614889104-8.15406148891044
279.19.06487526293180.0351247370681950
2812.29.596076830639162.60392316936084
2915.913.70246023213472.19753976786525
3012.914.7167872690934-1.81678726909335
3110.913.8076216672225-2.90762166722246
3210.613.4374264500346-2.83742645003463
3313.211.68063916261751.51936083738247
349.612.5058892562393-2.90588925623931
356.412.0402404147405-5.64024041474054
365.85.9229666190873-0.122966619087303
37-16.56607528306986-7.56607528306986
38-0.2-2.963585083835172.76358508383517
392.70.1254842030526422.57451579694736
403.62.597486389220451.00251361077955
41-0.91.02855817895485-1.92855817895485
420.3-1.459491977851291.75949197785129
43-1.1-0.468821161505506-0.631178838494494
44-2.5-0.461044934714281-2.03895506528572
45-3.4-2.40972974513665-0.990270254863347
46-3.5-1.42799788986268-2.07200211013732
47-3.9-3.10072368117839-0.799276318821605
48-4.6-3.76459650892189-0.835403491078113
49-0.1-4.721219513966734.62121951396673
504.31.218300943546823.08169905645318
5110.26.809624381337813.39037561866219
528.711.8546745982653-3.15467459826532
5313.311.46497671660101.83502328339904
541515.8011027877226-0.801102787722553
5520.717.31981712203913.38018287796087
5620.723.3502375632766-2.65023756327655
5726.422.74685997023493.65314002976508
5831.225.91018165378735.28981834621268
5931.429.16656553487242.23343446512764
6026.627.5024806662695-0.902480666269482
6126.624.30268971588642.29731028411364
6219.223.1826848131924-3.98268481319238
636.512.969448608664-6.469448608664
643.1-0.4269994042566313.52699940425663
65-0.20.0153778765862193-0.215377876586219
66-4-5.429082674042881.42908267404288
67-12.6-11.5434291942252-1.05657080577479
68-13-13.87581238158580.875812381585828
69-17.6-13.8634105839657-3.73658941603426
70-21.7-18.7398813525887-2.96011864741131
71-23.2-22.7823799465100-0.417620053489954
72-16.8-21.80059630118675.00059630118666
73-19.8-17.1284559184772-2.67154408152278


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
220.412818722334430.825637444668860.58718127766557
230.5890035117309780.8219929765380440.410996488269022
240.4727717996399690.9455435992799390.527228200360031
250.4056864321155690.8113728642311370.594313567884431
260.6826568761755960.6346862476488080.317343123824404
270.5846655244061920.8306689511876170.415334475593808
280.4886193601904970.9772387203809940.511380639809503
290.4916988986544550.9833977973089090.508301101345545
300.4109000977677850.821800195535570.589099902232215
310.3744092760039880.7488185520079760.625590723996012
320.2854089330278250.5708178660556510.714591066972175
330.2651553448133380.5303106896266750.734844655186662
340.2631747276174090.5263494552348180.736825272382591
350.4857647546352260.9715295092704510.514235245364774
360.4057919215640420.8115838431280840.594208078435958
370.5926170408452910.8147659183094190.407382959154709
380.547872520062870.904254959874260.45212747993713
390.555625877118790.8887482457624210.444374122881211
400.5071972665684090.9856054668631820.492802733431591
410.4077720465168990.8155440930337970.592227953483101
420.3665903460519770.7331806921039540.633409653948023
430.2745261503710300.5490523007420610.72547384962897
440.2080077944809720.4160155889619440.791992205519028
450.1410024759303630.2820049518607260.858997524069637
460.1191227545661240.2382455091322490.880877245433876
470.09225789468828010.1845157893765600.90774210531172
480.1246827504162080.2493655008324160.875317249583792
490.1447454582124010.2894909164248020.855254541787599
500.1073832628523900.2147665257047800.89261673714761
510.237872977948450.47574595589690.76212702205155


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/20/t1261320803qwssciaryzxotcv/10329b1261320556.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/20/t1261320803qwssciaryzxotcv/10329b1261320556.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/20/t1261320803qwssciaryzxotcv/1odto1261320555.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/20/t1261320803qwssciaryzxotcv/1odto1261320555.ps (open in new window)


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


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


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


http://www.freestatistics.org/blog/date/2009/Dec/20/t1261320803qwssciaryzxotcv/50edm1261320555.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/20/t1261320803qwssciaryzxotcv/50edm1261320555.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/20/t1261320803qwssciaryzxotcv/6u1i81261320555.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/20/t1261320803qwssciaryzxotcv/6u1i81261320555.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/20/t1261320803qwssciaryzxotcv/7rejt1261320555.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/20/t1261320803qwssciaryzxotcv/7rejt1261320555.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/20/t1261320803qwssciaryzxotcv/85yxx1261320555.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/20/t1261320803qwssciaryzxotcv/85yxx1261320555.ps (open in new window)


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