Home » date » 2010 » Dec » 21 »

MRLM 1

*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: Tue, 21 Dec 2010 14:16:43 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Dec/21/t12929423266l5f3fwdwtk7tv9.htm/, Retrieved Tue, 21 Dec 2010 15:38:58 +0100
 
BibTeX entries for LaTeX users:
@Manual{KEY,
    author = {{YOUR NAME}},
    publisher = {Office for Research Development and Education},
    title = {Statistical Computations at FreeStatistics.org, URL http://www.freestatistics.org/blog/date/2010/Dec/21/t12929423266l5f3fwdwtk7tv9.htm/},
    year = {2010},
}
@Manual{R,
    title = {R: A Language and Environment for Statistical Computing},
    author = {{R Development Core Team}},
    organization = {R Foundation for Statistical Computing},
    address = {Vienna, Austria},
    year = {2010},
    note = {{ISBN} 3-900051-07-0},
    url = {http://www.R-project.org},
}
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
216.234 627 1,59 213.586 696 1,26 209.465 825 1,13 204.045 677 1,92 200.237 656 2,61 203.666 785 2,26 241.476 412 2,41 260.307 352 2,26 243.324 839 2,03 244.460 729 2,86 233.575 696 2,55 237.217 641 2,27 235.243 695 2,26 230.354 638 2,57 227.184 762 3,07 221.678 635 2,76 217.142 721 2,51 219.452 854 2,87 256.446 418 3,14 265.845 367 3,11 248.624 824 3,16 241.114 687 2,47 229.245 601 2,57 231.805 676 2,89 219.277 740 2,63 219.313 691 2,38 212.610 683 1,69 214.771 594 1,96 211.142 729 2,19 211.457 731 1,87 240.048 386 1,6 240.636 331 1,63 230.580 707 1,22 208.795 715 1,21 197.922 657 1,49 194.596 653 1,64 194.581 642 1,66 185.686 643 1,77 178.106 718 1,82 172.608 654 1,78 167.302 632 1,28 168.053 731 1,29 202.300 392 1,37 202.388 344 1,12 182.516 792 1,51 173.476 852 2,24 166.444 649 2,94 171.297 629 3,09 169.701 685 3,46 164.182 617 3,64 161.914 715 4,39 159.612 715 4,15 151.001 629 5,21 158.114 916 5,8 186.530 531 5,91 187.069 357 5,39 174.330 917 5,46 etc...
 
Output produced by software:

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


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time8 seconds
R Server'George Udny Yule' @ 72.249.76.132


Multiple Linear Regression - Estimated Regression Equation
werklozen[t] = + 260.190949372379 -0.0647261802161827faillissementen[t] -5.17543693747146inflatie[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)260.19094937237914.56527417.863800
faillissementen-0.06472618021618270.019443-3.3290.0014010.000701
inflatie-5.175436937471461.955416-2.64670.0100610.00503


Multiple Linear Regression - Regression Statistics
Multiple R0.440580564404765
R-squared0.194111233731221
Adjusted R-squared0.170752139056764
F-TEST (value)8.30987829093725
F-TEST (DF numerator)2
F-TEST (DF denominator)69
p-value0.000584105125278511
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation25.5379050338095
Sum Squared Residuals45000.7369525952


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1216.234211.3786896462514.85531035374853
2213.586208.6204774007014.96552259929858
3209.465200.9436069546858.52139304531492
4204.045206.434486446078-2.38948644607773
5200.237204.222684743762-3.98568474376226
6203.666197.6844104239905.9815895760103
7241.476221.05096010400520.4250398959949
8260.307225.71084645759734.5961535424032
9243.324195.37954718793447.9444528120658
10244.46198.20381435361346.256185646387
11233.575201.94416375136331.6308362486368
12237.217206.95322600574530.2637739942547
13235.243203.50976664344631.7332333565539
14230.354205.59477346515224.7592265348476
15227.184194.9810086496132.20299135039
16221.678204.80561898768116.8723810123186
17217.142200.53302672345816.6089732765425
18219.452190.06128745721529.3907125427845
19256.446216.88453405835439.5614659416462
20265.845220.34083235750345.5041676424967
21248.624190.50219615183458.1218038481657
22241.114202.94073432830738.1732656716934
23229.245207.98964213315121.2553578668488
24231.805201.47903879694730.3259612030534
25219.277198.68217686685320.5948231331465
26219.313203.14761893181416.1653810681857
27212.61207.2364798603995.37352013960095
28214.771211.5997419265223.17125807347796
29211.142201.6713571017199.47064289828107
30211.457203.1980445612778.25895543872257
31240.048226.92594470897813.1220552910222
32240.636230.33062151274410.3053784872563
33230.58208.11550689582222.4644931041778
34208.795207.6494518234681.14554817653248
35197.922209.954447933514-12.0324479335141
36194.596209.437037113758-14.8410371137581
37194.581210.045516357387-15.4645163573867
38185.686209.411492114049-23.7254921140486
39178.106204.298256750961-26.1922567509614
40172.608208.647749762296-36.0397497622959
41167.302212.659444195788-45.3574441957877
42168.053206.199797985011-38.1467979850109
43202.3227.727938123299-25.4279381232991
44202.388232.128654008044-29.7406540080437
45182.516201.11290486558-18.5969048655800
46173.476193.451265088255-19.9752650882549
47166.444202.96787381591-36.5238738159100
48171.297203.486081879613-32.1890818796129
49169.701197.946504120642-28.2455041206422
50164.182201.416305726598-37.2343057265978
51161.914191.191562362308-29.2775623623083
52159.612192.433667227301-32.8216672273014
53151.001192.514155572173-41.5131555721734
54158.114170.884234057021-12.7702340570208
55186.53195.234515377129-8.70451537712928
56187.069209.188097942230-22.1190979422302
57174.33172.5791564355451.75084356445511
58169.362182.169609808514-12.8076098085141
59166.827198.113941795661-31.2869417956609
60178.037191.044487601344-13.0074876013439
61186.413198.021146009903-11.6081460099032
62189.226199.392304613355-10.1663046133553
63191.563191.867641173666-0.304641173666517
64188.906206.016731019328-17.1107310193276
65186.005214.596844760565-28.5918447605649
66195.309207.242010727736-11.9330107277357
67223.532234.451355552321-10.9193555523215
68226.899239.178758439944-12.2797584399436
69214.126202.20607473373311.9199252662674
70206.903210.776405639916-3.87340563991628
71204.442203.0762490520401.36575094795980
72220.375208.22946283958112.1455371604188


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
60.003253696248693550.00650739249738710.996746303751306
70.01374813244586490.02749626489172970.986251867554135
80.01115093056691080.02230186113382170.988849069433089
90.2576762267924070.5153524535848130.742323773207593
100.2755937031607540.5511874063215080.724406296839246
110.2043156956316440.4086313912632880.795684304368356
120.1540478242992690.3080956485985380.84595217570073
130.1176808377366710.2353616754733430.882319162263329
140.08011552400574840.1602310480114970.919884475994252
150.05726885145305960.1145377029061190.94273114854694
160.04295920855407210.08591841710814420.957040791445928
170.02939985204791860.05879970409583710.970600147952081
180.02060583233703410.04121166467406830.979394167662966
190.01905219062674980.03810438125349960.98094780937325
200.02626110455635260.05252220911270520.973738895443647
210.07565271782307650.1513054356461530.924347282176924
220.1061297956616700.2122595913233390.89387020433833
230.1071714219358320.2143428438716640.892828578064168
240.1360491116969210.2720982233938410.86395088830308
250.1535365784359540.3070731568719080.846463421564046
260.1656449608131790.3312899216263580.834355039186821
270.1454188747399320.2908377494798630.854581125260068
280.1428034090890660.2856068181781310.857196590910934
290.1494170389187770.2988340778375540.850582961081223
300.1434945035771310.2869890071542620.856505496422869
310.1947048040307390.3894096080614780.80529519596926
320.3023882178167740.6047764356335470.697611782183226
330.5840016995388290.8319966009223430.415998300461171
340.5832059340877240.8335881318245510.416794065912276
350.6086397985264380.7827204029471240.391360201473562
360.654375169972950.69124966005410.34562483002705
370.687096599405030.625806801189940.31290340059497
380.7701516930708860.4596966138582280.229848306929114
390.8438381858387690.3123236283224630.156161814161231
400.9297017748424120.1405964503151770.0702982251575883
410.977969738223810.04406052355238050.0220302617761902
420.9903524100506460.0192951798987090.0096475899493545
430.9862236596424370.02755268071512560.0137763403575628
440.9791611609455420.04167767810891660.0208388390544583
450.9712012472518690.05759750549626260.0287987527481313
460.9750490671290440.04990186574191210.0249509328709560
470.9954808650618290.00903826987634120.0045191349381706
480.9982738316072560.003452336785488500.00172616839274425
490.999030439280840.001939121438320090.000969560719160047
500.9996347092694940.0007305814610127050.000365290730506353
510.9997116004940620.0005767990118765930.000288399505938297
520.9997971203181460.0004057593637080430.000202879681854021
530.9999469641836460.0001060716327086225.30358163543111e-05
540.99987014223550.0002597155289997800.000129857764499890
550.999777926153190.0004441476936193490.000222073846809675
560.9995202560990860.0009594878018286030.000479743900914302
570.9994429571913270.001114085617345400.000557042808672701
580.998802138382550.002395723234899460.00119786161744973
590.9983125311593270.003374937681345070.00168746884067253
600.9957913427112890.008417314577422440.00420865728871122
610.9896233111950120.02075337760997680.0103766888049884
620.9757477031929460.04850459361410880.0242522968070544
630.9463194859269280.1073610281461450.0536805140730723
640.918134326506060.1637313469878800.0818656734939401
650.976838520480910.04632295903817930.0231614795190897
660.975129346133460.04974130773307790.0248706538665390


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level150.245901639344262NOK
5% type I error level280.459016393442623NOK
10% type I error level320.524590163934426NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/21/t12929423266l5f3fwdwtk7tv9/1001kt1292940993.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t12929423266l5f3fwdwtk7tv9/1001kt1292940993.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t12929423266l5f3fwdwtk7tv9/1ci601292940993.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t12929423266l5f3fwdwtk7tv9/1ci601292940993.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t12929423266l5f3fwdwtk7tv9/2m95k1292940993.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t12929423266l5f3fwdwtk7tv9/2m95k1292940993.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t12929423266l5f3fwdwtk7tv9/3m95k1292940993.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t12929423266l5f3fwdwtk7tv9/3m95k1292940993.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t12929423266l5f3fwdwtk7tv9/4m95k1292940993.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t12929423266l5f3fwdwtk7tv9/4m95k1292940993.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t12929423266l5f3fwdwtk7tv9/5m95k1292940993.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t12929423266l5f3fwdwtk7tv9/5m95k1292940993.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t12929423266l5f3fwdwtk7tv9/6fjmn1292940993.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t12929423266l5f3fwdwtk7tv9/6fjmn1292940993.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t12929423266l5f3fwdwtk7tv9/7qslq1292940993.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t12929423266l5f3fwdwtk7tv9/7qslq1292940993.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t12929423266l5f3fwdwtk7tv9/8qslq1292940993.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t12929423266l5f3fwdwtk7tv9/8qslq1292940993.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t12929423266l5f3fwdwtk7tv9/9qslq1292940993.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t12929423266l5f3fwdwtk7tv9/9qslq1292940993.ps (open in new window)


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





Copyright

Creative Commons License

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

Software written by Ed van Stee & Patrick Wessa


Disclaimer

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


Privacy Policy

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

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

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

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

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

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

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

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

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


FreeStatistics.org is powered by