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 02:52:29 -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/t1258625050egaa3x6j5xz8o7k.htm/, Retrieved Thu, 19 Nov 2009 11:04:26 +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/t1258625050egaa3x6j5xz8o7k.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 «
8.4 420 8.4 418 8.4 410 8.6 418 8.9 426 8.8 428 8.3 430 7.5 424 7.2 423 7.4 427 8.8 441 9.3 449 9.3 452 8.7 462 8.2 455 8.3 461 8.5 461 8.6 463 8.5 462 8.2 456 8.1 455 7.9 456 8.6 472 8.7 472 8.7 471 8.5 465 8.4 459 8.5 465 8.7 468 8.7 467 8.6 463 8.5 460 8.3 462 8.00 461 8.2 476 8.1 476 8.1 471 8.00 453 7.9 443 7.9 442 8.00 444 8.00 438 7.9 427 8.00 424 7.7 416 7.2 406 7.5 431 7.3 434 7.00 418 7.00 412 7.00 404 7.2 409 7.3 412 7.1 406 6.8 398 6.4 397 6.1 385 6.5 390 7.7 413 7.9 413 7.5 401 6.9 397 6.6 397 6.9 409 7.7 419 8.00 424 8.00 428 7.7 430 7.3 424 7.4 433 8.1 456 8.3 459 8.2 446
 
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 time12 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
wgb[t] = + 2.16390037135749 + 0.0147986395386048nwwz[t] -0.00488362405726619M1[t] -0.247512438056681M2[t] -0.304558880654981M3[t] -0.229921650819173M4[t] + 0.00271331158097471M5[t] + 0.0426748050074802M6[t] -0.0828335426426028M7[t] -0.327474996882453M8[t] -0.516585158481063M9[t] -0.572887610798434M10[t] -0.0955655748106912M11[t] -0.0134290670674358t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)2.163900371357490.9875872.19110.0324060.016203
nwwz0.01479863953860480.0020657.166800
M1-0.004883624057266190.211738-0.02310.9816770.490838
M2-0.2475124380566810.222861-1.11060.271240.13562
M3-0.3045588806549810.225395-1.35120.1817830.090891
M4-0.2299216508191730.222321-1.03420.305270.152635
M50.002713311580974710.2205120.01230.9902240.495112
M60.04267480500748020.2204380.19360.8471610.423581
M7-0.08283354264260280.221153-0.37460.7093350.354668
M8-0.3274749968824530.221942-1.47550.1453950.072698
M9-0.5165851584810630.223533-2.3110.0243450.012173
M10-0.5728876107984340.222669-2.57280.0126230.006311
M11-0.09556557481069120.217763-0.43890.6623720.331186
t-0.01342906706743580.002333-5.757400


