Home » date » 2009 » Nov » 19 »

Mutiple Regression (c)

*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:02:17 -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/t125865020879aerp8g95r0bbc.htm/, Retrieved Thu, 19 Nov 2009 18:03:39 +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/t125865020879aerp8g95r0bbc.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 «
4 7.2 102.9 271244 4.1 7.4 97.4 269907 4 8.8 111.4 271296 3.8 9.3 87.4 270157 4.7 9.3 96.8 271322 4.3 8.7 114.1 267179 3.9 8.2 110.3 264101 4 8.3 103.9 265518 4.3 8.5 101.6 269419 4.8 8.6 94.6 268714 4.4 8.5 95.9 272482 4.3 8.2 104.7 268351 4.7 8.1 102.8 268175 4.7 7.9 98.1 270674 4.9 8.6 113.9 272764 5 8.7 80.9 272599 4.2 8.7 95.7 270333 4.3 8.5 113.2 270846 4.8 8.4 105.9 270491 4.8 8.5 108.8 269160 4.8 8.7 102.3 274027 4.2 8.7 99 273784 4.6 8.6 100.7 276663 4.8 8.5 115.5 274525 4.5 8.3 100.7 271344 4.4 8 109.9 271115 4.3 8.2 114.6 270798 3.9 8.1 85.4 273911 3.7 8.1 100.5 273985 4 8 114.8 271917 4.1 7.9 116.5 273338 3.7 7.9 112.9 270601 3.8 8 102 273547 3.8 8 106 275363 3.8 7.9 105.3 281229 3.3 8 118.8 277793 3.3 7.7 106.1 279913 3.3 7.2 109.3 282500 3.2 7.5 117.2 280041 3.4 7.3 92.5 282166 4.2 7 104.2 290304 4.9 7 112.5 283519 5.1 7 122.4 287816 5.5 7.2 113.3 285226 5.6 7.3 100 287595 6.4 7.1 110.7 289741 6.1 6.8 112.8 289148 7.1 6.4 109.8 288301 7.8 6.1 117.3 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


Multiple Linear Regression - Estimated Regression Equation
Cons.index[t] = + 19.8323313000439 -1.11527239893313Werkl.graad[t] + 0.0592692204393098Industr.prod.[t] -4.72987636397039e-05BrutoSchuld[t] -0.138329455861971M1[t] -0.174984360839047M2[t] + 0.118530643566972M3[t] + 1.72276445087934M4[t] + 1.08257251377214M5[t] -0.183897004637514M6[t] -0.365649427478667M7[t] + 0.0349713938371719M8[t] + 1.10057063459926M9[t] + 1.07419310706961M10[t] + 0.88624753907484M11[t] + 0.00239849032578529t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)19.832331300043911.5506651.7170.0922970.046149
Werkl.graad-1.115272398933130.381758-2.92140.0052570.002628
Industr.prod.0.05926922043930980.042851.38320.1728770.086439
BrutoSchuld-4.72987636397039e-052.6e-05-1.79630.0786180.039309
M1-0.1383294558619710.836173-0.16540.8692850.434642
M2-0.1749843608390470.863123-0.20270.8401820.420091
M30.1185306435669720.7802110.15190.8798730.439936
M41.722764450879341.1909971.44650.1544070.077204
M51.082572513772140.894271.21060.2318690.115934
M6-0.1838970046375140.804561-0.22860.8201560.410078
M7-0.3656494274786670.804502-0.45450.6514730.325737
M80.03497139383717190.8146360.04290.9659330.482966
M91.100570634599260.8849051.24370.2195210.109761
M101.074193107069610.8750031.22760.2254450.112723
M110.886247539074840.8520071.04020.3033580.151679
t0.002398490325785290.0253870.09450.9251160.462558


