Home » date » 2009 » Nov » 19 »

*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 03:39:42 -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/t125862725086yvrkcb7jmfymx.htm/, Retrieved Thu, 19 Nov 2009 11:41:03 +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/t125862725086yvrkcb7jmfymx.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 «
8.4 410 8.4 8.4 8.6 418 8.4 8.4 8.9 426 8.6 8.4 8.8 428 8.9 8.6 8.3 430 8.8 8.9 7.5 424 8.3 8.8 7.2 423 7.5 8.3 7.4 427 7.2 7.5 8.8 441 7.4 7.2 9.3 449 8.8 7.4 9.3 452 9.3 8.8 8.7 462 9.3 9.3 8.2 455 8.7 9.3 8.3 461 8.2 8.7 8.5 461 8.3 8.2 8.6 463 8.5 8.3 8.5 462 8.6 8.5 8.2 456 8.5 8.6 8.1 455 8.2 8.5 7.9 456 8.1 8.2 8.6 472 7.9 8.1 8.7 472 8.6 7.9 8.7 471 8.7 8.6 8.5 465 8.7 8.7 8.4 459 8.5 8.7 8.5 465 8.4 8.5 8.7 468 8.5 8.4 8.7 467 8.7 8.5 8.6 463 8.7 8.7 8.5 460 8.6 8.7 8.3 462 8.5 8.6 8.00 461 8.3 8.5 8.2 476 8.00 8.3 8.1 476 8.2 8.00 8.1 471 8.1 8.2 8.00 453 8.1 8.1 7.9 443 8.00 8.1 7.9 442 7.9 8.00 8.00 444 7.9 7.9 8.00 438 8.00 7.9 7.9 427 8.00 8.00 8.00 424 7.9 8.00 7.7 416 8.00 7.9 7.2 406 7.7 8.00 7.5 431 7.2 7.7 7.3 434 7.5 7.2 7.00 418 7.3 7.5 7.00 412 7.00 7.3 7.00 404 7.00 7.00 7.2 409 7.00 7.00 7.3 412 7.2 7.00 7.1 406 7.3 7.2 6.8 398 7.1 7.3 6.4 397 6.8 7.1 6.1 385 6.4 6.8 6.5 390 6.1 6.4 7.7 413 6.5 6.1 7.9 413 7.7 6.5 7.5 401 7.9 7. 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 time6 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
wgb[t] = + 0.653200943441071 + 0.00702202501777568nwwz[t] + 1.34862494351242Y1[t] -0.805559669404799Y2[t] + 0.169468018952212M1[t] + 0.306393307864775M2[t] + 0.228420712145096M3[t] -0.00583118897583866M4[t] + 0.0433429091353213M5[t] + 0.0295890799380566M6[t] + 0.0559292644629458M7[t] + 0.120208514339465M8[t] + 0.592741231781824M9[t] -0.353046985245862M10[t] + 0.0176212393133223M11[t] -0.00567653245168045t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)0.6532009434410710.4539481.43890.1558360.077918
nwwz0.007022025017775680.0014124.97327e-063e-06
Y11.348624943512420.08674715.546700
Y2-0.8055596694047990.090653-8.886200
M10.1694680189522120.1004871.68650.0973710.048685
M20.3063933078647750.1021233.00020.0040480.002024
M30.2284207121450960.1061252.15240.0357720.017886
M4-0.005831188975838660.106016-0.0550.9563350.478168
M50.04334290913532130.1000870.43310.666670.333335
M60.02958907993805660.0994180.29760.7671110.383556
M70.05592926446294580.1009080.55430.5816470.290824
M80.1202085143394650.1040581.15520.2529980.126499
M90.5927412317818240.1166555.08115e-062e-06
M10-0.3530469852458620.131114-2.69270.0093760.004688
M110.01762123931332230.1018190.17310.8632360.431618
t-0.005676532451680450.001411-4.02290.0001778.9e-05


