Home » date » 2009 » Dec » 12 »

*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: Sat, 12 Dec 2009 14:02:49 -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/Dec/12/t12606525500g7bm0u8of4tqci.htm/, Retrieved Sat, 12 Dec 2009 22:16:02 +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/Dec/12/t12606525500g7bm0u8of4tqci.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 «
577992 0 565464 0 547344 0 554788 0 562325 0 560854 0 555332 0 543599 0 536662 0 542722 0 593530 1 610763 1 612613 1 611324 1 594167 1 595454 1 590865 1 589379 1 584428 1 573100 1 567456 1 569028 1 620735 1 628884 1 628232 1 612117 1 595404 1 597141 1 593408 1 590072 1 579799 1 574205 1 572775 1 572942 1 619567 1 625809 1 619916 1 587625 1 565742 1 557274 1 560576 1 548854 1 531673 1 525919 1 511038 1 498662 1 555362 1 564591 1 541657 1 527070 1 509846 1 514258 1 516922 1 507561 1 492622 1 490243 1 469357 1 477580 1 528379 1 533590 1 517945 1 506174 1 501866 1 516141 1 528222 1 532638 1 536322 1 536535 1 523597 1 536214 1 586570 1 596594 1 580523 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 time4 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 604335.544025157 + 52211.4327044027X[t] -10737.0504941598M1[t] -31415.9620245583M2[t] -45812.6252770291M3[t] -40860.6218628332M4[t] -36479.4517819706M5[t] -38801.9483677747M6[t] -45494.7782869121M7[t] -50086.4415393831M8[t] -59034.9381251872M9[t] -54820.2680443246M10[t] -10852.1700808625M11[t] -1504.17008086253t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)604335.54402515713504.0655844.752100
X52211.432704402710825.3676414.82311e-055e-06
M1-10737.050494159814061.215256-0.76360.4481520.224076
M2-31415.962024558314623.044119-2.14840.0357990.017899
M3-45812.625277029114615.876218-3.13440.0026820.001341
M4-40860.621862833214610.815998-2.79660.0069610.003481
M5-36479.451781970614607.86565-2.49720.0153260.007663
M6-38801.948367774714607.026451-2.65640.0101430.005071
M7-45494.778286912114608.298766-3.11430.0028440.001422
M8-50086.441539383114611.682042-3.42780.0011150.000557
M9-59034.938125187214617.174815-4.03870.0001577.9e-05
M10-54820.268044324614624.774708-3.74850.0004070.000204
M11-10852.170080862514535.789514-0.74660.458280.22914
t-1504.17008086253175.624874-8.564700


