Home » date » 2010 » Dec » 22 »

MRLM 4

*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: Wed, 22 Dec 2010 14:43:02 +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/22/t12930289015cfoayyf5eost1o.htm/, Retrieved Wed, 22 Dec 2010 15:41:44 +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/22/t12930289015cfoayyf5eost1o.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 time6 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk


Multiple Linear Regression - Estimated Regression Equation
werklozen[t] = + 276.783271150381 -0.0411872037745392faillissementen[t] -6.86282765284943inflatie[t] -0.793778070678376t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)276.78327115038111.62546523.808400
faillissementen-0.04118720377453920.015564-2.64630.0101010.005051
inflatie-6.862827652849431.545746-4.43983.4e-051.7e-05
t-0.7937780706783760.11781-6.737800


Multiple Linear Regression - Regression Statistics
Multiple R0.71884657803498
R-squared0.516740402752601
Adjusted R-squared0.495420126403451
F-TEST (value)24.2370405659964
F-TEST (DF numerator)3
F-TEST (DF denominator)68
p-value8.85936879413407e-11
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation19.9208584476987
Sum Squared Residuals26985.160887941


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1216.234239.253220345035-23.0192203450348
2213.586237.882258339354-24.2962583393541
3209.465232.667498576631-23.2024985766306
4204.045232.547792818833-28.502792818833
5200.237227.883594946954-27.6465949469539
6203.666224.178657267857-20.5126572678572
7241.476237.7182820571553.75771794284543
8260.307240.42516036087619.8818396391241
9243.324221.15166441215222.1723355878477
10244.46219.19233180480825.2676681951917
11233.575221.88520803107311.689791968927
12237.217225.27831791079211.9386820892079
13235.243222.32905911281712.9139408871829
14230.354221.7554750849048.59852491509585
15227.184212.42306991975814.7609300802418
16221.678218.987543300832.69045669917036
17217.142216.3673726187530.774627381246751
18219.452207.62507849103511.8269215089646
19256.446222.93595779978733.5100422002133
20265.845224.44861195119541.3963880488047
21248.624204.4891403729144.1348596270899
22241.114214.0733602998127.0406397001903
23229.245216.13539898845713.1096010115433
24231.805210.05647578577621.7485242142239
25219.277208.41105186326810.8659481367319
26219.313211.3511536907547.96184630924553
27212.61215.622224330739-3.01222433073849
28214.771216.641143929725-1.87014392972479
29211.142208.7086429893282.43335701067176
30211.457210.0285953600131.4284046399874
31240.048225.2973660578214.7506339421804
32240.636226.56299936515514.0730006348446
33230.58213.09659201291917.4834079870815
34208.795212.041944588572-3.24694458857236
35197.922211.715432594019-13.7934325940194
36194.596210.056979190512-15.4609791905118
37194.581209.579003808296-14.9980038082964
38185.686207.98912749203-22.30312749203
39178.106203.763167755619-25.6571677556187
40172.608205.879883832625-33.2718838326248
41167.302209.423638071411-42.121638071411
42168.053204.483698550525-36.4306985505248
43202.3217.103356347187-14.8033563471872
44202.388220.002270970899-17.6142709708991
45182.516198.080122824616-15.5641228246159
46173.476189.805248340885-16.329248340885
47166.444192.568493279444-26.1244932794435
48171.297191.569035136329-20.2720351363285
49169.701185.929527422722-16.2285274227217
50164.182186.701170231199-22.5191702311991
51161.914176.723925450979-14.8099254509788
52159.612177.577226016984-17.9652260169842
53151.001173.050950158896-22.0499501588958
54158.114156.3873762897441.72662371025646
55186.53170.69576063044915.8342393695507
56187.069180.6372263960226.43177360397751
57174.33156.29821627590318.0317837240973
58169.362164.2485918042675.11340819573312
59166.827179.240545878035-12.4135458780353
60178.037175.7687293441292.26827065587074
61186.413180.5209657591215.89203424087904
62189.226181.9918184353087.23418156469152
63191.563181.0859725556910.4770274443103
64188.906189.367074257143-0.461074257143318
65186.005197.495535217329-11.4905352173286
66195.309194.627422284010.681577715990475
67223.532213.21809846366110.3139015363385
68226.899212.21992005272714.6790799472732
69214.126189.36283023989524.763169760105
70206.903193.23731065177113.6656893482293
71204.442184.50958168366919.9324183163313
72220.375185.63852152010734.7364784798931


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
70.03311310108425780.06622620216851550.966886898915742
80.01035841811756380.02071683623512770.989641581882436
90.04686448546778110.09372897093556220.953135514532219
100.05181417743217250.1036283548643450.948185822567827
110.06064236502577910.1212847300515580.93935763497422
120.09671983584087130.1934396716817430.903280164159129
130.09077686461731530.1815537292346310.909223135382685
140.101510580924570.2030211618491390.89848941907543
150.06984745645274380.1396949129054880.930152543547256
160.1059287155938760.2118574311877520.894071284406124
170.117026873439120.2340537468782410.88297312656088
180.08038434704846650.1607686940969330.919615652951533
190.0649168622820570.1298337245641140.935083137717943
200.0702364511090940.1404729022181880.929763548890906
210.1118104981113640.2236209962227290.888189501888636
220.1106090540717550.221218108143510.889390945928245
230.1448831329547040.2897662659094080.855116867045296
240.1664837395165040.3329674790330080.833516260483496
250.1912249744899750.3824499489799510.808775025510025
260.2052243039315870.4104486078631730.794775696068413
270.1802840215872450.3605680431744890.819715978412755
280.1690969478292520.3381938956585030.830903052170748
290.1615647165996080.3231294331992160.838435283400392
300.1481858769033910.2963717538067810.85181412309661
310.2069146674253110.4138293348506220.793085332574689
320.3340351344799990.6680702689599980.665964865520001
330.7217430249100620.5565139501798760.278256975089938
340.8181028478059560.3637943043880880.181897152194044
350.8851718734310440.2296562531379130.114828126568957
360.9372904994250680.1254190011498640.062709500574932
370.9704847153615120.05903056927697620.0295152846384881
380.9854557460959590.02908850780808260.0145442539040413
390.9910188233491420.0179623533017150.00898117665085749
400.9941485271658170.01170294566836540.0058514728341827
410.9956546628272730.00869067434545450.00434533717272725
420.9945787305854790.0108425388290430.00542126941452152
430.9947245524188790.01055089516224240.0052754475811212
440.9953899086920770.009220182615845230.00461009130792261
450.9967064392587530.00658712148249440.0032935607412472
460.9981576999761720.003684600047656950.00184230002382848
470.9989587329600220.00208253407995630.00104126703997815
480.9992682961248290.00146340775034290.00073170387517145
490.9995393621763830.0009212756472332420.000460637823616621
500.9994607724400240.001078455119952080.000539227559976038
510.9992360605677940.001527878864411030.000763939432205517
520.9985682973650740.002863405269852810.00143170263492641
530.9991982619402520.001603476119495330.000801738059747666
540.9981666890180470.003666621963905470.00183331098195274
550.9978612947215430.004277410556914090.00213870527845705
560.9958724397761850.008255120447629090.00412756022381454
570.9965620485612990.006875902877402520.00343795143870126
580.9929393160238630.01412136795227450.00706068397613726
590.9915446265058050.01691074698839080.00845537349419541
600.9826932977594460.03461340448110740.0173067022405537
610.9674165861280450.06516682774391080.0325834138719554
620.9451480573445290.1097038853109430.0548519426554714
630.967981461578030.0640370768439420.032018538421971
640.964369582737490.07126083452502210.0356304172625111
650.911032395013350.1779352099732990.0889676049866496


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level150.254237288135593NOK
5% type I error level240.406779661016949NOK
10% type I error level300.508474576271186NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/22/t12930289015cfoayyf5eost1o/106app1293028973.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/22/t12930289015cfoayyf5eost1o/106app1293028973.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/22/t12930289015cfoayyf5eost1o/109sv1293028973.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/22/t12930289015cfoayyf5eost1o/109sv1293028973.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/22/t12930289015cfoayyf5eost1o/209sv1293028973.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/22/t12930289015cfoayyf5eost1o/209sv1293028973.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/22/t12930289015cfoayyf5eost1o/3s0ry1293028973.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/22/t12930289015cfoayyf5eost1o/3s0ry1293028973.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/22/t12930289015cfoayyf5eost1o/4s0ry1293028973.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/22/t12930289015cfoayyf5eost1o/4s0ry1293028973.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/22/t12930289015cfoayyf5eost1o/5s0ry1293028973.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/22/t12930289015cfoayyf5eost1o/5s0ry1293028973.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/22/t12930289015cfoayyf5eost1o/63rq11293028973.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/22/t12930289015cfoayyf5eost1o/63rq11293028973.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/22/t12930289015cfoayyf5eost1o/73rq11293028973.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/22/t12930289015cfoayyf5eost1o/73rq11293028973.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/22/t12930289015cfoayyf5eost1o/8wip41293028973.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/22/t12930289015cfoayyf5eost1o/8wip41293028973.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/22/t12930289015cfoayyf5eost1o/9wip41293028973.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/22/t12930289015cfoayyf5eost1o/9wip41293028973.ps (open in new window)


 
Parameters (Session):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = Linear Trend ;
 
Parameters (R input):
par1 = 1 ; par2 = Do not include Seasonal 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