Multiple Linear Regression - Regression Statistics
Multiple R0.97826517898424
R-squared0.957002760413066
Adjusted R-squared0.94527624052572
F-TEST (value)81.6101255621272
F-TEST (DF numerator)15
F-TEST (DF denominator)55
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.163798831759909
Sum Squared Residuals1.47565315072511


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
18.48.257770989733660.142229010266339
28.68.445195946336760.154804053663241
38.98.687448007010090.212551992989909
48.88.70503917264580.0949608273542069
58.38.38605039316814-0.086050393168142
67.57.73073137659681-0.230731376596812
77.27.06825288354470.131747116455296
87.47.394803953510760.00519604648924152
98.88.471361378274220.328638621725780
109.39.3030358159735-0.00303581597349203
119.39.235622517723820.0643774822761842
128.78.87976516143417-0.179765161434172
138.28.185227506702820.0147724932971820
148.38.167631743157020.132368256842979
158.58.6216249440393-0.121624944039307
168.68.584909582264250.015090417735754
178.58.59513568337623-0.0951356833762322
188.28.31815471032891-0.118154710328912
198.18.00776482127110.0922351787289031
207.98.1801949701839-0.280194970183909
218.68.5702345336970.0297654663030053
228.78.72391917855728-0.0239191785572828
238.78.65285957141490.0471404285851058
248.58.50687368260276-0.00687368260275717
258.48.358808030294150.0411919697058491
268.58.5584383763914-0.0584383763914046
278.78.7112737845651-0.0112737845650952
288.78.653492347736710.046507652263292
298.68.507789879444130.0922101205558746
308.58.332430948390610.167569051609389
318.38.31283212308861-0.0128321230886081
3288.17524379373367-0.175243793733668
338.28.50395480481821-0.303954804818213
348.18.063882944862770.0361170551372293
358.18.09779008364920.00220991635080508
3688.0286518285047-0.0286518285047095
377.97.98736057047624-0.0873605704762423
387.98.05728077450859-0.157280774508586
3988.06823166331326-0.0682316633132592
4087.921033573985230.0789664260147686
417.97.80673289750870.0932671024913011
4287.631373966455190.368626033544815
437.77.81127987967791-0.111279879677910
447.27.31451889693079-0.114518896930786
457.57.52428113643108-0.0242811364310837
467.37.40124977976117-0.101249779761171
4777.14249618206034-0.142496182060340
4876.833590711015920.166409288984084
4977.18287389819568-0.182873898195682
507.27.34923277974544-0.149232779745442
517.37.5563747153299-0.256374715329895
527.17.24806469212091-0.148064692120908
536.86.88510510199522-0.0851051019952178
546.46.61517716615573-0.21517716615573
556.16.2537944414321-0.153794441432102
566.56.265143668654010.234856331345990
577.77.674624307279940.0253756927200614
587.98.01928562225356-0.11928562225356
597.57.60306639956448-0.103066399564482
606.96.851118616442450.048881383557553
616.66.527959004597450.072040995402554
626.96.822220379860790.0777796201392137
637.77.455046885742350.244953114257648
6488.08746063124711-0.0874606312471133
6587.919186044507580.0808139554924165
667.77.672131832072750.0278681679272501
677.37.246075850985580.0539241490144214
687.47.070094716986870.329905283013132
698.18.15554383949955-0.0555438394995496
708.38.088626658591720.211373341408276
718.28.068165245587270.131834754412727


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
190.1461435301840290.2922870603680580.853856469815971
200.1827861643079580.3655723286159150.817213835692042
210.1764786986137970.3529573972275950.823521301386203
220.3193422830369990.6386845660739980.680657716963001
230.2219950273579220.4439900547158450.778004972642078
240.1591188931500050.318237786300010.840881106849995
250.1029358179617750.2058716359235510.897064182038225
260.09020509975777560.1804101995155510.909794900242224
270.0548891681287820.1097783362575640.945110831871218
280.03588741486014350.0717748297202870.964112585139857
290.04969283790639840.09938567581279680.950307162093602
300.1503396628373240.3006793256746480.849660337162676
310.1242397484958930.2484794969917870.875760251504107
320.1105025546688440.2210051093376880.889497445331156
330.3416470155846120.6832940311692250.658352984415388
340.27515110105390.55030220210780.7248488989461
350.2451333084289450.4902666168578910.754866691571055
360.2349637181180390.4699274362360770.765036281881961
370.2422244471728590.4844488943457190.757775552827141
380.2533825459543800.5067650919087590.74661745404562
390.1993975449052860.3987950898105710.800602455094714
400.1615209432722910.3230418865445820.83847905672771
410.1326098489965120.2652196979930230.867390151003488
420.7683600394113220.4632799211773560.231639960588678
430.8360609100962150.327878179807570.163939089903785
440.7662451859212920.4675096281574150.233754814078708
450.8588520565838230.2822958868323550.141147943416177
460.815793685005520.3684126299889600.184206314994480
470.761896971376670.4762060572466610.238103028623331
480.7715595474583150.4568809050833710.228440452541685
490.7094913949374320.5810172101251360.290508605062568
500.689376395550810.621247208898380.31062360444919
510.7131601237593520.5736797524812950.286839876240648
520.6033172576087730.7933654847824540.396682742391227


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 level20.0588235294117647OK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/19/t125862725086yvrkcb7jmfymx/102dw81258627174.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t125862725086yvrkcb7jmfymx/102dw81258627174.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t125862725086yvrkcb7jmfymx/156s31258627174.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t125862725086yvrkcb7jmfymx/156s31258627174.ps (open in new window)


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


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


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


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


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


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


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


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