Home » date » 2010 » Nov » 30 »

ws8 multiple regression

*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: Tue, 30 Nov 2010 16:26:03 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Nov/30/t12911342673li956fm190xkok.htm/, Retrieved Tue, 30 Nov 2010 17:24:27 +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/2010/Nov/30/t12911342673li956fm190xkok.htm/},
    year = {2010},
}
@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 = {2010},
    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 «
37 0 30 0 47 0 35 0 30 0 43 0 82 0 40 0 47 0 19 0 52 0 136 0 80 0 42 0 54 0 66 0 81 0 63 0 137 0 72 0 107 0 58 0 36 0 52 0 79 0 77 0 54 0 84 0 48 0 96 0 83 0 66 0 61 0 53 0 30 0 74 0 69 0 59 0 42 0 65 0 70 0 100 0 63 0 105 0 82 0 81 0 75 0 102 0 121 1 98 1 76 1 77 1 63 1 37 1 35 1 23 1 40 1 29 1 37 1 51 1 20 1 28 1 13 1 22 1 25 1 13 1 16 1 13 1 16 1 17 1 9 1 17 1 25 1 14 1 8 1 7 1 10 1 7 1 10 1 3 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 time5 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Multiple Linear Regression - Estimated Regression Equation
y[t] = + 84.7854609929078 -33.9867021276596x[t] -7.365142688281M1[t] -19.1876055386694M2[t] -26.8672112462006M3[t] -17.9753883823033M4[t] -22.0835655184059M5[t] -17.4774569402229M6[t] -7.87134836203985M7[t] -22.6938112124282M8[t] -13.2707066869301M9[t] -29.2360266801756M10[t] -32.2013466734211M11[t] -0.0346800067544744t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)84.785460992907813.6252216.222700
x-33.986702127659612.189533-2.78820.0069180.003459
M1-7.36514268828115.519574-0.47460.6366590.31833
M2-19.187605538669415.483608-1.23920.2196530.109826
M3-26.867211246200615.451885-1.73880.0867390.043369
M4-17.975388382303315.424432-1.16540.2480580.124029
M5-22.083565518405915.40127-1.43390.1563280.078164
M6-17.477456940222915.382421-1.13620.2599830.129992
M7-7.8713483620398515.367898-0.51220.6102250.305112
M8-22.693811212428215.357716-1.47770.1442490.072125
M9-13.270706686930115.936455-0.83270.4080020.204001
M10-29.236026680175615.925964-1.83570.0709010.03545
M11-32.201346673421115.919667-2.02270.0471550.023577
t-0.03468000675447440.258555-0.13410.8937080.446854


