Home » date » 2009 » Nov » 19 »

multiple regression with seasonal dummies and linear trend, totale industrie zonder de bouwnijverheid, prijsindex van de industriele grondstoffen

*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, 19 Nov 2009 08:28:26 -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/19/t12586447142swiozkgqmuja4x.htm/, Retrieved Thu, 19 Nov 2009 16:32:07 +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/19/t12586447142swiozkgqmuja4x.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 «
97.6 82.9 96.9 83.8 105.6 86.2 102.8 86.1 101.7 86.2 104.2 88.8 92.7 89.6 91.9 87.8 106.5 88.3 112.3 88.6 102.8 91 96.5 91.5 101 95.4 98.9 98.7 105.1 99.9 103 98.6 99 100.3 104.3 100.2 94.6 100.4 90.4 101.4 108.9 103 111.4 109.1 100.8 111.4 102.5 114.1 98.2 121.8 98.7 127.6 113.3 129.9 104.6 128 99.3 123.5 111.8 124 97.3 127.4 97.7 127.6 115.6 128.4 111.9 131.4 107 135.1 107.1 134 100.6 144.5 99.2 147.3 108.4 150.9 103 148.7 99.8 141.4 115 138.9 90.8 139.8 95.9 145.6 114.4 147.9 108.2 148.5 112.6 151.1 109.1 157.5 105 167.5 105 172.3 118.5 173.5 103.7 187.5 112.5 205.5 116.6 195.1 96.6 204.5 101.9 204.5 116.5 201.7 119.3 207 115.4 206.6 108.5 210.6 111.5 211.1 108.8 215 121.8 223.9 109.6 238.2 112.2 238.9 119.6 229.6 104.1 232.2 105.3 222.1 115 221.6 124.1 227.3 116.8 221 107.5 213.6 115.6 243.4
 
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
tot_indus[t] = + 90.832085622519 + 0.102540997522223prijsindex[t] -1.02882141864122M1[t] -2.96881131069401M2[t] + 7.59567990197284M3[t] -0.427850750705502M4[t] -0.910410059206618M5[t] + 7.2838462707706M6[t] -8.87902180084571M7[t] -7.59582151496311M8[t] + 8.03783230706095M9[t] + 9.4283972869726M10[t] + 4.08770137665445M11[t] -0.032791804572772t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)90.8320856225192.27099839.996500
prijsindex0.1025409975222230.0325933.14610.0025930.001296
M1-1.028821418641221.672555-0.61510.5408410.270421
M2-2.968811310694011.739573-1.70660.0931490.046575
M37.595679901972841.7443594.35445.4e-052.7e-05
M4-0.4278507507055021.753935-0.24390.8081250.404063
M5-0.9104100592066181.74596-0.52140.6040140.302007
M67.28384627077061.7130494.2527.7e-053.8e-05
M7-8.879021800845711.714484-5.17883e-061e-06
M8-7.595821514963111.702849-4.46073.7e-051.9e-05
M98.037832307060951.6985334.73221.4e-057e-06
M109.42839728697261.699975.54621e-060
M114.087701376654451.6973892.40820.0191740.009587
t-0.0327918045727720.078074-0.420.6760060.338003