Multiple Linear Regression - Regression Statistics
Multiple R0.815618618735924
R-squared0.665233731228697
Adjusted R-squared0.591471672007901
F-TEST (value)9.0186437072943
F-TEST (DF numerator)13
F-TEST (DF denominator)59
p-value8.28744184389052e-10
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation25174.8882440813
Sum Squared Residuals37392724888.0169


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1577992592094.323450134-14102.3234501342
2565464569911.241838874-4447.24183887437
3547344554010.408505541-6666.40850554064
4554788557458.241838874-2670.24183887389
5562325560335.2418388741989.75816112615
6560854556508.5751722074345.42482779281
7555332548311.5751722077020.42482779284
8543599542215.7418388741383.25816112601
9536662531763.0751722074898.92482779258
10542722534473.5751722078248.42482779282
11593530629148.93575921-35618.9357592094
12610763638496.935759209-27733.9357592094
13612613626255.715184187-13642.7151841870
14611324604072.6335729267251.3664270741
15594167588171.8002395935995.19976040731
16595454591619.6335729263834.36642707397
17590865594496.633572926-3631.63357292605
18589379590669.96690626-1290.96690625937
19584428582472.9669062591955.03309374061
20573100576377.133572926-3277.13357292601
21567456565924.4669062591531.53309374067
22569028568634.966906259393.03309374062
23620735611098.8947888599636.10521114107
24628884620446.8947888598437.1052111411
25628232608205.67421383720026.3257861634
26612117586022.59260257626094.4073974245
27595404570121.75926924225282.2407307577
28597141573569.59260257623571.4073974244
29593408576446.59260257616961.4073974244
30590072572619.92593590917452.0740640910
31579799564422.92593590915376.0740640910
32574205558327.09260257615877.9073974244
33572775547874.42593590924900.5740640911
34572942550584.92593590922357.0740640910
35619567593048.85381850926518.1461814915
36625809602396.85381850923412.1461814915
37619916590155.63324348629760.3667565138
38587625567972.55163222519652.4483677749
39565742552071.71829889213670.2817011081
40557274555519.5516322251754.44836777478
41560576558396.5516322252179.44836777476
42548854554569.884965559-5715.88496555857
43531673546372.884965559-14699.8849655586
44525919540277.051632225-14358.0516322252
45511038529824.384965559-18786.3849655585
46498662532534.884965559-33872.8849655586
47555362574998.812848158-19636.8128481581
48564591584346.812848158-19755.8128481581
49541657572105.592273136-30448.5922731358
50527070549922.510661875-22852.5106618747
51509846534021.677328541-24175.6773285415
52514258537469.510661875-23211.5106618748
53516922540346.510661875-23424.5106618748
54507561536519.843995208-28958.8439952082
55492622528322.843995208-35700.8439952082
56490243522227.010661875-31984.0106618748
57469357511774.343995208-42417.3439952081
58477580514484.843995208-36904.8439952081
59528379556948.771877808-28569.7718778077
60533590566296.771877808-32706.7718778077
61517945554055.551302785-36110.5513027854
62506174531872.469691524-25698.4696915243
63501866515971.636358191-14105.6363581911
64516141519419.469691524-3278.46969152441
65528222522296.4696915245925.53030847558
66532638518469.80302485814168.1969751422
67536322510272.80302485826049.1969751422
68536535504176.96969152432358.0303084756
69523597493724.30302485829872.6969751423
70536214496434.80302485839779.1969751423
71586570538898.73090745747671.2690925427
72596594548246.73090745748347.2690925427
73580523536005.51033243544517.4896675651


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.01494797364857230.02989594729714450.985052026351428
180.005136936216136920.01027387243227380.994863063783863
190.001443919838667290.002887839677334580.998556080161333
200.0003584122047073170.0007168244094146340.999641587795293
217.46764115827677e-050.0001493528231655350.999925323588417
222.16714531832214e-054.33429063664427e-050.999978328546817
233.69890578344136e-067.39781156688272e-060.999996301094217
248.56005445744122e-071.71201089148824e-060.999999143994554
251.89173715788026e-073.78347431576052e-070.999999810826284
261.33817885533315e-072.67635771066629e-070.999999866182114
274.48930169661696e-088.97860339323393e-080.999999955106983
281.73324390767128e-083.46648781534256e-080.99999998266756
291.13972219659738e-082.27944439319477e-080.999999988602778
307.25307987218253e-091.45061597443651e-080.99999999274692
318.11454723278488e-091.62290944655698e-080.999999991885453
322.75193190855175e-095.5038638171035e-090.999999997248068
338.62349769750184e-101.72469953950037e-090.99999999913765
343.45208927578017e-106.90417855156033e-100.999999999654791
351.17657425013385e-102.35314850026770e-100.999999999882343
364.65328715685841e-119.30657431371681e-110.999999999953467
375.77777599073358e-111.15555519814672e-100.999999999942222
389.47722661646543e-091.89544532329309e-080.999999990522773
394.06517749705112e-078.13035499410224e-070.99999959348225
401.72359442126052e-053.44718884252103e-050.999982764055787
410.0001122835358317380.0002245670716634760.999887716464168
420.0008260270315708980.001652054063141800.99917397296843
430.004819737409234620.009639474818469240.995180262590765
440.01127794638973770.02255589277947550.988722053610262
450.03674450595604680.07348901191209370.963255494043953
460.0829925839907470.1659851679814940.917007416009253
470.0938319083481930.1876638166963860.906168091651807
480.1261167434854490.2522334869708970.873883256514551
490.2071987275439390.4143974550878770.792801272456061
500.4302224595944510.8604449191889020.569777540405549
510.6491631897543250.701673620491350.350836810245675
520.8298822686270890.3402354627458230.170117731372911
530.9523938290758370.09521234184832660.0476061709241633
540.992576857738410.01484628452318080.00742314226159041
550.9919865153621860.01602696927562830.00801348463781416
560.9951238252881790.009752349423642870.00487617471182143


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level260.65NOK
5% type I error level310.775NOK
10% type I error level330.825NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/12/t12606525500g7bm0u8of4tqci/10i5z71260651763.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/12/t12606525500g7bm0u8of4tqci/10i5z71260651763.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/12/t12606525500g7bm0u8of4tqci/10yt21260651763.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/12/t12606525500g7bm0u8of4tqci/10yt21260651763.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/12/t12606525500g7bm0u8of4tqci/24nq51260651763.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/12/t12606525500g7bm0u8of4tqci/24nq51260651763.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/12/t12606525500g7bm0u8of4tqci/3nph11260651763.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/12/t12606525500g7bm0u8of4tqci/3nph11260651763.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/12/t12606525500g7bm0u8of4tqci/4rmmw1260651763.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/12/t12606525500g7bm0u8of4tqci/4rmmw1260651763.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/12/t12606525500g7bm0u8of4tqci/571si1260651763.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/12/t12606525500g7bm0u8of4tqci/571si1260651763.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/12/t12606525500g7bm0u8of4tqci/6na4v1260651763.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/12/t12606525500g7bm0u8of4tqci/6na4v1260651763.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/12/t12606525500g7bm0u8of4tqci/7h67e1260651763.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/12/t12606525500g7bm0u8of4tqci/7h67e1260651763.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/12/t12606525500g7bm0u8of4tqci/8xe4s1260651763.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/12/t12606525500g7bm0u8of4tqci/8xe4s1260651763.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/12/t12606525500g7bm0u8of4tqci/96l8r1260651763.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/12/t12606525500g7bm0u8of4tqci/96l8r1260651763.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