Multiple Linear Regression - Regression Statistics
Multiple R0.701043436297933
R-squared0.491461899576414
Adjusted R-squared0.335786970875316
F-TEST (value)3.15697526683979
F-TEST (DF numerator)15
F-TEST (DF denominator)49
p-value0.00119475423289339
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1.25215829746234
Sum Squared Residuals76.8271196932854


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
144.9357360007064-0.9357360007064
24.14.41568284083848-0.315682840838480
343.914286080518690.0857139194813111
43.83.594694179932470.205305820067534
54.73.458928345640311.24107165435969
64.34.085337048275670.214662951724329
73.94.3839818720405-0.483981872040501
844.22912858489977-0.229128584899767
94.34.75324015223212-0.453240152232118
104.84.236194960425760.563805039574235
114.44.061003367826790.338996632173208
124.34.228696371219220.0713036287807819
134.74.100005709142240.599994290857756
144.73.89203882787720.8079611721228
154.94.244860910289930.65513908971007
1653.79188598953811.2081140104619
174.24.138456003666040.0615439963339579
184.34.110386547309550.189613452690452
194.83.626685606572631.17331439342737
204.84.153013071999380.646986928000618
214.84.382503307810680.417496692189324
224.24.174429442721540.0255705572784602
234.64.064994139173990.535005860826013
244.84.270981549481720.529018450518284
254.53.631377968368270.868622031631732
264.44.48781151831206-0.0878115183120578
274.34.85422957739578-0.55422957739578
283.94.694486826889-0.794486826889002
293.74.94815850023183-1.24815850023183
3044.74097840753031-0.740978407530308
314.14.70669784652306-0.60669784652306
323.75.02580468066504-1.32580468066504
333.85.19689851138855-1.39689851138855
343.85.32410180117223-1.52410180117223
353.84.93113896157854-1.13113896157854
363.34.89841570073287-1.59841570073287
373.34.24407397638122-0.94407397638122
383.34.83475336506637-1.53475336506637
393.25.38061964137882-2.18061964137882
403.45.64584680121827-2.24584680121827
414.25.65116761475681-1.45116761475681
424.95.1999532276146-0.299953227614603
435.15.4041217900886-0.304121790088595
445.55.167240513772710.332759486227293
455.65.223379602061990.376620397938012
466.45.955132556574560.444867443425439
476.16.25668072834641-0.156680728346411
487.15.681195030655511.41880496934449
497.86.236673030306071.56332696969393
507.95.294280521644522.60571947835548
517.44.722203977303172.67779602269683
527.54.873065900554132.62693409944587
536.84.651947907579182.14805209242082
545.24.563344769269870.63665523073013
554.74.478512884775220.221487115224784
564.13.524813148663100.575186851336896
573.92.843978426506661.05602157349334
582.62.110141239105910.489858760894095
592.72.286182803074270.413817196925726
601.82.22071134791069-0.420711347910689
6112.15213331509580-1.15213331509580
620.31.77543292626138-1.47543292626138
631.31.98379981311361-0.683799813113611
6412.00002030186803-1.00002030186803
651.11.85134162812582-0.751341628125817


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
190.05430276129107950.1086055225821590.94569723870892
200.01792860403096180.03585720806192370.982071395969038
210.005457346435112480.01091469287022500.994542653564888
220.004635666258633460.009271332517266930.995364333741366
230.001689128322451570.003378256644903130.998310871677548
240.0009145532652462750.001829106530492550.999085446734754
250.001045997892607110.002091995785214220.998954002107393
260.0004830121025483280.0009660242050966560.999516987897452
270.0002446219367889490.0004892438735778990.999755378063211
280.0002698340893635320.0005396681787270650.999730165910636
290.0002032849959453370.0004065699918906730.999796715004055
309.89555330327366e-050.0001979110660654730.999901044466967
315.68724174583902e-050.0001137448349167800.999943127582542
322.39610085981348e-054.79220171962695e-050.999976038991402
331.63973109905682e-053.27946219811365e-050.99998360268901
346.99255884753423e-061.39851176950685e-050.999993007441152
353.33821857068115e-066.6764371413623e-060.99999666178143
366.36122086135732e-061.27224417227146e-050.999993638779139
371.72072569962733e-053.44145139925466e-050.999982792743004
386.43323019798005e-061.28664603959601e-050.999993566769802
393.12367154777209e-066.24734309554418e-060.999996876328452
402.06149163271832e-064.12298326543664e-060.999997938508367
414.55151393175996e-069.10302786351992e-060.999995448486068
423.87491782247308e-067.74983564494616e-060.999996125082178
436.44263486316505e-061.28852697263301e-050.999993557365137
446.90061738930881e-050.0001380123477861760.999930993826107
450.003575987499660470.007151974999320940.99642401250034
460.01586332241779490.03172664483558980.984136677582205


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level240.857142857142857NOK
5% type I error level270.964285714285714NOK
10% type I error level270.964285714285714NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/19/t125865020879aerp8g95r0bbc/10e5qq1258650132.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t125865020879aerp8g95r0bbc/10e5qq1258650132.ps (open in new window)


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


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


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


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


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


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


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


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


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