Home » date » 2009 » Nov » 19 »

multiple regression, basic. 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:13:51 -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/t12586438219147a69tvvgltw9.htm/, Retrieved Thu, 19 Nov 2009 16:17:13 +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/t12586438219147a69tvvgltw9.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 time6 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
tot_indus[t] = + 92.7500732489502 + 0.0894748397840029prijsindex[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)92.75007324895022.37131639.113300
prijsindex0.08947483978400290.0151095.922100


Multiple Linear Regression - Regression Statistics
Multiple R0.575011290154962
R-squared0.330637983805674
Adjusted R-squared0.321210349774768
F-TEST (value)35.071151756821
F-TEST (DF numerator)1
F-TEST (DF denominator)71
p-value1.03454354749566e-07
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation6.46580416981606
Sum Squared Residuals2968.27027293117


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
197.6100.167537467044-2.56753746704385
296.9100.248064822850-3.34806482284963
3105.6100.4628044383315.13719556166878
4102.8100.4538569543532.34614304564719
5101.7100.4628044383311.23719556166879
6104.2100.6954390217703.50456097823038
792.7100.767018893597-8.06701889359682
891.9100.605964181986-8.70596418198561
9106.5100.6507016018785.84929839812238
10112.3100.67754405381311.6224559461872
11102.8100.8922836692941.90771633070557
1296.5100.937021089186-4.43702108918643
13101101.285972964344-0.285972964344038
1498.9101.581239935631-2.68123993563124
15105.1101.6886097433723.41139025662794
16103101.5722924516531.42770754834715
1799101.724399679286-2.72439967928565
18104.3101.7154521953072.58454780469275
1994.6101.733347163264-7.13334716326406
2090.4101.822822003048-11.4228220030480
21108.9101.9659817467026.93401825329755
22111.4102.5117782693858.88822173061513
23100.8102.717570400888-1.91757040088809
24102.5102.959152468305-0.45915246830489
2598.2103.648108734642-5.44810873464171
2698.7104.167062805389-5.46706280538892
27113.3104.3728549368928.92714506310786
28104.6104.2028527413030.397147258697465
2999.3103.800215962275-4.50021596227452
30111.8103.8449533821677.95504661783348
3197.3104.149167837432-6.84916783743213
3297.7104.167062805389-6.46706280538892
33115.6104.23864267721611.3613573227839
34111.9104.5070671965687.39293280343187
35107104.8381241037692.16187589623105
36107.1104.7397017800072.36029821999345
37100.6105.679187597739-5.07918759773858
3899.2105.929717149134-6.72971714913378
39108.4106.2518265723562.14817342764381
40103106.054981924831-3.05498192483139
4199.8105.401815594408-5.60181559440817
42115105.1781284949489.82187150505184
4390.8105.258655850754-14.4586558507538
4495.9105.777609921501-9.87760992150097
45114.4105.9834020530048.41659794699582
46108.2106.0370869568752.16291304312542
47112.6106.2697215403136.330278459687
48109.1106.8423605149312.25763948506938
49105107.737108912771-2.73710891277064
50105108.166588143734-3.16658814373385
51118.5108.27395795147510.2260420485253
52103.7109.526605708451-5.8266057084507
53112.5111.1371528245631.36284717543725
54116.6110.2066144908096.39338550919088
5596.6111.047677984779-14.4476779847787
56101.9111.047677984779-9.14767798477874
57116.5110.7971484333845.70285156661647
58119.3111.2713650842398.02863491576125
59115.4111.2355751483254.16442485167486
60108.5111.593474507461-3.09347450746116
61111.5111.638211927353-0.138211927353162
62108.8111.987163802511-3.18716380251078
63121.8112.7834898765889.0165101234116
64109.6114.062980085500-4.46298008549964
65112.2114.125612473348-1.92561247334844
66119.6113.2934964633576.30650353664278
67104.1113.526131046796-9.42613104679563
68105.3112.622435164977-7.3224351649772
69115112.5776977450852.42230225491481
70124.1113.08770433185411.0122956681460
71116.8112.5240128412154.27598715878521
72107.5111.861899026813-4.36189902681317
73115.6114.5282492523761.07175074762354


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.03196390947738330.06392781895476670.968036090522617
60.01971607482255160.03943214964510320.980283925177448
70.2827272970288590.5654545940577170.717272702971141
80.3547415742448640.7094831484897290.645258425755135
90.3826761092125340.7653522184250680.617323890787466
100.5961721242154360.8076557515691290.403827875784564
110.492321640497910.984643280995820.50767835950209
120.4673298407234970.9346596814469940.532670159276503
130.3718005731298380.7436011462596760.628199426870162
140.2945483296324240.5890966592648470.705451670367576
150.2444769074612150.4889538149224310.755523092538785
160.1803400385906280.3606800771812550.819659961409372
170.1385581247512220.2771162495024430.861441875248778
180.1022507439803640.2045014879607280.897749256019636
190.1141480941667600.2282961883335210.88585190583324
200.1950513105431860.3901026210863710.804948689456814
210.2434589480615370.4869178961230740.756541051938463
220.3111894708007390.6223789416014790.68881052919926
230.2550900148385250.5101800296770490.744909985161476
240.1984717909941790.3969435819883580.801528209005821
250.1781159097184830.3562318194369660.821884090281517
260.1501794587378170.3003589174756330.849820541262183
270.2188338519056250.4376677038112490.781166148094375
280.1692479019870650.3384958039741310.830752098012935
290.1462021883690240.2924043767380490.853797811630976
300.1689126049260470.3378252098520940.831087395073953
310.1749213188659870.3498426377319740.825078681134013
320.1712985840794010.3425971681588020.8287014159206
330.2806660607404710.5613321214809420.719333939259529
340.292784430928750.58556886185750.70721556907125
350.24158832454580.48317664909160.7584116754542
360.197458371383990.394916742767980.80254162861601
370.1829931334325440.3659862668650890.817006866567456
380.1837606559428880.3675213118857760.816239344057112
390.1466027431178630.2932054862357260.853397256882137
400.1166151245429070.2332302490858150.883384875457093
410.1057190229473140.2114380458946270.894280977052686
420.1536953782755340.3073907565510690.846304621724466
430.3509031515309920.7018063030619850.649096848469008
440.4659947672681120.9319895345362240.534005232731888
450.4886839224849230.9773678449698450.511316077515077
460.4235603059306700.8471206118613390.57643969406933
470.4050178832947990.8100357665895990.594982116705201
480.3430179797846340.6860359595692680.656982020215366
490.2912298500826310.5824597001652620.708770149917369
500.2525332655493390.5050665310986780.747466734450661
510.3273159547364390.6546319094728780.672684045263561
520.3065768640758290.6131537281516580.693423135924171
530.2449605428821310.4899210857642610.75503945711787
540.2432793006626780.4865586013253560.756720699337322
550.5103791394320640.9792417211358720.489620860567936
560.6394469051174060.7211061897651880.360553094882594
570.5907270431832830.8185459136334350.409272956816717
580.6087761336992620.7824477326014770.391223866300738
590.5544419111401840.8911161777196320.445558088859816
600.4810366027946860.9620732055893720.518963397205314
610.3864794459730910.7729588919461810.613520554026909
620.3259333817388940.6518667634777890.674066618261105
630.3843757686083540.7687515372167080.615624231391646
640.3235839211512870.6471678423025740.676416078848713
650.2400008619816400.4800017239632790.75999913801836
660.2109004046275960.4218008092551920.789099595372404
670.3411444212001510.6822888424003020.658855578799849
680.4392560428606270.8785120857212540.560743957139373


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


http://www.freestatistics.org/blog/date/2009/Nov/19/t12586438219147a69tvvgltw9/15ei81258643624.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t12586438219147a69tvvgltw9/15ei81258643624.ps (open in new window)


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


http://www.freestatistics.org/blog/date/2009/Nov/19/t12586438219147a69tvvgltw9/3a4nw1258643624.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t12586438219147a69tvvgltw9/3a4nw1258643624.ps (open in new window)


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


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


http://www.freestatistics.org/blog/date/2009/Nov/19/t12586438219147a69tvvgltw9/68tvd1258643624.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t12586438219147a69tvvgltw9/68tvd1258643624.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t12586438219147a69tvvgltw9/7gmdr1258643624.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t12586438219147a69tvvgltw9/7gmdr1258643624.ps (open in new window)


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


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