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 10:49:26 -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/t1258653083c90mh28uqbcgewu.htm/, Retrieved Thu, 19 Nov 2009 18:51:35 +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/t1258653083c90mh28uqbcgewu.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 «
1,4 2 1,2 2 1 2 1,7 2 2,4 2 2 2 2,1 2 2 2 1,8 2 2,7 2 2,3 2 1,9 2 2 2 2,3 2 2,8 2 2,4 2 2,3 2 2,7 2 2,7 2 2,9 2 3 2 2,2 2 2,3 2 2,8 2,21 2,8 2,25 2,8 2,25 2,2 2,45 2,6 2,5 2,8 2,5 2,5 2,64 2,4 2,75 2,3 2,93 1,9 3 1,7 3,17 2 3,25 2,1 3,39 1,7 3,5 1,8 3,5 1,8 3,65 1,8 3,75 1,3 3,75 1,3 3,9 1,3 4 1,2 4 1,4 4 2,2 4 2,9 4 3,1 4 3,5 4 3,6 4 4,4 4 4,1 4 5,1 4 5,8 4 5,9 4,18 5,4 4,25 5,5 4,25 4,8 3,97 3,2 3,42 2,7 2,75 2,1 2,31 1,9 2 0,6 1,66 0,7 1,31 -0,2 1,09 -1 1 -1,7 1 -0,7 1 -1 1
 
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


Multiple Linear Regression - Estimated Regression Equation
Y[t] = -0.207439244018707 + 0.921102813688366X[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)-0.2074392440187070.406456-0.51040.6114760.305738
X0.9211028136883660.1413546.516300


