Home » date » 2009 » Dec » 19 »

Multiple Regression analysis 3a

*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, 19 Dec 2009 04:06:13 -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/19/t12612208366khecw9sb35174r.htm/, Retrieved Sat, 19 Dec 2009 12:07:28 +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/19/t12612208366khecw9sb35174r.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 «
100.5 98.60 96.33 106.29 96.90 96.33 101.09 95.10 95.05 104.53 97.00 96.84 122.74 112.70 96.92 109.84 102.90 97.44 101.99 97.40 97.78 125.12 111.40 97.69 103.5 87.40 96.67 102.8 96.80 98.29 118.72 114.10 98.20 119.01 110.30 98.71 118.61 103.90 98.54 120.43 101.60 98.20 111.83 94.60 100.80 116.79 95.90 101.33 131.71 104.70 101.88 120.57 102.80 101.85 117.83 98.10 102.04 130.8 113.90 102.22 107.46 80.90 102.63 112.09 95.70 102.65 129.47 113.20 102.54 119.72 105.90 102.37 134.81 108.80 102.68 135.8 102.30 102.76 129.27 99.00 102.82 126.94 100.70 103.31 153.45 115.50 103.23 121.86 100.70 103.60 133.47 109.90 103.95 135.34 114.60 103.93 117.1 85.40 104.25 120.65 100.50 104.38 132.49 114.80 104.36 137.6 116.50 104.32 138.69 112.90 104.58 125.53 102.00 104.68 133.09 106.00 104.92 129.08 105.30 105.46 145.94 118.80 105.23 129.07 106.10 105.58 139.69 109.30 105.34 142.09 117.20 105.28 137.29 92.50 105.70 127.03 104.20 105.67 137.25 112.50 105.71 156.87 122.40 106.19 150. 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 time4 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
Invoer[t] = -565.364466748748 + 1.83716663011589TIP[t] + 4.96590613126583CONS[t] + 8.0960403885472M1[t] + 15.9374500609476M2[t] + 15.1165444156924M3[t] + 7.71488211793052M4[t] + 5.75852459637852M5[t] + 5.25941126185618M6[t] + 6.31099947214643M7[t] + 1.59723979471244M8[t] + 32.651378186831M9[t] + 10.4110003714842M10[t] -2.5694298043648M11[t] -0.658696536903804t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)-565.36446674874872.554538-7.792300
TIP1.837166630115890.12144815.127200
CONS4.965906131265830.7424576.688500
M18.09604038854723.5744112.2650.0274730.013737
M215.93745006094763.8707524.11740.000136.5e-05
M315.11654441569243.8756363.90040.0002640.000132
M47.714882117930523.8178742.02070.0481870.024094
M55.758524596378523.4695121.65980.1026570.051328
M65.259411261856183.661761.43630.1565790.078289
M76.310999472146433.7213961.69590.0955650.047782
M81.597239794712443.4451390.46360.6447490.322374
M932.6513781868314.7323586.899600
M1010.41100037148423.9864282.61160.0115930.005797
M11-2.56942980436483.592354-0.71520.477480.23874
t-0.6586965369038040.174674-3.7710.0003992e-04


