Home » date » 2009 » Nov » 23 »

*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: Mon, 23 Nov 2009 07:58:43 -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/23/t1258988498apmyp2rw6b9oqlp.htm/, Retrieved Mon, 23 Nov 2009 16:01:50 +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/23/t1258988498apmyp2rw6b9oqlp.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 «
6.7 510 6.9 7.0 6.7 509 6.7 6.9 6.5 501 6.7 6.7 6.4 507 6.5 6.7 6.5 569 6.4 6.5 6.5 580 6.5 6.4 6.5 578 6.5 6.5 6.7 565 6.5 6.5 6.8 547 6.7 6.5 7.2 555 6.8 6.7 7.6 562 7.2 6.8 7.6 561 7.6 7.2 7.2 555 7.6 7.6 6.4 544 7.2 7.6 6.1 537 6.4 7.2 6.3 543 6.1 6.4 7.1 594 6.3 6.1 7.5 611 7.1 6.3 7.4 613 7.5 7.1 7.1 611 7.4 7.5 6.8 594 7.1 7.4 6.9 595 6.8 7.1 7.2 591 6.9 6.8 7.4 589 7.2 6.9 7.3 584 7.4 7.2 6.9 573 7.3 7.4 6.9 567 6.9 7.3 6.8 569 6.9 6.9 7.1 621 6.8 6.9 7.2 629 7.1 6.8 7.1 628 7.2 7.1 7.0 612 7.1 7.2 6.9 595 7.0 7.1 7.1 597 6.9 7.0 7.3 593 7.1 6.9 7.5 590 7.3 7.1 7.5 580 7.5 7.3 7.5 574 7.5 7.5 7.3 573 7.5 7.5 7.0 573 7.3 7.5 6.7 620 7.0 7.3 6.5 626 6.7 7.0 6.5 620 6.5 6.7 6.5 588 6.5 6.5 6.6 566 6.5 6.5 6.8 557 6.6 6.5 6.9 561 6.8 6.6 6.9 549 6.9 6.8 6.8 532 6.9 6.9 6.8 526 6.8 6.9 6.5 511 6.8 6.8 6.1 499 6.5 6.8 6.1 555 6.1 6.5 5.9 565 6.1 6.1 5.7 542 5.9 6.1 5.9 527 5.7 5.9 5.9 510 5.9 5.7 6.1 514 5.9 5.9 6.3 517 6.1 5.9 6.2 508 6.3 6.1 5.9 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
wkgo[t] = + 0.753076660402044 + 0.00609879281421756werkl[t] + 1.20867003086177Y1[t] -0.797725081680719Y2[t] + 0.020267931887861M1[t] + 0.0775591481335028M2[t] + 0.059439407605469M3[t] + 0.0444861284488672M4[t] -0.0970493024554228M5[t] -0.487497044140113M6[t] -0.394445509798076M7[t] -0.198209424553334M8[t] -0.16031660909194M9[t] + 0.0804244309999566M10[t] + 0.0178292881987102M11[t] -0.00381852004158168t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)0.7530766604020440.321932.33930.0230510.011526
werkl0.006098792814217560.0009416.482700
Y11.208670030861770.08604414.047200
Y2-0.7977250816807190.088342-9.0300
M10.0202679318878610.0846540.23940.8116860.405843
M20.07755914813350280.0902320.85960.3938330.196917
M30.0594394076054690.0912280.65150.5174580.258729
M40.04448612844886720.0891020.49930.6196170.309808
M5-0.09704930245542280.100152-0.9690.3368550.168428
M6-0.4874970441401130.09886-4.93128e-064e-06
M7-0.3944455097980760.090963-4.33636.4e-053.2e-05
M8-0.1982094245533340.089461-2.21560.0309550.015478
M9-0.160316609091940.086313-1.85740.0687120.034356
M100.08042443099995660.0879450.91450.3645270.182264
M110.01782928819871020.0854360.20870.8354780.417739
t-0.003818520041581680.000975-3.91490.0002560.000128


