Home » date » 2009 » Nov » 24 »

*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: Tue, 24 Nov 2009 02:36:47 -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/24/t1259055660pl9rnsyu5l5hegi.htm/, Retrieved Tue, 24 Nov 2009 10:41:12 +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/24/t1259055660pl9rnsyu5l5hegi.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 «
103,52 0 103,5 0 103,52 0 103,53 0 103,53 0 103,53 0 103,52 0 103,54 0 103,59 0 103,59 0 103,59 0 103,59 0 103,63 0 103,74 0 103,7 0 103,72 0 103,81 0 103,8 0 104,22 0 106,91 1 107,06 1 107,17 1 107,25 1 107,28 1 107,24 1 107,23 1 107,34 1 107,34 1 107,3 1 107,24 1 107,3 1 107,32 1 107,28 1 107,33 1 107,33 1 107,33 1 107,28 1 107,28 1 107,29 1 107,29 1 107,23 1 107,24 1 107,24 1 107,2 1 107,23 1 107,2 1 107,21 1 107,24 1 107,21 1 113,89 1 114,05 1 114,05 1 114,05 1 114,05 1 115,12 1 115,68 1 116,05 1 116,18 1 116,35 1 116,44 1 117 1 117,61 1 118,17 1 118,33 1 118,33 1 118,42 1 118,5 1 118,67 1 119,09 1 119,14 1 119,23 1 119,33 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] = + 103.640526315790 + 7.77683217477653X[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)103.6405263157900.983599105.368700
X7.776832174776531.1464276.783500


