Home » date » 2009 » Nov » 20 »

WS 7.2

*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: Fri, 20 Nov 2009 14:37:01 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Nov/20/t12587531888nxzpa7p71o807h.htm/, Retrieved Fri, 20 Nov 2009 22:40:00 +0100
 
BibTeX entries for LaTeX users:
@Manual{KEY,
    author = {{YOUR NAME}},
    publisher = {Office for Research Development and Education},
    title = {Statistical Computations at FreeStatistics.org, URL http://www.freestatistics.org/blog/date/2009/Nov/20/t12587531888nxzpa7p71o807h.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 «
474605 0 470390 0 461251 0 454724 0 455626 0 516847 0 525192 0 522975 0 518585 0 509239 0 512238 0 519164 0 517009 0 509933 0 509127 0 500875 0 506971 0 569323 0 579714 0 577992 0 565644 0 547344 0 554788 0 562325 0 560854 0 555332 0 543599 0 536662 0 542722 0 593530 0 610763 0 612613 0 611324 0 594167 0 595454 0 590865 0 589379 0 584428 0 573100 0 567456 0 569028 0 620735 0 628884 0 628232 0 612117 0 595404 0 597141 0 593408 0 590072 0 579799 0 574205 0 572775 0 572942 0 619567 0 625809 0 619916 0 587625 0 565724 0 557274 0 560576 0 548854 0 531673 0 525919 0 511038 0 498662 0 555362 0 564591 0 541667 0 527070 0 509846 0 514258 0 516922 0 507561 0 492622 0 490243 0 469357 0 477580 0 528379 0 533590 0 517945 1 506174 1 501866 1 516441 1 528222 1 532638 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 time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
Werkzoekend[t] = + 559199.923875432 -42917.4671280275Crisis[t] -13713.7404844296M1[t] -27174.6381611466M2[t] -33850.7810182896M3[t] -43073.2095897181M4[t] -41552.6381611467M5[t] + 12763.3618388533M6[t] + 22020.5046959962M7[t] + 21408.2857142858M8[t] + 8151.0000000001M9[t] -6841.71428571418M10[t] -3412.57142857133M11[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)559199.92387543215587.83807635.874100
Crisis-42917.467128027517908.148812-2.39650.019150.009575
M1-13713.740484429621057.524001-0.65130.5169580.258479
M2-27174.638161146621895.580768-1.24110.2185970.109298
M3-33850.781018289621895.580768-1.5460.1264870.063243
M4-43073.209589718121895.580768-1.96720.0530120.026506
M5-41552.638161146721895.580768-1.89780.0617370.030868
M612763.361838853321895.5807680.58290.5617690.280884
M722020.504695996221895.5807681.00570.3179250.158963
M821408.285714285821745.6092720.98450.3281730.164086
M98151.000000000121745.6092720.37480.7088860.354443
M10-6841.7142857141821745.609272-0.31460.7539560.376978
M11-3412.5714285713321745.609272-0.15690.8757380.437869


Multiple Linear Regression - Regression Statistics
Multiple R0.531838683334346
R-squared0.282852385090811
Adjusted R-squared0.163327782605946
F-TEST (value)2.36647835851726
F-TEST (DF numerator)12
F-TEST (DF denominator)72
p-value0.0125047098828625
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation40682.3097810769
Sum Squared Residuals119163623696.892


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1474605545486.183391008-70881.1833910078
2470390532025.285714286-61635.2857142858
3461251525349.142857143-64098.1428571429
4454724516126.714285714-61402.7142857144
5455626517647.285714286-62021.2857142857
6516847571963.285714286-55116.2857142857
7525192581220.428571429-56028.4285714286
8522975580608.209589718-57633.2095897182
9518585567350.923875432-48765.9238754325
10509239552358.209589718-43119.2095897182
11512238555787.352446861-43549.3524468611
12519164559199.923875432-40035.9238754324
13517009545486.183391003-28477.1833910028
14509933532025.285714286-22092.2857142857
15509127525349.142857143-16222.1428571428
16500875516126.714285714-15251.7142857143
17506971517647.285714286-10676.2857142857
18569323571963.285714286-2640.28571428572
19579714581220.428571429-1506.42857142856
20577992580608.209589718-2616.20958971819
21565644567350.923875432-1706.92387543250
22547344552358.209589718-5014.20958971823
23554788555787.352446861-999.352446861071
24562325559199.9238754323125.0761245676
25560854545486.18339100315367.8166089972
26555332532025.28571428623306.7142857143
27543599525349.14285714318249.8571428571
28536662516126.71428571420535.2857142857
29542722517647.28571428625074.7142857143
30593530571963.28571428621566.7142857143
31610763581220.42857142929542.5714285714
32612613580608.20958971832004.7904102818
33611324567350.92387543343973.0761245675
34594167552358.20958971841808.7904102818
35595454555787.35244686139666.6475531389
36590865559199.92387543231665.0761245676
37589379545486.18339100343892.8166089972
38584428532025.28571428652402.7142857143
39573100525349.14285714347750.8571428572
40567456516126.71428571451329.2857142857
41569028517647.28571428651380.7142857143
42620735571963.28571428648771.7142857142
43628884581220.42857142947663.5714285714
44628232580608.20958971847623.7904102818
45612117567350.92387543344766.0761245675
46595404552358.20958971843045.7904102818
47597141555787.35244686141353.6475531389
48593408559199.92387543234208.0761245676
49590072545486.18339100344585.8166089972
50579799532025.28571428647773.7142857143
51574205525349.14285714348855.8571428572
52572775516126.71428571456648.2857142857
53572942517647.28571428655294.7142857143
54619567571963.28571428647603.7142857142
55625809581220.42857142944588.5714285714
56619916580608.20958971839307.7904102818
57587625567350.92387543220274.0761245675
58565724552358.20958971813365.7904102818
59557274555787.3524468611486.64755313893
60560576559199.9238754321376.0761245676
61548854545486.1833910033367.81660899717
62531673532025.285714286-352.285714285744
63525919525349.142857143569.857142857151
64511038516126.714285714-5088.71428571429
65498662517647.285714286-18985.2857142857
66555362571963.285714286-16601.2857142857
67564591581220.428571429-16629.4285714286
68541667580608.209589718-38941.2095897182
69527070567350.923875432-40280.9238754325
70509846552358.209589718-42512.2095897182
71514258555787.352446861-41529.3524468611
72516922559199.923875432-42277.9238754324
73507561545486.183391003-37925.1833910028
74492622532025.285714286-39403.2857142857
75490243525349.142857143-35106.1428571428
76469357516126.714285714-46769.7142857143
77477580517647.285714286-40067.2857142857
78528379571963.285714286-43584.2857142857
79533590581220.428571429-47630.4285714286
80517945537690.742461691-19745.7424616907
81506174524433.456747405-18259.4567474050
82501866509440.742461691-7574.74246169069
83516441512869.8853188343571.11468116647
84528222516282.45674740511939.5432525951
85532638502568.71626297530069.2837370247


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.6174032067351150.765193586529770.382596793264885
170.6009651328483320.7980697343033350.399034867151668
180.5890555647338130.8218888705323730.410944435266187
190.584850651314570.830298697370860.41514934868543
200.5809522752299760.8380954495400470.419047724770024
210.5468054361217930.9063891277564140.453194563878207
220.4896616811454590.9793233622909180.510338318854541
230.4457627123804160.8915254247608310.554237287619584
240.4045311624364840.8090623248729680.595468837563516
250.4671450515874430.9342901031748870.532854948412557
260.5160494074148140.9679011851703720.483950592585186
270.5287658189831660.9424683620336670.471234181016834
280.5377884168638120.9244231662723750.462211583136188
290.5509860221671590.8980279556656820.449013977832841
300.5306298336022150.938740332795570.469370166397785
310.5319174406615410.9361651186769170.468082559338459
320.5392083760243890.9215832479512210.460791623975611
330.5735166747849130.8529666504301740.426483325215087
340.592977446408550.8140451071828990.407022553591449
350.5993529954887110.8012940090225770.400647004511289
360.5759895526555860.8480208946888280.424010447344414
370.6049120883585450.790175823282910.395087911641455
380.6458326394878740.7083347210242520.354167360512126
390.6656875697246280.6686248605507430.334312430275372
400.6926069780982630.6147860438034740.307393021901737
410.7154596349368270.5690807301263470.284540365063174
420.7279491434037720.5441017131924550.272050856596228
430.7369801658738720.5260396682522550.263019834126128
440.7441033891254910.5117932217490190.255896610874509
450.7484803895990510.5030392208018980.251519610400949
460.750803020994760.4983939580104810.249196979005240
470.7516135032810290.4967729934379420.248386496718971
480.7351070733925560.5297858532148880.264892926607444
490.7396108927133340.5207782145733320.260389107286666
500.766024862933860.4679502741322820.233975137066141
510.7927086834749330.4145826330501330.207291316525067
520.8575140115498320.2849719769003360.142485988450168
530.9165802142586640.1668395714826710.0834197857413355
540.9509761717534650.09804765649307020.0490238282465351
550.9758883143760660.04822337124786730.0241116856239336
560.9918608118919040.01627837621619150.00813918810809575
570.9960915572265120.007816885546976570.00390844277348828
580.997831004272380.004337991455238690.00216899572761934
590.9977602681551110.004479463689777770.00223973184488888
600.9975736237152570.004852752569485430.00242637628474272
610.9964901922590030.007019615481993870.00350980774099694
620.9963542914006460.0072914171987090.0036457085993545
630.9958493504072930.00830129918541360.0041506495927068
640.9970258456784150.005948308643169750.00297415432158488
650.9943242254798680.01135154904026340.0056757745201317
660.9915823932259540.01683521354809180.0084176067740459
670.9908043762863210.01839124742735780.00919562371367889
680.9851395527731260.02972089445374770.0148604472268738
690.981971068100430.03605786379913930.0180289318995697


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level80.148148148148148NOK
5% type I error level150.277777777777778NOK
10% type I error level160.296296296296296NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/20/t12587531888nxzpa7p71o807h/102oqq1258753016.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t12587531888nxzpa7p71o807h/102oqq1258753016.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t12587531888nxzpa7p71o807h/1dk2g1258753016.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t12587531888nxzpa7p71o807h/1dk2g1258753016.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t12587531888nxzpa7p71o807h/2olhe1258753016.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t12587531888nxzpa7p71o807h/2olhe1258753016.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t12587531888nxzpa7p71o807h/3746x1258753016.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t12587531888nxzpa7p71o807h/3746x1258753016.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t12587531888nxzpa7p71o807h/4wcko1258753016.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t12587531888nxzpa7p71o807h/4wcko1258753016.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t12587531888nxzpa7p71o807h/5t9zf1258753016.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t12587531888nxzpa7p71o807h/5t9zf1258753016.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t12587531888nxzpa7p71o807h/64p6k1258753016.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t12587531888nxzpa7p71o807h/64p6k1258753016.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t12587531888nxzpa7p71o807h/7broa1258753016.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t12587531888nxzpa7p71o807h/7broa1258753016.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t12587531888nxzpa7p71o807h/8b5nm1258753016.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t12587531888nxzpa7p71o807h/8b5nm1258753016.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t12587531888nxzpa7p71o807h/9mc3y1258753016.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t12587531888nxzpa7p71o807h/9mc3y1258753016.ps (open in new window)


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





Copyright

Creative Commons License

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

Software written by Ed van Stee & Patrick Wessa


Disclaimer

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


Privacy Policy

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

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

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

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

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

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

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

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

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


FreeStatistics.org is powered by