Home » date » 2010 » Dec » 09 »

*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, 09 Dec 2010 17:00:25 +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/Dec/09/t1291913937e6m29dxxwetqx9q.htm/, Retrieved Thu, 09 Dec 2010 17:59:00 +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/Dec/09/t1291913937e6m29dxxwetqx9q.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 «
9700 0 9081 0 9084 0 9743 0 8587 0 9731 0 9563 0 9998 0 9437 0 10038 0 9918 0 9252 0 9737 0 9035 0 9133 0 9487 0 8700 0 9627 0 8947 0 9283 0 8829 0 9947 0 9628 0 9318 0 9605 0 8640 0 9214 0 9567 0 8547 0 9185 0 9470 0 9123 0 9278 0 10170 0 9434 0 9655 0 9429 0 8739 0 9552 0 9687 1 9019 1 9672 1 9206 1 9069 1 9788 1 10312 1 10105 1 9863 1 9656 1 9295 1 9946 1 9701 1 9049 1 10190 1 9706 1 9765 1 9893 1 9994 1 10433 1 10073 1 10112 1 9266 1 9820 1 10097 1 9115 1 10411 1 9678 1 10408 1 10153 1 10368 1 10581 1 10597 1 10680 1 9738 1 9556 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 time6 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk


Multiple Linear Regression - Estimated Regression Equation
births[t] = + 9369.51282051282 + 491.653846153847difference[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)9369.5128205128270.630247132.655800
difference491.653846153847101.945984.82278e-064e-06