Multiple Linear Regression - Regression Statistics
Multiple R0.979231420750028
R-squared0.958894175384118
Adjusted R-squared0.947475890768595
F-TEST (value)83.9788293664123
F-TEST (DF numerator)15
F-TEST (DF denominator)54
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.130855591573846
Sum Squared Residuals0.924652035691628


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
16.76.635658048680460.0643419513195365
26.76.521070454066020.178929545933979
36.56.60988686731881-0.109886867318807
46.46.385973818833580.0140261811664228
56.56.65742303561916-0.157423035619160
66.56.53088300610353-0.0308830061035303
76.56.52814592660748-0.0281459266074778
86.76.641279185225810.0587208147741899
96.86.80730921616206-0.00730921616206051
107.27.054344065476150.145655934523851
117.67.434317456509480.165682543490520
127.67.570948835127390.0290511648726091
137.27.23171545741608-0.0317154574160772
146.46.73463342031904-0.334633420319037
156.16.022157618032770.0778423819672291
166.36.31555763180593-0.0155576318059354
177.16.962293645061730.137706354938271
187.57.479097869530430.0209021304695729
197.47.42581641645945-0.0258164164594509
207.17.16607936027571-0.0660793602757127
216.86.81364567676337-0.0136456767633662
226.96.93338350487358-0.0333835048735842
237.27.20275919836428-0.00275919836427855
247.47.45174230558601-0.0517423055860097
257.37.44011423502934-0.140114235029341
266.97.14608819085469-0.246088190854686
276.96.683861669223130.21613833077687
286.86.99637748832567-0.196377488325669
297.17.047293760632930.0527062393670671
307.27.1441913588470.0558086411529964
317.17.1088750589152-0.00887505891520399
3277.00307242783663-0.00307242783663344
336.96.892372750496640.00762724950335739
347.17.10039836125729-0.000398361257288924
357.37.33109604149801-0.0310960414980147
367.57.373340844651280.126659155348719
377.57.41099131819160.0890086818084047
387.57.26832624117420.231673758825794
397.37.240289187790370.0597108122096268
4076.979783382419840.0202166175801644
416.76.9180167008198-0.218016700819802
426.56.437059711224520.0629402887754798
436.56.487283486971530.012716513028469
446.56.64408469845587-0.144084698455874
456.66.54398555196290.0560144480371001
466.86.84688593977143-0.0468859397714336
476.96.96682894618976-0.0668289461897575
486.96.833317610928890.0666823890711113
496.86.66631503676540.133684963234602
506.86.562327972997980.237672027002024
516.56.52868032838317-0.0286803283831683
526.16.074122006155840.0258779938441561
536.16.026149964965660.0738500350343375
545.96.01196166405385-0.111961664053853
555.75.71918843745495-0.0191884374549512
565.95.737935120608640.162064879391363
575.96.06960896069525-0.169608960695249
586.16.17138163566629-0.0713816356662916
596.36.36499835743847-0.0649983574384686
606.26.37065040370643-0.170650403706430
615.96.01520590391713-0.115205903917125
625.75.76755372058807-0.0675537205880738
635.45.61512432925175-0.215124329251750
645.65.448185672459140.151814327540861
656.26.088822892900710.111177107099287
666.36.296806390240670.00319360975933404
6765.930690673591380.069309326408615
685.65.60754920759733-0.00754920759733302
695.55.373077843919780.126922156080218
705.95.893606492955250.00639350704474632


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
190.9303359311856680.1393281376286650.0696640688143324
200.880137535075970.2397249298480610.119862464924030
210.8208693000294110.3582613999411780.179130699970589
220.770308975808780.4593820483824410.229691024191221
230.7414593930144690.5170812139710620.258540606985531
240.666618250427380.666763499145240.33338174957262
250.6269762246376550.746047550724690.373023775362345
260.6693202129486050.661359574102790.330679787051395
270.8489588445410890.3020823109178230.151041155458911
280.8634215407362850.2731569185274300.136578459263715
290.8268114147056440.3463771705887110.173188585294356
300.7673577052847910.4652845894304180.232642294715209
310.6918678133109520.6162643733780960.308132186689048
320.6138018034762710.7723963930474580.386198196523729
330.5234814318303230.9530371363393540.476518568169677
340.4493195478485160.8986390956970310.550680452151484
350.3923110648987380.7846221297974750.607688935101262
360.3667011053513030.7334022107026060.633298894648697
370.3017191927672750.6034383855345510.698280807232725
380.3907101460488390.7814202920976780.609289853951161
390.3533075505895380.7066151011790750.646692449410462
400.2794893953841660.5589787907683320.720510604615834
410.5817104850757040.8365790298485920.418289514924296
420.4872494386520580.9744988773041170.512750561347942
430.4066729532917850.813345906583570.593327046708215
440.7683506163399890.4632987673200210.231649383660011
450.7202934790189620.5594130419620750.279706520981038
460.6572744746111010.6854510507777990.342725525388899
470.6937236453729620.6125527092540770.306276354627038
480.5813260314337910.8373479371324170.418673968566209
490.4729435007040970.9458870014081950.527056499295903
500.4998262021485030.9996524042970050.500173797851497
510.4654745669371310.9309491338742630.534525433062869


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/23/t1258988498apmyp2rw6b9oqlp/10rbi81258988318.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/23/t1258988498apmyp2rw6b9oqlp/10rbi81258988318.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/23/t1258988498apmyp2rw6b9oqlp/1cbzq1258988318.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/23/t1258988498apmyp2rw6b9oqlp/1cbzq1258988318.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/23/t1258988498apmyp2rw6b9oqlp/24tr41258988318.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/23/t1258988498apmyp2rw6b9oqlp/24tr41258988318.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/23/t1258988498apmyp2rw6b9oqlp/3i7si1258988318.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/23/t1258988498apmyp2rw6b9oqlp/3i7si1258988318.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/23/t1258988498apmyp2rw6b9oqlp/468gl1258988318.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/23/t1258988498apmyp2rw6b9oqlp/468gl1258988318.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/23/t1258988498apmyp2rw6b9oqlp/59rot1258988318.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/23/t1258988498apmyp2rw6b9oqlp/59rot1258988318.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/23/t1258988498apmyp2rw6b9oqlp/6g6571258988318.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/23/t1258988498apmyp2rw6b9oqlp/6g6571258988318.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/23/t1258988498apmyp2rw6b9oqlp/73fk41258988318.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/23/t1258988498apmyp2rw6b9oqlp/73fk41258988318.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/23/t1258988498apmyp2rw6b9oqlp/8ryow1258988318.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/23/t1258988498apmyp2rw6b9oqlp/8ryow1258988318.ps (open in new window)


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