Multiple Linear Regression - Regression Statistics
Multiple R0.613762687419943
R-squared0.376704636468951
Adjusted R-squared0.253934337591623
F-TEST (value)3.06836946650553
F-TEST (DF numerator)13
F-TEST (DF denominator)66
p-value0.00135859852503972
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation27.5700345856201
Sum Squared Residuals50167.0492654509


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
13777.3856382978724-40.3856382978724
23065.5284954407294-35.5284954407295
34757.8142097264437-10.8142097264438
43566.6713525835866-31.6713525835866
53062.5284954407295-32.5284954407295
64367.099924012158-24.0999240121581
78276.67135258358665.32864741641338
84061.8142097264438-21.8142097264438
94771.2026342451874-24.2026342451874
101955.2026342451874-36.2026342451874
115252.2026342451874-0.202634245187440
1213684.36930091185451.6306990881459
138076.96947821681863.03052178318137
144265.1123353596758-23.1123353596758
155457.3980496453901-3.39804964539007
166666.2551925025329-0.255192502532925
178162.112335359675818.8876646403242
186366.6837639311044-3.68376393110436
1913776.25519250253360.744807497467
207261.398049645390110.6019503546099
2110770.786474164133736.2135258358663
225854.78647416413373.21352583586626
233651.7864741641337-15.7864741641337
245283.9531408308004-31.9531408308004
257976.5533181357652.44668186423506
267764.696175278622112.3038247213779
275456.9818895643364-2.98188956433638
288465.839032421479218.1609675785208
294861.6961752786221-13.6961752786221
309666.267603850050729.7323961499493
318375.83903242147927.16096757852078
326660.98188956433645.01811043566362
336170.37031408308-9.37031408308004
345354.37031408308-1.37031408308004
353051.37031408308-21.3703140830800
367483.5369807497467-9.53698074974671
376976.1371580547112-7.13715805471124
385964.2800151975684-5.2800151975684
394256.5657294832827-14.5657294832827
406565.4228723404255-0.42287234042554
417061.28001519756848.7199848024316
4210065.85144376899734.1485562310030
436375.4228723404255-12.4228723404255
4410560.565729483282744.4342705167173
458269.954154002026312.0458459979737
468153.954154002026427.0458459979736
477550.954154002026324.0458459979737
4810283.12082066869318.879179331307
4912141.734295845997979.265704154002
509829.877152988855168.1228470111449
517622.162867274569453.8371327254306
527731.020010131712245.9799898682878
536326.877152988855136.1228470111449
543731.44858156028375.55141843971632
553541.0200101317122-6.02001013171225
562326.1628672745694-3.16286727456939
574035.55129179331314.44870820668694
582919.55129179331319.44870820668693
593716.551291793313120.4487082066869
605148.71795845997972.28204154002026
612041.3181357649443-21.3181357649443
622829.4609929078014-1.46099290780141
631321.7467071935157-8.74670719351572
642230.6038500506586-8.60385005065856
652526.4609929078014-1.46099290780142
661331.03242147923-18.03242147923
671640.6038500506586-24.6038500506586
681325.7467071935157-12.7467071935157
691635.1351317122594-19.1351317122594
701719.1351317122594-2.13513171225938
71916.1351317122594-7.13513171225938
721748.301798378926-31.3017983789260
732540.9019756838906-15.9019756838906
741429.0448328267477-15.0448328267477
75821.330547112462-13.3305471124620
76730.1876899696049-23.1876899696049
771026.0448328267477-16.0448328267477
78730.6162613981763-23.6162613981763
791040.1876899696049-30.1876899696049
80325.330547112462-22.330547112462


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.2550755756348820.5101511512697650.744924424365118
180.1416990770804180.2833981541608370.858300922919582
190.1510504113136590.3021008226273190.84894958868634
200.079751748565080.159503497130160.92024825143492
210.08438419029443650.1687683805888730.915615809705563
220.04730001247989950.0946000249597990.9526999875201
230.1608741209961430.3217482419922860.839125879003857
240.8859264905206330.2281470189587340.114073509479367
250.8485858812252920.3028282375494170.151414118774708
260.801182190028060.3976356199438810.198817809971940
270.7870197091168760.4259605817662470.212980290883124
280.7198158020699430.5603683958601150.280184197930057
290.767450599200790.4650988015984190.232549400799209
300.7155653196378540.5688693607242910.284434680362146
310.7650956895494640.4698086209010710.234904310450536
320.7187680806329050.562463838734190.281231919367095
330.729780549930530.540438900138940.27021945006947
340.7020781541738090.5958436916523820.297921845826191
350.7991519548902560.4016960902194870.200848045109743
360.8205487388538490.3589025222923030.179451261146151
370.827265392176510.3454692156469810.172734607823491
380.8509343718373490.2981312563253020.149065628162651
390.9164887120659180.1670225758681640.0835112879340822
400.9274823733667240.1450352532665520.072517626633276
410.9332770518983390.1334458962033220.0667229481016611
420.914629117903660.1707417641926790.0853708820963394
430.9538101841092670.09237963178146690.0461898158907334
440.953576757670420.09284648465915950.0464232423295797
450.9303140104679170.1393719790641660.0696859895320828
460.9077028016292860.1845943967414290.0922971983707143
470.8824720758130980.2350558483738030.117527924186902
480.834782134511450.3304357309770980.165217865488549
490.9622698503597730.07546029928045480.0377301496402274
500.989098708646490.02180258270702160.0109012913535108
510.9970153420964840.005969315807031520.00298465790351576
520.9998035509787050.0003928980425905880.000196449021295294
530.999954589211539.08215769417236e-054.54107884708618e-05
540.9999462284423930.0001075431152132125.37715576066058e-05
550.9999177084983550.0001645830032893468.22915016446731e-05
560.999821494046880.0003570119062392810.000178505953119641
570.9996332261236440.0007335477527114850.000366773876355743
580.9987957148369370.002408570326126860.00120428516306343
590.9982377312903120.003524537419374990.00176226870968749
600.9997055750391370.0005888499217261480.000294424960863074
610.9998800160189940.0002399679620114290.000119983981005715
620.9993106052809090.001378789438182540.00068939471909127
630.9964651291425930.007069741714814990.00353487085740750


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level130.276595744680851NOK
5% type I error level140.297872340425532NOK
10% type I error level180.382978723404255NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Nov/30/t12911342673li956fm190xkok/10aqsm1291134353.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t12911342673li956fm190xkok/10aqsm1291134353.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/30/t12911342673li956fm190xkok/1egud1291134353.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t12911342673li956fm190xkok/1egud1291134353.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/30/t12911342673li956fm190xkok/2egud1291134353.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t12911342673li956fm190xkok/2egud1291134353.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/30/t12911342673li956fm190xkok/3egud1291134353.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t12911342673li956fm190xkok/3egud1291134353.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/30/t12911342673li956fm190xkok/4oqty1291134353.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t12911342673li956fm190xkok/4oqty1291134353.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/30/t12911342673li956fm190xkok/5oqty1291134353.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t12911342673li956fm190xkok/5oqty1291134353.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/30/t12911342673li956fm190xkok/6oqty1291134353.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t12911342673li956fm190xkok/6oqty1291134353.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/30/t12911342673li956fm190xkok/7hzaj1291134353.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t12911342673li956fm190xkok/7hzaj1291134353.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/30/t12911342673li956fm190xkok/8aqsm1291134353.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t12911342673li956fm190xkok/8aqsm1291134353.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/30/t12911342673li956fm190xkok/9aqsm1291134353.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t12911342673li956fm190xkok/9aqsm1291134353.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