Multiple Linear Regression - Regression Statistics
Multiple R0.491552779078138
R-squared0.24162413461944
Adjusted R-squared0.231235424134775
F-TEST (value)23.2583374978158
F-TEST (DF numerator)1
F-TEST (DF denominator)73
p-value7.52295409400805e-06
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation441.085751666438
Sum Squared Residuals14202634.7435897


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
197009369.51282051285330.487179487148
290819369.51282051282-288.51282051282
390849369.51282051282-285.51282051282
497439369.51282051282373.48717948718
585879369.51282051282-782.51282051282
697319369.51282051282361.48717948718
795639369.51282051282193.48717948718
899989369.51282051282628.48717948718
994379369.5128205128267.4871794871803
10100389369.51282051282668.48717948718
1199189369.51282051282548.48717948718
1292529369.51282051282-117.51282051282
1397379369.51282051282367.48717948718
1490359369.51282051282-334.51282051282
1591339369.51282051282-236.51282051282
1694879369.51282051282117.48717948718
1787009369.51282051282-669.51282051282
1896279369.51282051282257.48717948718
1989479369.51282051282-422.51282051282
2092839369.51282051282-86.5128205128197
2188299369.51282051282-540.51282051282
2299479369.51282051282577.48717948718
2396289369.51282051282258.48717948718
2493189369.51282051282-51.5128205128197
2596059369.51282051282235.48717948718
2686409369.51282051282-729.51282051282
2792149369.51282051282-155.51282051282
2895679369.51282051282197.48717948718
2985479369.51282051282-822.51282051282
3091859369.51282051282-184.51282051282
3194709369.51282051282100.48717948718
3291239369.51282051282-246.51282051282
3392789369.51282051282-91.5128205128197
34101709369.51282051282800.48717948718
3594349369.5128205128264.4871794871803
3696559369.51282051282285.48717948718
3794299369.5128205128259.4871794871803
3887399369.51282051282-630.51282051282
3995529369.51282051282182.48717948718
4096879861.16666666667-174.166666666667
4190199861.16666666667-842.166666666667
4296729861.16666666667-189.166666666667
4392069861.16666666667-655.166666666667
4490699861.16666666667-792.166666666667
4597889861.16666666667-73.1666666666667
46103129861.16666666667450.833333333333
47101059861.16666666667243.833333333333
4898639861.166666666671.83333333333333
4996569861.16666666667-205.166666666667
5092959861.16666666667-566.166666666667
5199469861.1666666666784.8333333333334
5297019861.16666666667-160.166666666667
5390499861.16666666667-812.166666666667
54101909861.16666666667328.833333333333
5597069861.16666666667-155.166666666667
5697659861.16666666667-96.1666666666667
5798939861.1666666666731.8333333333334
5899949861.16666666667132.833333333333
59104339861.16666666667571.833333333333
60100739861.16666666667211.833333333333
61101129861.16666666667250.833333333333
6292669861.16666666667-595.166666666667
6398209861.16666666667-41.1666666666667
64100979861.16666666667235.833333333333
6591159861.16666666667-746.166666666667
66104119861.16666666667549.833333333333
6796789861.16666666667-183.166666666667
68104089861.16666666667546.833333333333
69101539861.16666666667291.833333333333
70103689861.16666666667506.833333333333
71105819861.16666666667719.833333333333
72105979861.16666666667735.833333333333
73106809861.16666666667818.833333333333
7497389861.16666666667-123.166666666667
7595569861.16666666667-305.166666666667


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.807099323794530.385801352410940.19290067620547
60.7779332109441970.4441335781116050.222066789055803
70.6857741019598980.6284517960802040.314225898040102
80.7455876936005330.5088246127989340.254412306399467
90.6428067950175260.7143864099649480.357193204982474
100.6992970370691660.6014059258616690.300702962930834
110.687201106164070.6255977876718590.31279889383593
120.6223258822242580.7553482355514850.377674117775742
130.5604238969179530.8791522061640930.439576103082047
140.559234850106230.881530299787540.44076514989377
150.5160920291484790.9678159417030420.483907970851521
160.4314306104947150.862861220989430.568569389505285
170.5666492678081180.8667014643837650.433350732191882
180.5049405454441660.9901189091116680.495059454555834
190.5066680305728060.9866639388543880.493331969427194
200.4324428773093520.8648857546187050.567557122690648
210.47185112439350.9437022487870.5281488756065
220.5175329438549120.9649341122901760.482467056145088
230.4655082567721660.9310165135443320.534491743227834
240.3946466712297080.7892933424594160.605353328770292
250.3440458361004250.6880916722008490.655954163899575
260.4638489720732210.9276979441464410.53615102792678
270.4018617014594510.8037234029189020.598138298540549
280.3479063977817190.6958127955634370.652093602218281
290.5095494966627210.9809010066745580.490450503337279
300.4530596992613850.9061193985227690.546940300738615
310.3882370121903030.7764740243806060.611762987809697
320.3464184775007820.6928369550015630.653581522499219
330.2907996072805330.5815992145610650.709200392719467
340.4204716792135930.8409433584271860.579528320786407
350.3567431222263420.7134862444526840.643256877773658
360.3252407620004970.6504815240009930.674759237999503
370.2735367638054920.5470735276109850.726463236194508
380.3224705700679830.6449411401359660.677529429932017
390.2691194044259070.5382388088518140.730880595574093
400.2197225080659670.4394450161319330.780277491934033
410.2947823204005720.5895646408011450.705217679599428
420.2548494790282020.5096989580564030.745150520971798
430.2793381208464870.5586762416929740.720661879153513
440.3647824640706640.7295649281413280.635217535929336
450.3323166021385730.6646332042771450.667683397861427
460.3946754612872090.7893509225744180.605324538712791
470.3721242182946710.7442484365893420.627875781705329
480.3157981466937450.6315962933874910.684201853306255
490.2702066873255060.5404133746510120.729793312674494
500.3074929009742260.6149858019484520.692507099025774
510.2583640842117140.5167281684234290.741635915788285
520.2166852165498350.4333704330996710.783314783450164
530.3942803364860750.788560672972150.605719663513925
540.3664331887713690.7328663775427380.633566811228631
550.3236679387493570.6473358774987140.676332061250643
560.2769960321518930.5539920643037850.723003967848107
570.2251993055277260.4503986110554520.774800694472274
580.1777514957104040.3555029914208080.822248504289596
590.1889988962907970.3779977925815940.811001103709203
600.1442759840150490.2885519680300970.855724015984951
610.1076647883038080.2153295766076160.892335211696192
620.1806069031866140.3612138063732280.819393096813386
630.1412277882089260.2824555764178530.858772211791074
640.09913677084286870.1982735416857370.900863229157131
650.3628492712155060.7256985424310120.637150728784494
660.3083343841154450.616668768230890.691665615884555
670.3438674478601360.6877348957202720.656132552139864
680.2651300412389330.5302600824778660.734869958761067
690.1727026153921860.3454052307843710.827297384607814
700.1032583196817050.206516639363410.896741680318295


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level00OK
10% type I error level00OK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/09/t1291913937e6m29dxxwetqx9q/10xuqg1291914016.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/09/t1291913937e6m29dxxwetqx9q/10xuqg1291914016.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/09/t1291913937e6m29dxxwetqx9q/1qutm1291914016.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/09/t1291913937e6m29dxxwetqx9q/1qutm1291914016.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/09/t1291913937e6m29dxxwetqx9q/213a71291914016.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/09/t1291913937e6m29dxxwetqx9q/213a71291914016.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/09/t1291913937e6m29dxxwetqx9q/313a71291914016.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/09/t1291913937e6m29dxxwetqx9q/313a71291914016.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/09/t1291913937e6m29dxxwetqx9q/413a71291914016.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/09/t1291913937e6m29dxxwetqx9q/413a71291914016.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/09/t1291913937e6m29dxxwetqx9q/5uu9s1291914016.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/09/t1291913937e6m29dxxwetqx9q/5uu9s1291914016.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/09/t1291913937e6m29dxxwetqx9q/6uu9s1291914016.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/09/t1291913937e6m29dxxwetqx9q/6uu9s1291914016.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/09/t1291913937e6m29dxxwetqx9q/74lqv1291914016.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/09/t1291913937e6m29dxxwetqx9q/74lqv1291914016.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/09/t1291913937e6m29dxxwetqx9q/84lqv1291914016.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/09/t1291913937e6m29dxxwetqx9q/84lqv1291914016.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/09/t1291913937e6m29dxxwetqx9q/9xuqg1291914016.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/09/t1291913937e6m29dxxwetqx9q/9xuqg1291914016.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