Home » date » 2009 » Nov » 19 »

multiple regression met 2 maanden minder, totale industrie zonder 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:49:29 -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/t1258645938mpf0gppb9hwysbo.htm/, Retrieved Thu, 19 Nov 2009 16:52:31 +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/t1258645938mpf0gppb9hwysbo.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 «
105.6 86.2 96.9 97.6 102.8 86.1 105.6 96.9 101.7 86.2 102.8 105.6 104.2 88.8 101.7 102.8 92.7 89.6 104.2 101.7 91.9 87.8 92.7 104.2 106.5 88.3 91.9 92.7 112.3 88.6 106.5 91.9 102.8 91 112.3 106.5 96.5 91.5 102.8 112.3 101 95.4 96.5 102.8 98.9 98.7 101 96.5 105.1 99.9 98.9 101 103 98.6 105.1 98.9 99 100.3 103 105.1 104.3 100.2 99 103 94.6 100.4 104.3 99 90.4 101.4 94.6 104.3 108.9 103 90.4 94.6 111.4 109.1 108.9 90.4 100.8 111.4 111.4 108.9 102.5 114.1 100.8 111.4 98.2 121.8 102.5 100.8 98.7 127.6 98.2 102.5 113.3 129.9 98.7 98.2 104.6 128 113.3 98.7 99.3 123.5 104.6 113.3 111.8 124 99.3 104.6 97.3 127.4 111.8 99.3 97.7 127.6 97.3 111.8 115.6 128.4 97.7 97.3 111.9 131.4 115.6 97.7 107 135.1 111.9 115.6 107.1 134 107 111.9 100.6 144.5 107.1 107 99.2 147.3 100.6 107.1 108.4 150.9 99.2 100.6 103 148.7 108.4 99.2 99.8 141.4 103 108.4 115 138.9 99.8 103 90.8 139.8 115 99.8 95.9 145.6 90.8 115 114.4 147.9 95.9 90.8 108.2 148.5 114.4 95.9 112.6 151.1 108.2 114.4 109.1 157. 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 time4 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
tot_indus[t] = + 134.94014688261 + 0.128373522157055prijsindex[t] -0.0277011889880574`y(t-1)`[t] -0.425165410701896`y(t-2)`[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)134.9401468826114.8942949.059900
prijsindex0.1283735221570550.0202266.346900
`y(t-1)`-0.02770118898805740.110892-0.24980.8035040.401752
`y(t-2)`-0.4251654107018960.111934-3.79840.0003160.000158


