Home » date » 2009 » Nov » 18 »

*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: Wed, 18 Nov 2009 10:25:36 -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/18/t1258565553xz6u50qdxmlbmwb.htm/, Retrieved Wed, 18 Nov 2009 18:32:45 +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/18/t1258565553xz6u50qdxmlbmwb.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 «
7.2 2.4 7.5 8.3 8.8 8.9 7.4 2 7.2 7.5 8.3 8.8 8.8 2.1 7.4 7.2 7.5 8.3 9.3 2 8.8 7.4 7.2 7.5 9.3 1.8 9.3 8.8 7.4 7.2 8.7 2.7 9.3 9.3 8.8 7.4 8.2 2.3 8.7 9.3 9.3 8.8 8.3 1.9 8.2 8.7 9.3 9.3 8.5 2 8.3 8.2 8.7 9.3 8.6 2.3 8.5 8.3 8.2 8.7 8.5 2.8 8.6 8.5 8.3 8.2 8.2 2.4 8.5 8.6 8.5 8.3 8.1 2.3 8.2 8.5 8.6 8.5 7.9 2.7 8.1 8.2 8.5 8.6 8.6 2.7 7.9 8.1 8.2 8.5 8.7 2.9 8.6 7.9 8.1 8.2 8.7 3 8.7 8.6 7.9 8.1 8.5 2.2 8.7 8.7 8.6 7.9 8.4 2.3 8.5 8.7 8.7 8.6 8.5 2.8 8.4 8.5 8.7 8.7 8.7 2.8 8.5 8.4 8.5 8.7 8.7 2.8 8.7 8.5 8.4 8.5 8.6 2.2 8.7 8.7 8.5 8.4 8.5 2.6 8.6 8.7 8.7 8.5 8.3 2.8 8.5 8.6 8.7 8.7 8 2.5 8.3 8.5 8.6 8.7 8.2 2.4 8 8.3 8.5 8.6 8.1 2.3 8.2 8 8.3 8.5 8.1 1.9 8.1 8.2 8 8.3 8 1.7 8.1 8.1 8.2 8 7.9 2 8 8.1 8.1 8.2 7.9 2.1 7.9 8 8.1 8.1 8 1.7 7.9 7.9 8 8.1 8 1.8 8 7.9 7.9 8 7.9 1.8 8 8 7.9 7.9 8 1.8 7.9 8 8 7.9 7.7 1.3 8 7.9 8 8 7.2 1.3 7.7 8 7.9 8 7.5 1.3 7.2 7.7 8 7.9 7.3 1.2 7.5 7.2 7.7 8 7 1.4 7.3 7.5 7.2 7.7 7 2.2 7 7.3 7.5 7.2 7 2.9 7 7 7.3 7.5 7.2 3.1 7 7 7 7.3 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 time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135
R Framework
error message
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.


Multiple Linear Regression - Estimated Regression Equation
Y(t)[t] = + 2.20711870010436 + 0.0300708114127846`X(t)`[t] + 1.14109921130441`Y(t-1)`[t] -0.46973056134648`Y(t-2)`[t] -0.244934881684172`Y(t-3)`[t] + 0.321061204660699`Y(t-4) `[t] -0.0107759424689206t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)2.207118700104361.0583262.08550.0422560.021128
`X(t)`0.03007081141278460.0411080.73150.4679550.233977
`Y(t-1)`1.141099211304410.1282348.898600
`Y(t-2)`-0.469730561346480.201695-2.32890.0240310.012016
`Y(t-3)`-0.2449348816841720.201658-1.21460.2303370.115169
`Y(t-4) `0.3210612046606990.1348892.38020.0212380.010619
t-0.01077594246892060.003909-2.75660.0081820.004091