Multiple Linear Regression - Regression Statistics
Multiple R0.629791177928378
R-squared0.396636927796414
Adjusted R-squared0.388017455336363
F-TEST (value)46.0163808904445
F-TEST (DF numerator)1
F-TEST (DF denominator)70
p-value3.09137426768302e-09
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation4.28740968238986
Sum Squared Residuals1286.73172492552


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1103.52103.640526315789-0.120526315788941
2103.5103.640526315789-0.140526315789487
3103.52103.640526315790-0.120526315789508
4103.53103.640526315790-0.110526315789503
5103.53103.640526315790-0.110526315789503
6103.53103.640526315790-0.110526315789503
7103.52103.640526315790-0.120526315789508
8103.54103.640526315790-0.100526315789498
9103.59103.640526315790-0.0505263157895004
10103.59103.640526315790-0.0505263157895004
11103.59103.640526315790-0.0505263157895004
12103.59103.640526315790-0.0505263157895004
13103.63103.640526315790-0.0105263157895084
14103.74103.6405263157900.099473684210491
15103.7103.6405263157900.059473684210499
16103.72103.6405263157900.079473684210495
17103.81103.6405263157900.169473684210498
18103.8103.6405263157900.159473684210493
19104.22103.6405263157900.579473684210495
20106.91111.417358490566-4.50735849056604
21107.06111.417358490566-4.35735849056604
22107.17111.417358490566-4.24735849056604
23107.25111.417358490566-4.16735849056604
24107.28111.417358490566-4.13735849056604
25107.24111.417358490566-4.17735849056604
26107.23111.417358490566-4.18735849056603
27107.34111.417358490566-4.07735849056603
28107.34111.417358490566-4.07735849056603
29107.3111.417358490566-4.11735849056604
30107.24111.417358490566-4.17735849056604
31107.3111.417358490566-4.11735849056604
32107.32111.417358490566-4.09735849056604
33107.28111.417358490566-4.13735849056604
34107.33111.417358490566-4.08735849056604
35107.33111.417358490566-4.08735849056604
36107.33111.417358490566-4.08735849056604
37107.28111.417358490566-4.13735849056604
38107.28111.417358490566-4.13735849056604
39107.29111.417358490566-4.12735849056603
40107.29111.417358490566-4.12735849056603
41107.23111.417358490566-4.18735849056603
42107.24111.417358490566-4.17735849056604
43107.24111.417358490566-4.17735849056604
44107.2111.417358490566-4.21735849056603
45107.23111.417358490566-4.18735849056603
46107.2111.417358490566-4.21735849056603
47107.21111.417358490566-4.20735849056604
48107.24111.417358490566-4.17735849056604
49107.21111.417358490566-4.20735849056604
50113.89111.4173584905662.47264150943396
51114.05111.4173584905662.63264150943396
52114.05111.4173584905662.63264150943396
53114.05111.4173584905662.63264150943396
54114.05111.4173584905662.63264150943396
55115.12111.4173584905663.70264150943397
56115.68111.4173584905664.26264150943397
57116.05111.4173584905664.63264150943396
58116.18111.4173584905664.76264150943397
59116.35111.4173584905664.93264150943396
60116.44111.4173584905665.02264150943396
61117111.4173584905665.58264150943396
62117.61111.4173584905666.19264150943396
63118.17111.4173584905666.75264150943396
64118.33111.4173584905666.91264150943396
65118.33111.4173584905666.91264150943396
66118.42111.4173584905667.00264150943396
67118.5111.4173584905667.08264150943396
68118.67111.4173584905667.25264150943396
69119.09111.4173584905667.67264150943397
70119.14111.4173584905667.72264150943396
71119.23111.4173584905667.81264150943397
72119.33111.4173584905667.91264150943396


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
54.48941822190818e-088.97883644381637e-080.999999955105818
61.48936788031150e-102.97873576062301e-100.999999999851063
73.68370850672314e-137.36741701344627e-130.999999999999632
82.46720343835644e-154.93440687671288e-150.999999999999998
91.65570516334699e-153.31141032669399e-150.999999999999998
106.14831937223353e-171.22966387444671e-161
111.32168788705674e-182.64337577411347e-181
122.21773586180352e-204.43547172360704e-201
131.51734534586769e-213.03469069173538e-211
144.79506582668233e-219.59013165336467e-211
153.79285067676758e-227.58570135353516e-221
163.12960649708841e-236.25921299417682e-231
171.24035444243874e-232.48070888487748e-231
181.67278439035596e-243.34556878071192e-241
193.93552234610264e-227.87104469220529e-221
201.51178590861411e-233.02357181722822e-231
216.93285959542567e-251.38657191908513e-241
223.90331210525806e-267.80662421051611e-261
232.56502675287941e-275.13005350575881e-271
241.58403090376922e-283.16806180753845e-281
257.339093868117e-301.4678187736234e-291
263.19237540411187e-316.38475080822375e-311
272.12301415109164e-324.24602830218327e-321
281.29252148591915e-332.58504297183829e-331
296.3750245527402e-351.27500491054804e-341
302.78331940240981e-365.56663880481962e-361
311.39837264457149e-372.79674528914298e-371
327.62541544071102e-391.52508308814220e-381
333.81328475781301e-407.62656951562602e-401
342.29119597759008e-414.58239195518016e-411
351.43550210780219e-422.87100421560438e-421
369.52907316021083e-441.90581463204217e-431
376.1181707651741e-451.22363415303482e-441
384.37553446014350e-468.75106892028701e-461
393.61984423218559e-477.23968846437118e-471
403.53470727561178e-487.06941455122356e-481
414.32625188387039e-498.65250376774077e-491
426.88201314497856e-501.37640262899571e-491
431.57411786130581e-503.14823572261162e-501
446.51121154588855e-511.30224230917771e-501
454.95791005788827e-519.91582011577654e-511
461.16105013115708e-502.32210026231415e-501
471.41301114269706e-492.82602228539413e-491
483.6725639591611e-477.3451279183222e-471
493.84085774702536e-417.68171549405073e-411
503.24351135942703e-056.48702271885406e-050.999967564886406
510.03017197751853540.06034395503707090.969828022481465
520.2804190672775320.5608381345550630.719580932722468
530.6703842623745150.659231475250970.329615737625485
540.9228590343757040.1542819312485930.0771409656242964
550.9830976467778990.03380470644420210.0169023532221010
560.9956633638501630.008673272299673890.00433663614983694
570.9986119938181760.002776012363648490.00138800618182425
580.9995510982324750.0008978035350499330.000448901767524967
590.999866474236690.0002670515266201190.000133525763310059
600.999979354392314.12912153780045e-052.06456076890022e-05
610.999996118175327.7636493584692e-063.8818246792346e-06
620.9999979850288134.02994237350239e-062.01497118675119e-06
630.9999952354253089.52914938448087e-064.76457469224044e-06
640.9999833623383633.32753232733442e-051.66376616366721e-05
650.9999456719047820.0001086561904365535.43280952182767e-05
660.9998059128480850.0003881743038307060.000194087151915353
670.9993903691022240.001219261795552770.000609630897776385


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level580.92063492063492NOK
5% type I error level590.936507936507937NOK
10% type I error level600.952380952380952NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/24/t1259055660pl9rnsyu5l5hegi/10blz81259055402.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/24/t1259055660pl9rnsyu5l5hegi/10blz81259055402.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/24/t1259055660pl9rnsyu5l5hegi/1zkqd1259055402.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/24/t1259055660pl9rnsyu5l5hegi/1zkqd1259055402.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/24/t1259055660pl9rnsyu5l5hegi/2t4sx1259055402.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/24/t1259055660pl9rnsyu5l5hegi/2t4sx1259055402.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/24/t1259055660pl9rnsyu5l5hegi/36jhy1259055402.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/24/t1259055660pl9rnsyu5l5hegi/36jhy1259055402.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/24/t1259055660pl9rnsyu5l5hegi/477am1259055402.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/24/t1259055660pl9rnsyu5l5hegi/477am1259055402.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/24/t1259055660pl9rnsyu5l5hegi/5ij691259055402.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/24/t1259055660pl9rnsyu5l5hegi/5ij691259055402.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/24/t1259055660pl9rnsyu5l5hegi/6vfd21259055402.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/24/t1259055660pl9rnsyu5l5hegi/6vfd21259055402.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/24/t1259055660pl9rnsyu5l5hegi/7vswx1259055402.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/24/t1259055660pl9rnsyu5l5hegi/7vswx1259055402.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/24/t1259055660pl9rnsyu5l5hegi/8kj0k1259055402.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/24/t1259055660pl9rnsyu5l5hegi/8kj0k1259055402.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/24/t1259055660pl9rnsyu5l5hegi/988jg1259055402.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/24/t1259055660pl9rnsyu5l5hegi/988jg1259055402.ps (open in new window)


 
Parameters (Session):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
 
