Home » date » 2009 » Dec » 17 »

Paper Multiple Regression zonder monthly dummies en lineaire trend

*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: Thu, 17 Dec 2009 09:50:00 -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/17/t1261068653ro2x1qyb92f7rjh.htm/, Retrieved Thu, 17 Dec 2009 17:51:05 +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/17/t1261068653ro2x1qyb92f7rjh.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 «
7.6 1.62 8.3 1.49 8.4 1.79 8.4 1.8 8.4 1.58 8.4 1.86 8.6 1.74 8.9 1.59 8.8 1.26 8.3 1.13 7.5 1.92 7.2 2.61 7.4 2.26 8.8 2.41 9.3 2.26 9.3 2.03 8.7 2.86 8.2 2.55 8.3 2.27 8.5 2.26 8.6 2.57 8.5 3.07 8.2 2.76 8.1 2.51 7.9 2.87 8.6 3.14 8.7 3.11 8.7 3.16 8.5 2.47 8.4 2.57 8.5 2.89 8.7 2.63 8.7 2.38 8.6 1.69 8.5 1.96 8.3 2.19 8 1.87 8.2 1.6 8.1 1.63 8.1 1.22 8 1.21 7.9 1.49 7.9 1.64 8 1.66 8 1.77 7.9 1.82 8 1.78 7.7 1.28 7.2 1.29 7.5 1.37 7.3 1.12 7 1.51 7 2.24 7 2.94 7.2 3.09 7.3 3.46 7.1 3.64 6.8 4.39 6.4 4.15 6.1 5.21 6.5 5.8 7.7 5.91 7.9 5.39 7.5 5.46 6.9 4.72 6.6 3.14 6.9 2.63 7.7 2.32 8 1.93 8 0.62 7.7 0.6 7.3 -0.37 7.4 -1.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 time4 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
TWG[t] = + 8.31234571227639 -0.164256724306461Infl[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)8.312345712276390.16494450.39500
Infl-0.1642567243064610.061712-2.66170.009610.004805