Multiple Linear Regression - Regression Statistics
Multiple R0.657695865815495
R-squared0.432563851910793
Adjusted R-squared0.407156263190381
F-TEST (value)17.0249863798872
F-TEST (DF numerator)3
F-TEST (DF denominator)67
p-value2.52390219834808e-08
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation6.01689199427035
Sum Squared Residuals2425.60028113788


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1105.6101.8255551951013.77444480489936
2102.8101.8693332861800.930666713820146
3101.798.26079489445563.43920510554437
4104.299.81550050991614.38449949008386
592.7100.316628306944-7.61662830694372
691.999.341206113669-7.44120611366894
7106.5104.3169560490102.18304395099027
8112.3104.2911630749938.00883692500728
9102.898.23117763579124.56882236420876
1096.596.09256631018530.407433689814681
11101100.8068119388910.193188061109394
1298.9103.784331298985-4.88433129898457
13105.1102.0833076742893.01669232571057
14103102.6375220862330.362477913766722
1599100.277904024423-1.27790402442344
16104.3101.2687187906343.03128120936605
1794.6102.848238836236-8.24823883623624
1890.4100.991937214857-10.5919372148574
19108.9105.4377843278673.46221567213308
20111.4107.4940855416943.90591445830615
21100.899.85453157219990.945468427800138
22102.599.43185915854263.06814084145743
2398.2104.879996611312-6.6799966113123
2498.7105.020896954279-6.32089695427864
25113.3107.1305167267646.169483273236
26104.6106.269586970089-1.66958697008901
2799.399.7254914683307-0.425491468330677
28111.8103.6354336041528.1645663958476
2997.3105.979015393856-8.67901539385572
3097.7101.091789704840-3.39178970484026
31115.6107.3483065021488.25169349785182
32111.9107.0675096214524.83249037854765
33107100.0345252011256.96547479887467
34107.1101.6021621723915.49783782760893
35100.6105.030624548581-4.43062454858063
3699.2105.527611597973-6.32761159797257
37108.4108.792113111884-0.392113111883563
38103108.850071999431-5.85007199943057
3999.8104.151009929762-4.35100992976214
40115106.2146131469228.78538685307848
4190.8107.269620558490-16.4696205584905
4295.9102.222041517844-6.32204151784355
43114.4112.6650274939521.73497250604843
44108.2110.061236016387-1.86123601638707
45112.6102.7011944477369.8988055522637
46109.1106.0369253043463.06307469565425
47105105.546886880286-0.546886880286158
48105107.764733598948-2.76473359894769
49118.5109.6619600094148.83803999058607
50103.7111.085223268274-7.38522326827392
51112.5108.0661912196494.43380878035144
52116.6112.7797842045083.82021579549165
5396.6110.131464823757-13.5314648237570
54101.9108.942310419640-7.04231041964032
55116.5116.939356470002-0.43935647000178
56119.3114.9619221014884.33807789851151
57115.4108.6255943672116.77440563278858
58108.5108.0566599429280.443340057072246
59111.5109.9701300097611.52986999023873
60108.8113.321324513053-4.5213245130527
61121.8113.2631458384138.53685416158744
62109.6115.886718357309-6.28671835730882
63112.2110.7873839893481.4126160106516
64119.6114.7085051524824.89149484751802
65104.1113.731857443754-9.63185744375376
66105.3109.718429260088-4.41842926008837
67115116.211064938104-1.21106493810356
68124.1116.1638939883727.93610601162766
69116.8110.9789554951835.82104450481682
70107.5106.3622048734471.13779512655346
71115.6113.5490643894402.05093561056045


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
70.6047096652132330.7905806695735340.395290334786767
80.5136155815814380.9727688368371240.486384418418562
90.4664479192969470.9328958385938930.533552080703053
100.3816457984110210.7632915968220420.618354201588979
110.2722978110397610.5445956220795230.727702188960239
120.244256819943790.488513639887580.75574318005621
130.2320047080201280.4640094160402560.767995291979872
140.1591182985930710.3182365971861410.84088170140693
150.1035045792836920.2070091585673850.896495420716308
160.08698754598674570.1739750919734910.913012454013254
170.1486160709860270.2972321419720540.851383929013973
180.1795072518876570.3590145037753140.820492748112343
190.2009311516127920.4018623032255830.799068848387208
200.1578036967581370.3156073935162740.842196303241863
210.1216242885171980.2432485770343960.878375711482802
220.1251588649845550.2503177299691090.874841135015445
230.1210856911680290.2421713823360590.87891430883197
240.09712675009605170.1942535001921030.902873249903948
250.1398693294717960.2797386589435910.860130670528204
260.1066773604060600.2133547208121200.89332263959394
270.07878996137022350.1575799227404470.921210038629777
280.1277259595188980.2554519190377960.872274040481102
290.1764276842575170.3528553685150340.823572315742483
300.1389387506356440.2778775012712870.861061249364356
310.1848327371089530.3696654742179060.815167262891047
320.1669442268850470.3338884537700940.833055773114953
330.1921386343269070.3842772686538150.807861365673093
340.1886960166276160.3773920332552330.811303983372384
350.1683563480301130.3367126960602250.831643651969887
360.1624219256549950.324843851309990.837578074345005
370.1220080333754210.2440160667508420.877991966624579
380.1134133126022520.2268266252045040.886586687397748
390.09162482596988150.1832496519397630.908375174030118
400.1412101550117870.2824203100235730.858789844988213
410.469099994220720.938199988441440.53090000577928
420.4828670359999180.9657340719998360.517132964000082
430.4165504447941560.8331008895883130.583449555205844
440.3624234412342500.7248468824684990.63757655876575
450.4585627304195590.9171254608391180.541437269580441
460.4038496373939570.8076992747879140.596150362606043
470.3318523053113960.6637046106227920.668147694688604
480.2788982949595150.557796589919030.721101705040485
490.3560546144355770.7121092288711540.643945385564423
500.3693814907173680.7387629814347370.630618509282632
510.3462679027714990.6925358055429970.653732097228501
520.3015789339319520.6031578678639040.698421066068048
530.6315794018244090.7368411963511820.368420598175591
540.6515454851840740.6969090296318520.348454514815926
550.5864807660281270.8270384679437460.413519233971873
560.5115940505000180.9768118989999640.488405949499982
570.4944129379868240.9888258759736480.505587062013176
580.3944041313198490.7888082626396980.605595868680151
590.2985535838893290.5971071677786580.701446416110671
600.2979150366894720.5958300733789440.702084963310528
610.317848501692450.63569700338490.68215149830755
620.3345988708926720.6691977417853450.665401129107328
630.2316103299056220.4632206598112440.768389670094378
640.1588596155930220.3177192311860450.841140384406978


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 level00OK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258645938mpf0gppb9hwysbo/10ywlg1258645764.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258645938mpf0gppb9hwysbo/10ywlg1258645764.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258645938mpf0gppb9hwysbo/17u6x1258645764.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258645938mpf0gppb9hwysbo/17u6x1258645764.ps (open in new window)


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


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258645938mpf0gppb9hwysbo/3421p1258645764.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258645938mpf0gppb9hwysbo/3421p1258645764.ps (open in new window)


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


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258645938mpf0gppb9hwysbo/58fin1258645764.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258645938mpf0gppb9hwysbo/58fin1258645764.ps (open in new window)


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


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258645938mpf0gppb9hwysbo/79ghk1258645764.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258645938mpf0gppb9hwysbo/79ghk1258645764.ps (open in new window)


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


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258645938mpf0gppb9hwysbo/9kgd01258645764.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258645938mpf0gppb9hwysbo/9kgd01258645764.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