Multiple Linear Regression - Regression Statistics
Multiple R0.958082962716787
R-squared0.917922963448176
Adjusted R-squared0.897030626871348
F-TEST (value)43.9358690241597
F-TEST (DF numerator)14
F-TEST (DF denominator)55
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation5.67943181519843
Sum Squared Residuals1774.07701589185


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1100.5101.583244457159-1.08324445715932
2106.29105.6427743214590.647225678541308
3101.0994.49991235707076.59008764292927
4104.5398.81914209459125.71085790540882
5122.74125.444876619456-2.70487661945604
6109.84108.8651049611520.974895038847566
7101.99100.8419882535321.14801174646808
8125.12120.7429333090034.37706669099741
9103.5101.9811517875451.51884821245507
10102.8104.396211691034-1.5962116910343
11118.72122.093136127472-3.3731361274724
12119.01119.555248327439-0.545248327438574
13118.61114.3905217040254.21947829597483
14120.43115.6593435056254.77065649437517
15111.83114.230930853946-2.40093085394575
16116.79111.1908188880025.59918111199837
17131.71127.4740795467624.2359204532382
18120.57122.676675894178-2.10667589417751
19117.83115.3784065709602.45159342904016
20130.8139.927046216081-9.12704621608087
21107.46111.732010791290-4.27201079129037
22112.09116.122320687380-4.03232068738020
23129.47134.087360327216-4.61736032721621
24119.72121.742573152516-2.02257315251604
25134.81136.047131132188-1.2371311321879
26135.8131.6855336624334.11446633756749
27129.27124.4412359687674.82876403123304
28126.94121.9373544096195.0026455903814
29153.45146.1150939863777.33490601362335
30121.86119.6046032578042.25539674219629
31133.47138.637495074199-5.16749507419939
32135.34141.800403898781-6.46040389878094
33117.1120.139670116617-3.03967011661687
34120.65125.627379676181-4.97737967618063
35132.49138.160417651460-5.67041765145974
36137.6142.995697944867-5.39569794486709
37138.69145.110377522222-6.42037752222244
38125.53132.764565002583-7.23456500258252
39133.09139.825446812391-6.7354468123908
40129.08133.160660647528-4.0806606475275
41145.94154.205197685445-8.26519768544508
42129.07131.453438757490-2.38343875749020
43139.69136.5334461757443.1565538242563
44142.09145.376651971445-3.28665197144545
45137.29132.4797586379294.81024136207053
46127.03130.926556674097-3.89655667409672
47137.25132.7345492365564.51545076344359
48156.87155.2168670851721.65313291482771
49150.89149.6107651398981.27923486010211
50139.14134.8917742217994.24822577820124
51158.3155.1058764956993.19412350430134
52149155.174246857165-6.17424685716496
53158.36150.0768956484348.28310435156636
54168.06163.5420395451924.51796045480814
55153.38152.3959582048270.984041795173183
56173.86161.60191565040912.2580843495913
57162.47158.4172852450774.0527147549232
58145.17140.8110360026364.35896399736386
59168.89159.7445366572959.14546334270474
60166.64160.3296134900066.31038650999399
61140.07136.8279600445073.24203995549272
62128.84135.386009286103-6.54600928610268
63123.41128.886597512127-5.4765975121271
64120.3126.357777103096-6.05777710309612
65129.67138.553856513527-8.88385651352679
66118.1121.358137584184-3.25813758418428
67113.91116.482705720738-2.57270572073833
68131.09128.8510489542812.23895104571855
69119.15122.220123421542-3.07012342154156
70122.3112.15649526867210.1435047313280


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
180.01406650195072010.02813300390144020.98593349804928
190.008784689332010340.01756937866402070.99121531066799
200.03209046495068830.06418092990137670.967909535049312
210.01841807386827620.03683614773655250.981581926131724
220.007491420938547550.01498284187709510.992508579061453
230.002807457286766880.005614914573533760.997192542713233
240.01061522818614010.02123045637228030.98938477181386
250.005360599378642480.01072119875728500.994639400621357
260.003335978634504730.006671957269009450.996664021365495
270.002069311251693870.004138622503387740.997930688748306
280.004042890239762520.008085780479525040.995957109760238
290.006062403435465420.01212480687093080.993937596564535
300.01314595518254050.02629191036508090.98685404481746
310.0131166777499690.0262333554999380.986883322250031
320.02611121530952490.05222243061904980.973888784690475
330.01833002685007850.03666005370015690.981669973149922
340.01314770022808620.02629540045617250.986852299771914
350.01339371095931990.02678742191863980.98660628904068
360.00979105858758350.0195821171751670.990208941412416
370.01159315011032910.02318630022065820.988406849889671
380.03489016984997580.06978033969995170.965109830150024
390.03350730525975060.06701461051950130.96649269474025
400.03291820581900150.0658364116380030.967081794180998
410.04832025696542240.0966405139308450.951679743034578
420.02932362080906130.05864724161812250.97067637919094
430.03053263501723300.06106527003446610.969467364982767
440.03803402137851580.07606804275703160.961965978621484
450.05408405221077120.1081681044215420.945915947789229
460.1181007712070840.2362015424141680.881899228792916
470.1077492152449190.2154984304898390.892250784755081
480.1807583770036310.3615167540072620.819241622996369
490.2511398810220160.5022797620440330.748860118977984
500.1720958075777930.3441916151555850.827904192422207
510.1208628874632950.2417257749265910.879137112536704
520.1699234088756680.3398468177513370.830076591124332


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level40.114285714285714NOK
5% type I error level180.514285714285714NOK
10% type I error level270.771428571428571NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/19/t12612208366khecw9sb35174r/10tbxz1261220768.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t12612208366khecw9sb35174r/10tbxz1261220768.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/19/t12612208366khecw9sb35174r/1uqdf1261220768.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t12612208366khecw9sb35174r/1uqdf1261220768.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/19/t12612208366khecw9sb35174r/2n5281261220768.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t12612208366khecw9sb35174r/2n5281261220768.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/19/t12612208366khecw9sb35174r/3q31k1261220768.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t12612208366khecw9sb35174r/3q31k1261220768.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/19/t12612208366khecw9sb35174r/4sjl81261220768.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t12612208366khecw9sb35174r/4sjl81261220768.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/19/t12612208366khecw9sb35174r/5nmb21261220768.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t12612208366khecw9sb35174r/5nmb21261220768.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/19/t12612208366khecw9sb35174r/6of9x1261220768.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t12612208366khecw9sb35174r/6of9x1261220768.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/19/t12612208366khecw9sb35174r/7ey651261220768.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t12612208366khecw9sb35174r/7ey651261220768.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/19/t12612208366khecw9sb35174r/88qrz1261220768.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t12612208366khecw9sb35174r/88qrz1261220768.ps (open in new window)


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