Multiple Linear Regression - Regression Statistics
Multiple R0.301210274670713
R-squared0.0907276295672066
Adjusted R-squared0.0779209764625194
F-TEST (value)7.0844137672473
F-TEST (DF numerator)1
F-TEST (DF denominator)71
p-value0.00960975317040769
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.669507188914518
Sum Squared Residuals31.8250311965836


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
17.68.04624981889995-0.446249818899948
28.38.067603193059760.232396806940240
38.48.018326175767820.381673824232178
48.48.016683608524760.383316391475243
58.48.052820087872180.347179912127822
68.48.006828205066370.393171794933631
78.68.026539011983140.573460988016855
88.98.051177520629110.848822479370886
98.88.105382239650250.694617760349754
108.38.126735613810090.173264386189914
117.57.99697280160798-0.496972801607982
127.27.88363566183652-0.683635661836524
137.47.94112551534378-0.541125515343785
148.87.916487006697820.883512993302185
159.37.941125515343781.35887448465622
169.37.978904561934271.32109543806573
178.77.84257148075990.85742851924009
188.27.893491065294910.306508934705088
198.37.939482948100720.36051705189928
208.57.941125515343780.558874484656215
218.67.890205930808780.709794069191217
228.57.808077568655550.691922431344448
238.27.858997153190550.341002846809445
248.17.900061334267170.199938665732830
257.97.840928913516840.0590710864831564
268.67.79657959795410.8034204020459
278.77.801507299683290.898492700316706
288.77.793294463467970.906705536532029
298.57.906631603239430.593368396760572
308.47.890205930808780.509794069191218
318.57.837643779030710.662356220969285
328.77.88035052735040.819649472649605
338.77.921414708427010.778585291572989
348.68.034751848198470.565248151801532
358.57.990402532635720.509597467364276
368.37.952623486045240.347376513954763
3788.0051856378233-0.00518563782330506
388.28.049534953386050.150465046613950
398.18.044607251656860.0553927483431439
408.18.1119525086225-0.0119525086225051
4188.11359507586557-0.113595075865569
427.98.06760319305976-0.16760319305976
437.98.04296468441379-0.142964684413791
4488.03967954992766-0.0396795499276619
4588.02161131025395-0.0216113102539512
467.98.01339847403863-0.113398474038628
4788.01996874301089-0.0199687430108866
487.78.10209710516412-0.402097105164117
497.28.10045453792105-0.900454537921052
507.58.08731399997654-0.587313999976536
517.38.12837818105315-0.828378181053151
5278.06431805857363-1.06431805857363
5377.94441064982991-0.944410649829914
5477.8294309428154-0.829430942815392
557.27.80479243416942-0.604792434169422
567.37.74401744617603-0.444017446176032
577.17.71445123580087-0.614451235800869
586.87.59125869257102-0.791258692571023
596.47.63068030640457-1.23068030640457
606.17.45656817863973-1.35656817863973
616.57.35965671129891-0.859656711298913
627.77.34158847162520.358411528374798
637.97.427001968264560.472998031735438
647.57.415503997563110.0844960024368902
656.97.53705397354989-0.63705397354989
666.67.7965795979541-1.1965795979541
676.97.8803505273504-0.980350527350394
687.77.9312701118854-0.231270111885397
6987.995330234364920.00466976563508258
7088.21050654320638-0.210506543206381
717.78.21379167769251-0.513791677692511
727.38.37312070026978-1.07312070026978
737.48.4930281090135-1.09302810901349


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.1926387985448050.3852775970896090.807361201455195
60.08659507512874960.1731901502574990.91340492487125
70.05090821039725390.1018164207945080.949091789602746
80.07898184232127920.1579636846425580.921018157678721
90.05550608628487420.1110121725697480.944493913715126
100.03239741282997480.06479482565994960.967602587170025
110.06144514246883480.1228902849376700.938554857531165
120.04469357105157240.08938714210314480.955306428948428
130.0296898238871860.0593796477743720.970310176112814
140.1230502367291870.2461004734583740.876949763270813
150.3520024078486660.7040048156973330.647997592151334
160.5211997019468720.9576005961062550.478800298053128
170.5184091906620430.9631816186759140.481590809337957
180.4440095117207450.888019023441490.555990488279255
190.3746092721138060.7492185442276120.625390727886194
200.3249171082622270.6498342165244550.675082891737773
210.2967791075914930.5935582151829860.703220892408507
220.2645750125075040.5291500250150080.735424987492496
230.2174991550464520.4349983100929050.782500844953548
240.1764894614687820.3529789229375640.823510538531218
250.1463317635834340.2926635271668680.853668236416566
260.1454983867265150.2909967734530300.854501613273485
270.1594210969321600.3188421938643190.84057890306784
280.179212529691810.358425059383620.82078747030819
290.1684364327468250.336872865493650.831563567253175
300.1540912744516610.3081825489033220.845908725548339
310.1578201537932970.3156403075865940.842179846206703
320.1976257929780460.3952515859560930.802374207021954
330.2525519383872440.5051038767744880.747448061612756
340.2845532269288960.5691064538577920.715446773071104
350.3168425930572130.6336851861144250.683157406942787
360.3307944508914820.6615889017829640.669205549108518
370.3180686330084450.636137266016890.681931366991555
380.3134289844380970.6268579688761940.686571015561903
390.3047867035028330.6095734070056660.695213296497167
400.2899280549430880.5798561098861760.710071945056912
410.2710314664196390.5420629328392780.728968533580361
420.2565616571207940.5131233142415870.743438342879206
430.2464754689425960.4929509378851910.753524531057404
440.2458839335468590.4917678670937180.754116066453141
450.2542206206327510.5084412412655020.745779379367249
460.2599321265087110.5198642530174220.740067873491289
470.2846683933142290.5693367866284580.715331606685771
480.2709018441970620.5418036883941250.729098155802938
490.3043469800274530.6086939600549060.695653019972547
500.2821329306042820.5642658612085630.717867069395718
510.2652152346131550.530430469226310.734784765386845
520.3186434289832950.637286857966590.681356571016705
530.3937644157149890.7875288314299790.60623558428501
540.474281403528030.948562807056060.52571859647197
550.4812377679640890.9624755359281780.518762232035911
560.4633040124598050.926608024919610.536695987540195
570.4466415610412630.8932831220825260.553358438958737
580.4507511761678660.9015023523357330.549248823832134
590.5618987782111040.8762024435777920.438101221788896
600.7691087537705670.4617824924588660.230891246229433
610.8352114692372320.3295770615255360.164788530762768
620.7935100408788640.4129799182422730.206489959121136
630.8188087383589940.3623825232820130.181191261641006
640.793937128134690.4121257437306210.206062871865310
650.6988291552302340.6023416895395320.301170844769766
660.8117081322458260.3765837355083480.188291867754174
670.970513212467180.05897357506563890.0294867875328195
680.964438323802210.0711233523955810.0355616761977905


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 level50.078125OK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/17/t1261068653ro2x1qyb92f7rjh/10w0a01261068595.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/17/t1261068653ro2x1qyb92f7rjh/10w0a01261068595.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/17/t1261068653ro2x1qyb92f7rjh/17kka1261068595.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/17/t1261068653ro2x1qyb92f7rjh/17kka1261068595.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/17/t1261068653ro2x1qyb92f7rjh/29m0y1261068595.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/17/t1261068653ro2x1qyb92f7rjh/29m0y1261068595.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/17/t1261068653ro2x1qyb92f7rjh/348kf1261068595.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/17/t1261068653ro2x1qyb92f7rjh/348kf1261068595.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/17/t1261068653ro2x1qyb92f7rjh/4k17g1261068595.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/17/t1261068653ro2x1qyb92f7rjh/4k17g1261068595.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/17/t1261068653ro2x1qyb92f7rjh/5kopq1261068595.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/17/t1261068653ro2x1qyb92f7rjh/5kopq1261068595.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/17/t1261068653ro2x1qyb92f7rjh/6i28t1261068595.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/17/t1261068653ro2x1qyb92f7rjh/6i28t1261068595.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/17/t1261068653ro2x1qyb92f7rjh/72hyb1261068595.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/17/t1261068653ro2x1qyb92f7rjh/72hyb1261068595.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/17/t1261068653ro2x1qyb92f7rjh/89tuv1261068595.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/17/t1261068653ro2x1qyb92f7rjh/89tuv1261068595.ps (open in new window)


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