Parameters (R input):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
 
R code (references can be found in the software module):
library(lattice)
library(lmtest)
n25 <- 25 #minimum number of obs. for Goldfeld-Quandt test
par1 <- as.numeric(par1)
x <- t(y)
k <- length(x[1,])
n <- length(x[,1])
x1 <- cbind(x[,par1], x[,1:k!=par1])
mycolnames <- c(colnames(x)[par1], colnames(x)[1:k!=par1])
colnames(x1) <- mycolnames #colnames(x)[par1]
x <- x1
if (par3 == 'First Differences'){
x2 <- array(0, dim=c(n-1,k), dimnames=list(1:(n-1), paste('(1-B)',colnames(x),sep='')))
for (i in 1:n-1) {
for (j in 1:k) {
x2[i,j] <- x[i+1,j] - x[i,j]
}
}
x <- x2
}
if (par2 == 'Include Monthly Dummies'){
x2 <- array(0, dim=c(n,11), dimnames=list(1:n, paste('M', seq(1:11), sep ='')))
for (i in 1:11){
x2[seq(i,n,12),i] <- 1
}
x <- cbind(x, x2)
}
if (par2 == 'Include Quarterly Dummies'){
x2 <- array(0, dim=c(n,3), dimnames=list(1:n, paste('Q', seq(1:3), sep ='')))
for (i in 1:3){
x2[seq(i,n,4),i] <- 1
}
x <- cbind(x, x2)
}
k <- length(x[1,])
if (par3 == 'Linear Trend'){
x <- cbind(x, c(1:n))
colnames(x)[k+1] <- 't'
}
x
k <- length(x[1,])
df <- as.data.frame(x)
(mylm <- lm(df))
(mysum <- summary(mylm))
if (n > n25) {
kp3 <- k + 3
nmkm3 <- n - k - 3
gqarr <- array(NA, dim=c(nmkm3-kp3+1,3))
numgqtests <- 0
numsignificant1 <- 0
numsignificant5 <- 0
numsignificant10 <- 0
for (mypoint in kp3:nmkm3) {
j <- 0
numgqtests <- numgqtests + 1
for (myalt in c('greater', 'two.sided', 'less')) {
j <- j + 1
gqarr[mypoint-kp3+1,j] <- gqtest(mylm, point=mypoint, alternative=myalt)$p.value
}
if (gqarr[mypoint-kp3+1,2] < 0.01) numsignificant1 <- numsignificant1 + 1
if (gqarr[mypoint-kp3+1,2] < 0.05) numsignificant5 <- numsignificant5 + 1
if (gqarr[mypoint-kp3+1,2] < 0.10) numsignificant10 <- numsignificant10 + 1
}
gqarr
}
bitmap(file='test0.png')
plot(x[,1], type='l', main='Actuals and Interpolation', ylab='value of Actuals and Interpolation (dots)', xlab='time or index')
points(x[,1]-mysum$resid)
grid()
dev.off()
bitmap(file='test1.png')
plot(mysum$resid, type='b', pch=19, main='Residuals', ylab='value of Residuals', xlab='time or index')
grid()
dev.off()
bitmap(file='test2.png')
hist(mysum$resid, main='Residual Histogram', xlab='values of Residuals')
grid()
dev.off()
bitmap(file='test3.png')
densityplot(~mysum$resid,col='black',main='Residual Density Plot', xlab='values of Residuals')
dev.off()
bitmap(file='test4.png')
qqnorm(mysum$resid, main='Residual Normal Q-Q Plot')
qqline(mysum$resid)
grid()
dev.off()
(myerror <- as.ts(mysum$resid))
bitmap(file='test5.png')
dum <- cbind(lag(myerror,k=1),myerror)
dum
dum1 <- dum[2:length(myerror),]
dum1
z <- as.data.frame(dum1)
z
plot(z,main=paste('Residual Lag plot, lowess, and regression line'), ylab='values of Residuals', xlab='lagged values of Residuals')
lines(lowess(z))
abline(lm(z))
grid()
dev.off()
bitmap(file='test6.png')
acf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Autocorrelation Function')
grid()
dev.off()
bitmap(file='test7.png')
pacf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Partial Autocorrelation Function')
grid()
dev.off()
bitmap(file='test8.png')
opar <- par(mfrow = c(2,2), oma = c(0, 0, 1.1, 0))
plot(mylm, las = 1, sub='Residual Diagnostics')
par(opar)
dev.off()
if (n > n25) {
bitmap(file='test9.png')
plot(kp3:nmkm3,gqarr[,2], main='Goldfeld-Quandt test',ylab='2-sided p-value',xlab='breakpoint')
grid()
dev.off()
}
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Estimated Regression Equation', 1, TRUE)
a<-table.row.end(a)
myeq <- colnames(x)[1]
myeq <- paste(myeq, '[t] = ', sep='')
for (i in 1:k){
if (mysum$coefficients[i,1] > 0) myeq <- paste(myeq, '+', '')
myeq <- paste(myeq, mysum$coefficients[i,1], sep=' ')
if (rownames(mysum$coefficients)[i] != '(Intercept)') {
myeq <- paste(myeq, rownames(mysum$coefficients)[i], sep='')
if (rownames(mysum$coefficients)[i] != 't') myeq <- paste(myeq, '[t]', sep='')
}
}
myeq <- paste(myeq, ' + e[t]')
a<-table.row.start(a)
a<-table.element(a, myeq)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable1.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,hyperlink('http://www.xycoon.com/ols1.htm','Multiple Linear Regression - Ordinary Least Squares',''), 6, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Variable',header=TRUE)
a<-table.element(a,'Parameter',header=TRUE)
a<-table.element(a,'S.D.',header=TRUE)
a<-table.element(a,'T-STAT<br />H0: parameter = 0',header=TRUE)
a<-table.element(a,'2-tail p-value',header=TRUE)
a<-table.element(a,'1-tail p-value',header=TRUE)
a<-table.row.end(a)
for (i in 1:k){
a<-table.row.start(a)
a<-table.element(a,rownames(mysum$coefficients)[i],header=TRUE)
a<-table.element(a,mysum$coefficients[i,1])
a<-table.element(a, round(mysum$coefficients[i,2],6))
a<-table.element(a, round(mysum$coefficients[i,3],4))
a<-table.element(a, round(mysum$coefficients[i,4],6))
a<-table.element(a, round(mysum$coefficients[i,4]/2,6))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable2.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Regression Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple R',1,TRUE)
a<-table.element(a, sqrt(mysum$r.squared))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'R-squared',1,TRUE)
a<-table.element(a, mysum$r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Adjusted R-squared',1,TRUE)
a<-table.element(a, mysum$adj.r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (value)',1,TRUE)
a<-table.element(a, mysum$fstatistic[1])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF numerator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[2])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF denominator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[3])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'p-value',1,TRUE)
a<-table.element(a, 1-pf(mysum$fstatistic[1],mysum$fstatistic[2],mysum$fstatistic[3]))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Residual Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Residual Standard Deviation',1,TRUE)
a<-table.element(a, mysum$sigma)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Sum Squared Residuals',1,TRUE)
a<-table.element(a, sum(myerror*myerror))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable3.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Actuals, Interpolation, and Residuals', 4, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Time or Index', 1, TRUE)
a<-table.element(a, 'Actuals', 1, TRUE)
a<-table.element(a, 'Interpolation<br />Forecast', 1, TRUE)
a<-table.element(a, 'Residuals<br />Prediction Error', 1, TRUE)
a<-table.row.end(a)
for (i in 1:n) {
a<-table.row.start(a)
a<-table.element(a,i, 1, TRUE)
a<-table.element(a,x[i])
a<-table.element(a,x[i]-mysum$resid[i])
a<-table.element(a,mysum$resid[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable4.tab')
if (n > n25) {
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'p-values',header=TRUE)
a<-table.element(a,'Alternative Hypothesis',3,header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'breakpoint index',header=TRUE)
a<-table.element(a,'greater',header=TRUE)
a<-table.element(a,'2-sided',header=TRUE)
a<-table.element(a,'less',header=TRUE)
a<-table.row.end(a)
for (mypoint in kp3:nmkm3) {
a<-table.row.start(a)
a<-table.element(a,mypoint,header=TRUE)
a<-table.element(a,gqarr[mypoint-kp3+1,1])
a<-table.element(a,gqarr[mypoint-kp3+1,2])
a<-table.element(a,gqarr[mypoint-kp3+1,3])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable5.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Description',header=TRUE)
a<-table.element(a,'# significant tests',header=TRUE)
a<-table.element(a,'% significant tests',header=TRUE)
a<-table.element(a,'OK/NOK',header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'1% type I error level',header=TRUE)
a<-table.element(a,numsignificant1)
a<-table.element(a,numsignificant1/numgqtests)
if (numsignificant1/numgqtests < 0.01) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'5% type I error level',header=TRUE)
a<-table.element(a,numsignificant5)
a<-table.element(a,numsignificant5/numgqtests)
if (numsignificant5/numgqtests < 0.05) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'10% type I error level',header=TRUE)
a<-table.element(a,numsignificant10)
a<-table.element(a,numsignificant10/numgqtests)
if (numsignificant10/numgqtests < 0.1) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable6.tab')
}
 





Copyright

Creative Commons License

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.

Software written by Ed van Stee & Patrick Wessa


Disclaimer

Information provided on this web site is provided "AS IS" without warranty of any kind, either express or implied, including, without limitation, warranties of merchantability, fitness for a particular purpose, and noninfringement. We use reasonable efforts to include accurate and timely information and periodically update the information, and software without notice. However, we make no warranties or representations as to the accuracy or completeness of such information (or software), and we assume no liability or responsibility for errors or omissions in the content of this web site, or any software bugs in online applications. Your use of this web site is AT YOUR OWN RISK. Under no circumstances and under no legal theory shall we be liable to you or any other person for any direct, indirect, special, incidental, exemplary, or consequential damages arising from your access to, or use of, this web site.


Privacy Policy

We may request personal information to be submitted to our servers in order to be able to:

  • personalize online software applications according to your needs
  • enforce strict security rules with respect to the data that you upload (e.g. statistical data)
  • manage user sessions of online applications
  • alert you about important changes or upgrades in resources or applications

We NEVER allow other companies to directly offer registered users information about their products and services. Banner references and hyperlinks of third parties NEVER contain any personal data of the visitor.

We do NOT sell, nor transmit by any means, personal information, nor statistical data series uploaded by you to third parties.

We carefully protect your data from loss, misuse, alteration, and destruction. However, at any time, and under any circumstance you are solely responsible for managing your passwords, and keeping them secret.

We store a unique ANONYMOUS USER ID in the form of a small 'Cookie' on your computer. This allows us to track your progress when using this website which is necessary to create state-dependent features. The cookie is used for NO OTHER PURPOSE. At any time you may opt to disallow cookies from this website - this will not affect other features of this website.

We examine cookies that are used by third-parties (banner and online ads) very closely: abuse from third-parties automatically results in termination of the advertising contract without refund. We have very good reason to believe that the cookies that are produced by third parties (banner ads) do NOT cause any privacy or security risk.

FreeStatistics.org is safe. There is no need to download any software to use the applications and services contained in this website. Hence, your system's security is not compromised by their use, and your personal data - other than data you submit in the account application form, and the user-agent information that is transmitted by your browser - is never transmitted to our servers.

As a general rule, we do not log on-line behavior of individuals (other than normal logging of webserver 'hits'). However, in cases of abuse, hacking, unauthorized access, Denial of Service attacks, illegal copying, hotlinking, non-compliance with international webstandards (such as robots.txt), or any other harmful behavior, our system engineers are empowered to log, track, identify, publish, and ban misbehaving individuals - even if this leads to ban entire blocks of IP addresses, or disclosing user's identity.


FreeStatistics.org is powered by