Multiple Linear Regression - Regression Statistics
Multiple R0.87110266697072
R-squared0.7588198564035
Adjusted R-squared0.70567846883139
F-TEST (value)14.2792631331619
F-TEST (DF numerator)13
F-TEST (DF denominator)59
p-value1.03916875104915e-13
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.377025054892792
Sum Squared Residuals8.38672562899786


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
18.48.361016286446820.0389837135531758
28.48.075361126302760.32463887369724
38.47.886496500328190.513503499671813
48.68.06609377940540.533906220594604
58.98.403688791046950.496311208953054
68.88.459818496483230.340181503516774
78.38.35047836084292-0.0504783608429172
87.58.003616002304-0.503616002304003
97.27.78627813409935-0.586278134099351
107.47.77574117286897-0.375741172868966
118.88.446815095329740.353184904670262
129.38.647340719381830.652659280618167
139.38.673423946872950.626576053127055
148.78.565352461192140.134647538807856
158.28.39128647475617-0.191286474756175
168.38.54128647475618-0.241286474756175
178.58.76049237008889-0.260492370088887
188.68.81662207552517-0.216622075525167
198.58.66288602126904-0.162886021269043
208.28.31602366273013-0.116023662730129
218.18.098685794525480.00131420547452215
227.98.04375291467928-0.143752914679276
238.68.74442411621726-0.14442411621726
248.78.82656062396052-0.126560623960516
258.78.79344929329721-0.093449293297209
268.58.448599574998730.0514004250012708
278.48.289332228101370.110667771898636
288.58.439332228101370.0606677718986348
298.78.70293404204989-0.00293404204989235
308.78.71466782887036-0.0146678288703573
318.68.516535855998420.0834641440015811
328.58.214069416075320.285930583924682
338.38.041127466486480.258872533513519
3487.956597307563070.0434026924369294
358.28.64246986956245-0.44246986956245
368.18.7246063773057-0.624606377305706
378.18.63230048848798-0.532300488487979
3888.10986709572624-0.109867095726242
397.97.891405190674460.0085948093255428
407.97.93781471390422-0.0378147139042239
4188.18661788831415-0.186617888314146
4288.12435847744159-0.124358477441587
437.97.822636027799410.0773639722005855
4487.520169587876310.479830412123686
457.77.199241242901430.50075875709857
467.26.981523328130570.218476671869425
477.57.815382285516-0.315382285516002
487.37.94191471187507-0.641914711875072
4977.6868237881327-0.686823788132693
5077.34197406983421-0.341974069834214
5177.15310944385964-0.153109443859639
527.27.28831080432103-0.0883108043210348
537.37.55191261826956-0.251912618269562
547.17.489653207397-0.389653207397003
556.87.23232667637065-0.432326676370645
566.46.95945751552475-0.559457515524754
576.16.57933461239545-0.47933461239545
586.56.58359629070367-0.083596290703668
597.77.387857969011890.312142030988115
607.97.469994476755140.430005523244859
617.57.274098111167180.225901888832819
626.96.95884567194591-0.0588456719459114
636.66.88837016228018-0.288370162280176
646.97.1271619995118-0.227161999511805
657.77.494354290230570.205645709769434
6687.594879914282660.40512008571734
6787.515137057719560.484862942280439
687.77.286663815489480.413336184510516
697.36.995332749591810.304667250408191
707.47.058788986054450.341211013945554
718.17.863050664362660.236949335637336
728.37.989583090721730.310416909278267
738.27.778888085595170.42111191440483


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.8325751455161110.3348497089677780.167424854483889
180.7843826308368180.4312347383263630.215617369163182
190.6656707994211430.6686584011577130.334329200578857
200.6298817681615690.7402364636768630.370118231838431
210.6304104302895860.7391791394208280.369589569710414
220.521175368443350.957649263113300.47882463155665
230.5783577714578940.8432844570842130.421642228542106
240.7997501807972970.4004996384054060.200249819202703
250.764448167179580.471103665640840.23555183282042
260.6963361641030.6073276717940.303663835897
270.6281449011758710.7437101976482570.371855098824129
280.5492019833650550.9015960332698910.450798016634946
290.4638890464631110.9277780929262230.536110953536889
300.3782201996563250.7564403993126490.621779800343675
310.3111837208410280.6223674416820570.688816279158972
320.3486052255643190.6972104511286380.651394774435681
330.3513113178224150.702622635644830.648688682177585
340.2794573216592250.558914643318450.720542678340775
350.3442424607903440.6884849215806880.655757539209656
360.547223893636740.9055522127265190.452776106363260
370.634163897539460.7316722049210790.365836102460540
380.5638097549828370.8723804900343260.436190245017163
390.4806829537677310.9613659075354620.519317046232269
400.3985767038857370.7971534077714730.601423296114263
410.3283194443285540.6566388886571080.671680555671446
420.2565016583510550.5130033167021110.743498341648945
430.1992483101425080.3984966202850160.800751689857492
440.2982407861863270.5964815723726550.701759213813673
450.5454161921671470.9091676156657050.454583807832853
460.6565315900867850.686936819826430.343468409913215
470.5993345000338460.8013309999323080.400665499966154
480.628573435997140.7428531280057210.371426564002861
490.69492455824750.6101508835049990.305075441752499
500.61265791188870.77468417622260.3873420881113
510.5824999070975930.8350001858048140.417500092902407
520.7466175854188020.5067648291623970.253382414581198
530.851029155311060.2979416893778800.148970844688940
540.9460390734889140.1079218530221720.0539609265110859
550.9239786943271970.1520426113456070.0760213056728034
560.8696583373382710.2606833253234580.130341662661729


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/2009/Nov/19/t1258625050egaa3x6j5xz8o7k/10ealw1258624337.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258625050egaa3x6j5xz8o7k/10ealw1258624337.ps (open in new window)


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


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


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


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


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


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258625050egaa3x6j5xz8o7k/64j3g1258624337.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258625050egaa3x6j5xz8o7k/64j3g1258624337.ps (open in new window)


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


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


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