Multiple Linear Regression - Regression Statistics
Multiple R0.942705450612171
R-squared0.888693566613897
Adjusted R-squared0.875064207423762
F-TEST (value)65.2043543805884
F-TEST (DF numerator)6
F-TEST (DF denominator)49
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.262912839277478
Sum Squared Residuals3.3870348917903


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
17.27.63001089329295-0.430010893292947
27.47.7310226323208-0.331022632320797
38.88.127810084674970.672189915325033
49.39.43425134539835-0.134251345398347
59.39.185082722678960.114917277321039
68.78.68780863638260.0121913636173924
78.28.30736308824881-0.107363088248815
88.38.156378154700810.143621845299190
98.58.64454542418735-0.144545424187355
108.68.75386822931417-0.15386822931417
118.58.59326741091402-0.0932674109140198
128.28.39249931074413-0.192499310744133
138.18.12307833264098-0.0230783326409790
147.98.20773957064516-0.307739570645162
158.68.057091186089190.542908813910811
168.78.87322009285542-0.173220092855418
178.78.667630615586440.0323693844135539
188.58.350158309741590.149841690258411
198.48.314418961247140.0855810387528632
208.58.330620736089530.169379263910467
218.78.529914747222540.170085252777464
228.78.660666838116130.0393331618838724
238.68.481302687895750.118697312104247
248.58.351564292990740.148435707009259
258.38.34387788874072-0.0438778887407227
2688.16732740489015-0.167327404890150
278.27.897548097860270.302451902139730
288.18.26978494078566-0.169784940785661
298.18.0481928639250.0518071360749982
3087.933070477573130.0669295224268723
317.97.90591158649816-0.00591158649815773
327.97.798899739708650.101100260291347
3387.847562016977680.152437983022317
3487.946290444482830.0537095555171705
357.97.856435325413190.043564674586809
3687.707055973645410.292944026354587
377.77.87443372320126-0.174433723201258
387.27.49884844937478-0.298848449374782
397.57.001842461023110.498157538976888
407.37.6708410664488-0.370841066448798
4177.32308935504148-0.323089355041484
4276.853975343745160.146024656254838
4377.15047347540418-0.150473475404178
447.27.154979918790930.0450200812090737
457.37.28813378174980.0118662182502067
467.17.3005287292833-0.200528729283296
476.86.98962956121224-0.189629561212238
486.46.76116747696118-0.361167476961176
496.16.54603492659012-0.446034926590124
506.56.411139236830530.0888607631694698
517.77.002384819704060.697615180295943
527.98.10305628319642-0.203056283196422
537.57.56553827644201-0.0655382764420088
546.96.817829593036350.0821704069636503
556.66.598459519318920.00154048068107764
566.96.674342938165980.22565706183402


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
100.9209393380022780.1581213239954450.0790606619977223
110.8954972703032370.2090054593935260.104502729696763
120.9256395701022560.1487208597954880.0743604298977441
130.8815752464733730.2368495070532540.118424753526627
140.8834387986308770.2331224027382450.116561201369123
150.9449982527365880.1100034945268250.0550017472634124
160.926905301347840.1461893973043210.0730946986521606
170.8859461882661660.2281076234676670.114053811733834
180.8356039921800460.3287920156399090.164396007819954
190.7695068375627870.4609863248744260.230493162437213
200.7098960693326570.5802078613346870.290103930667343
210.6390706002280550.721858799543890.360929399771945
220.5511228523099850.897754295380030.448877147690015
230.4799296435958550.959859287191710.520070356404145
240.3944275612589920.7888551225179850.605572438741008
250.3294297110781840.6588594221563680.670570288921816
260.3571079111859360.7142158223718720.642892088814064
270.3042811356861850.608562271372370.695718864313815
280.3292246528768950.658449305753790.670775347123105
290.2863361166634010.5726722333268030.713663883336599
300.2198478578494080.4396957156988160.780152142150592
310.1709490840448290.3418981680896590.829050915955171
320.1213965476228800.2427930952457600.87860345237712
330.08785718509529970.1757143701905990.9121428149047
340.06128853712757360.1225770742551470.938711462872426
350.04395507254702550.0879101450940510.956044927452975
360.0736848785072980.1473697570145960.926315121492702
370.06603760637262570.1320752127452510.933962393627374
380.07422895447689960.1484579089537990.9257710455231
390.5713392845475320.8573214309049360.428660715452468
400.5844599960505520.8310800078988960.415540003949448
410.559352926237420.881294147525160.44064707376258
420.4978744926665880.9957489853331750.502125507333412
430.4609408491380190.9218816982760370.539059150861981
440.3896834386643930.7793668773287870.610316561335607
450.2658458766958980.5316917533917960.734154123304102
460.1680991528239990.3361983056479980.831900847176001


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 level10.0270270270270270OK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258565553xz6u50qdxmlbmwb/10xx2h1258565132.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258565553xz6u50qdxmlbmwb/10xx2h1258565132.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/18/t1258565553xz6u50qdxmlbmwb/1tncj1258565132.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258565553xz6u50qdxmlbmwb/1tncj1258565132.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/18/t1258565553xz6u50qdxmlbmwb/2szxz1258565132.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258565553xz6u50qdxmlbmwb/2szxz1258565132.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/18/t1258565553xz6u50qdxmlbmwb/3h45j1258565132.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258565553xz6u50qdxmlbmwb/3h45j1258565132.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/18/t1258565553xz6u50qdxmlbmwb/4h5pi1258565132.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258565553xz6u50qdxmlbmwb/4h5pi1258565132.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/18/t1258565553xz6u50qdxmlbmwb/5qxjw1258565132.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258565553xz6u50qdxmlbmwb/5qxjw1258565132.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/18/t1258565553xz6u50qdxmlbmwb/62y7h1258565132.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258565553xz6u50qdxmlbmwb/62y7h1258565132.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/18/t1258565553xz6u50qdxmlbmwb/7fi3h1258565132.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258565553xz6u50qdxmlbmwb/7fi3h1258565132.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/18/t1258565553xz6u50qdxmlbmwb/81p7o1258565132.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258565553xz6u50qdxmlbmwb/81p7o1258565132.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/18/t1258565553xz6u50qdxmlbmwb/9vyc81258565132.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258565553xz6u50qdxmlbmwb/9vyc81258565132.ps (open in new window)


 
Parameters (Session):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = Linear Trend ;
 
Parameters (R input):
par1 = 1 ; par2 = Do not include Seasonal 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