Multiple Linear Regression - Regression Statistics
Multiple R0.6228277326174
R-squared0.387914384517331
Adjusted R-squared0.378778778316097
F-TEST (value)42.461811068973
F-TEST (DF numerator)1
F-TEST (DF denominator)67
p-value1.10074940273819e-08
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1.15053961016272
Sum Squared Residuals88.6906734350775


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
11.41.63476638335802-0.234766383358022
21.21.63476638335802-0.434766383358021
311.63476638335802-0.634766383358023
41.71.634766383358020.0652336166419766
52.41.634766383358020.765233616641977
621.634766383358020.365233616641977
72.11.634766383358020.465233616641977
821.634766383358020.365233616641977
91.81.634766383358020.165233616641977
102.71.634766383358021.06523361664198
112.31.634766383358020.665233616641977
121.91.634766383358020.265233616641977
1321.634766383358020.365233616641977
142.31.634766383358020.665233616641977
152.81.634766383358021.16523361664198
162.41.634766383358020.765233616641977
172.31.634766383358020.665233616641977
182.71.634766383358021.06523361664198
192.71.634766383358021.06523361664198
202.91.634766383358021.26523361664198
2131.634766383358021.36523361664198
222.21.634766383358020.565233616641977
232.31.634766383358020.665233616641977
242.81.828197974232580.97180202576742
252.81.865042086780110.934957913219885
262.81.865042086780110.934957913219885
272.22.049262649517790.150737350482212
282.62.095317790202210.504682209797794
292.82.095317790202210.704682209797794
302.52.224272184118580.275727815881422
312.42.325593493624300.0744065063757022
322.32.49139200008820-0.191392000088204
331.92.55586919704639-0.655869197046389
341.72.71245667537341-1.01245667537341
3522.78614490046848-0.78614490046848
362.12.91509929438485-0.815099294384852
371.73.01642060389057-1.31642060389057
381.83.01642060389057-1.21642060389057
391.83.15458602594383-1.35458602594383
401.83.24669630731266-1.44669630731266
411.33.24669630731266-1.94669630731266
421.33.38486172936592-2.08486172936592
431.33.47697201073476-2.17697201073475
441.23.47697201073475-2.27697201073475
451.43.47697201073475-2.07697201073475
462.23.47697201073476-1.27697201073475
472.93.47697201073475-0.576972010734755
483.13.47697201073475-0.376972010734755
493.53.476972010734750.023027989265245
503.63.476972010734750.123027989265245
514.43.476972010734750.923027989265245
524.13.476972010734750.623027989265245
535.13.476972010734761.62302798926524
545.83.476972010734752.32302798926525
555.93.642770517198662.25722948280134
565.43.707247714156851.69275228584315
575.53.707247714156851.79275228584315
584.83.449338926324101.35066107367590
593.22.942732378795500.257267621204497
602.72.325593493624300.374406506375702
612.11.920308255601420.179691744398583
621.91.634766383358020.265233616641977
630.61.32159142670398-0.721591426703979
640.70.999205441913051-0.299205441913051
65-0.20.79656282290161-0.99656282290161
66-10.713663569669658-1.71366356966966
67-1.70.713663569669657-2.41366356966966
68-0.70.713663569669657-1.41366356966966
69-10.713663569669658-1.71366356966966


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.1615945242680470.3231890485360950.838405475731953
60.08477745895758920.1695549179151780.915222541042411
70.0456654127790860.0913308255581720.954334587220914
80.02069904964120500.04139809928240990.979300950358795
90.007837241481198870.01567448296239770.992162758518801
100.01167521094418080.02335042188836150.98832478905582
110.006458034250199470.01291606850039890.9935419657498
120.002593122189065690.005186244378131380.997406877810934
130.001018800912698240.002037601825396490.998981199087302
140.0005132215201869910.001026443040373980.999486778479813
150.0007077065158751940.001415413031750390.999292293484125
160.0003795822694046540.0007591645388093080.999620417730595
170.0001756234488131350.0003512468976262710.999824376551187
180.0001532945846078310.0003065891692156630.999846705415392
190.0001260897117098680.0002521794234197350.99987391028829
200.0001539314107506430.0003078628215012870.99984606858925
210.0002199933186166560.0004399866372333110.999780006681383
220.0001048736339487590.0002097472678975170.999895126366051
235.21118188679677e-050.0001042236377359350.999947888181132
242.78884727553605e-055.57769455107209e-050.999972111527245
251.52077590766730e-053.04155181533461e-050.999984792240923
268.5563622785853e-061.71127245571706e-050.999991443637721
278.95087227484142e-061.79017445496828e-050.999991049127725
284.44112337581569e-068.88224675163139e-060.999995558876624
292.39567838302280e-064.79135676604559e-060.999997604321617
301.24355448277283e-062.48710896554566e-060.999998756445517
316.41559802630996e-071.28311960526199e-060.999999358440197
323.30520310454488e-076.61040620908977e-070.99999966947969
332.48909037153164e-074.97818074306327e-070.999999751090963
342.01382843070875e-074.0276568614175e-070.999999798617157
358.27061479452403e-081.65412295890481e-070.999999917293852
363.12397390421145e-086.2479478084229e-080.999999968760261
371.88120398222335e-083.7624079644467e-080.99999998118796
389.06790128969788e-091.81358025793958e-080.999999990932099
394.79180007751672e-099.58360015503343e-090.9999999952082
402.87388881849845e-095.74777763699689e-090.99999999712611
415.56287434702816e-091.11257486940563e-080.999999994437126
421.57685481131404e-083.15370962262808e-080.999999984231452
438.80750051018436e-081.76150010203687e-070.999999911924995
441.67573717102815e-063.35147434205631e-060.999998324262829
456.21467321689057e-050.0001242934643378110.99993785326783
460.001093785342212620.002187570684425250.998906214657787
470.01283296907218420.02566593814436830.987167030927816
480.09178370140439810.1835674028087960.908216298595602
490.3173804236494010.6347608472988010.6826195763506
500.6583570872551450.683285825489710.341642912744855
510.8272309187413170.3455381625173670.172769081258683
520.9345397376755360.1309205246489270.0654602623244635
530.9609885409171160.07802291816576720.0390114590828836
540.987779893286790.02444021342642120.0122201067132106
550.9933642434604480.01327151307910360.00663575653955181
560.9908665213079780.01826695738404310.00913347869202156
570.9864983410445950.02700331791081010.0135016589554051
580.9759596488403810.04808070231923720.0240403511596186
590.9844406911842280.03111861763154460.0155593088157723
600.978305440009740.04338911998052040.0216945599902602
610.964543675651670.070912648696660.03545632434833
620.9209381371211220.1581237257577550.0790618628788775
630.9631038060162370.07379238796752510.0368961939837626
640.9209028157265020.1581943685469950.0790971842734976


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level350.583333333333333NOK
5% type I error level470.783333333333333NOK
10% type I error level510.85NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258653083c90mh28uqbcgewu/107n8z1258652961.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258653083c90mh28uqbcgewu/107n8z1258652961.ps (open in new window)


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


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


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


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


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


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


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


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


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