Multiple Linear Regression - Regression Statistics
Multiple R0.940800839498478
R-squared0.88510621960104
Adjusted R-squared0.859790640869066
F-TEST (value)34.9629067923750
F-TEST (DF numerator)13
F-TEST (DF denominator)59
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation2.93862008885469
Sum Squared Residuals509.493793570601


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
197.698.2711210938972-0.671121093897202
296.996.39062629504180.509373704958178
3105.6107.168424097189-1.56842409718921
4102.899.1018475401863.69815245981413
5101.798.59675052686423.10324947313581
6104.2107.024821645826-2.82482164582643
792.790.91119456765511.78880543234487
891.991.977029253425-0.0770292534249414
9106.5107.629161769637-1.12916176963735
10112.3109.0176972442333.28230275576709
11102.8103.890307923395-1.09030792339531
1296.599.8210852409292-3.3210852409292
1310199.15938190805191.84061809194812
1498.997.52498550324971.37501449675035
15105.1108.179734108370-3.07973410837040
1610399.99010835434043.00989164565961
179999.6490769370543-0.649076937054284
18104.3107.800287362707-3.50028736270651
1994.691.62513568602192.97486431397812
2090.492.978085164854-2.57808516485391
21108.9108.7430127783410.156987221659233
22111.4110.7262860385650.673713961434789
23100.8105.588642617975-4.78864261797541
24102.5101.7450101300580.754989869941816
2598.2101.472962587765-3.27296258776531
2698.7100.094918676769-1.39491867676865
27113.3110.8624623791642.43753762083616
28104.6102.6113120266201.9886879733795
2999.3101.634526424697-2.33452642469660
30111.8109.8472614488621.95273855113784
3197.394.00024096424863.29975903575136
3297.795.27115764506292.42884235493710
33115.6110.9540524605324.64594753946801
34111.9112.619448628438-0.719448628437527
35107107.625362604379-0.625362604378833
36107.1103.3920743258773.70792567412283
37100.6103.407141576647-2.80714157664653
3899.2101.721474673083-2.52147467308318
39108.4112.622321672257-4.22232167225726
40103104.340409020457-1.34040902045726
4199.8103.076508625471-3.27650862547114
42115110.981620657074.01837934292998
4390.894.878247678651-4.07824767865095
4495.996.7233939455897-0.823393945589662
45114.4112.5601002573421.83989974265793
46108.2113.979398031194-5.77939803119428
47112.6108.8725169098613.72748309013885
48109.1105.4082861127763.69171388722384
49105105.372082864784-0.372082864784393
50105103.8914979562661.10850204373449
51118.5114.5462465613863.95375343861376
52103.7107.925498069446-4.22549806944626
53112.5109.2558849117723.24411508822761
54116.6116.3509230629460.249076937054285
5596.6101.119148563466-4.51914856346554
56101.9102.369557044775-0.469557044775349
57116.5117.683304269164-1.18330426916442
58119.3119.584544731371-0.284544731371096
59115.4114.1700406174711.22995938252873
60108.5110.459711426333-1.95971142633294
61111.5109.449368701882.05063129811993
62108.8107.8764968955910.923503104408818
63121.8119.3208111816332.47918881836696
64109.6112.730824988950-3.13082498894972
65112.2112.287252574141-0.087252574141383
66119.6119.4950858225890.104914177410842
67104.1103.5660325399580.53396746004214
68105.3103.7807769462931.51922305370677
69115119.330368464983-4.33036846498340
70124.1121.2726253261992.82737467380103
71116.8115.2531293269181.54687067308197
72107.5110.373832764026-2.87383276402635
73115.6112.3679412669753.23205873302538


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.2192758807721190.4385517615442390.780724119227881
180.1205016719890010.2410033439780020.879498328010999
190.06019831398440170.1203966279688030.939801686015598
200.03542103312462860.07084206624925730.964578966875371
210.027048897319030.054097794638060.97295110268097
220.01177181017690250.02354362035380510.988228189823097
230.007220371374030940.01444074274806190.99277962862597
240.05023075563371140.1004615112674230.949769244366289
250.04436207534386630.08872415068773250.955637924656134
260.02554574378082910.05109148756165820.974454256219171
270.09673625423884320.1934725084776860.903263745761157
280.07621704192835110.1524340838567020.92378295807165
290.06785615042157060.1357123008431410.93214384957843
300.1273130646046640.2546261292093280.872686935395336
310.1258595263649890.2517190527299780.874140473635011
320.1304648769403590.2609297538807170.869535123059641
330.2265033693838750.453006738767750.773496630616125
340.2055044080008440.4110088160016890.794495591999156
350.1650385713093740.3300771426187490.834961428690626
360.2347919716790110.4695839433580230.765208028320989
370.2323962222204530.4647924444409060.767603777779547
380.2258073667951070.4516147335902150.774192633204893
390.3797057134953840.7594114269907680.620294286504616
400.3876620827776130.7753241655552270.612337917222387
410.4189670230085440.8379340460170870.581032976991456
420.5323718913551680.9352562172896640.467628108644832
430.5823543603772080.8352912792455840.417645639622792
440.5010153337956730.9979693324086540.498984666204327
450.542462646982320.915074706035360.45753735301768
460.8286088646561340.3427822706877310.171391135343865
470.837601589687210.3247968206255790.162398410312789
480.9624429008950.07511419820999940.0375570991049997
490.9531213921539460.09375721569210820.0468786078460541
500.9185055485339450.1629889029321090.0814944514660547
510.8997446928011040.2005106143977930.100255307198896
520.863308407166060.2733831856678790.136691592833939
530.9044822632840980.1910354734318050.0955177367159023
540.8700983250170040.2598033499659910.129901674982996
550.8828417118806230.2343165762387540.117158288119377
560.7940724584115950.4118550831768090.205927541588405


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level20.05NOK
10% type I error level80.2NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/19/t12586447142swiozkgqmuja4x/10nuou1258644500.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t12586447142swiozkgqmuja4x/10nuou1258644500.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t12586447142swiozkgqmuja4x/1igy51258644500.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t12586447142swiozkgqmuja4x/1igy51258644500.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t12586447142swiozkgqmuja4x/2h4rf1258644500.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t12586447142swiozkgqmuja4x/2h4rf1258644500.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t12586447142swiozkgqmuja4x/38bg01258644500.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t12586447142swiozkgqmuja4x/38bg01258644500.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t12586447142swiozkgqmuja4x/4re5o1258644500.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t12586447142swiozkgqmuja4x/4re5o1258644500.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t12586447142swiozkgqmuja4x/5i1p71258644500.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t12586447142swiozkgqmuja4x/5i1p71258644500.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t12586447142swiozkgqmuja4x/6z9xz1258644500.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t12586447142swiozkgqmuja4x/6z9xz1258644500.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t12586447142swiozkgqmuja4x/72r2r1258644500.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t12586447142swiozkgqmuja4x/72r2r1258644500.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t12586447142swiozkgqmuja4x/8qq9i1258644500.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t12586447142swiozkgqmuja4x/8qq9i1258644500.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t12586447142swiozkgqmuja4x/90uvx1258644500.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t12586447142swiozkgqmuja4x/90uvx1258644500.ps (open in new window)


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





Copyright

Creative Commons License

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

Software written by Ed van Stee & Patrick Wessa


Disclaimer

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


Privacy Policy

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

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

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

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

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

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

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

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

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


FreeStatistics.org is powered by