Home » date » 2010 » Nov » 29 »

WS 8 multiple regression

*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: Mon, 29 Nov 2010 11:11:13 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Nov/29/t12910290671dmrmxzd0xw9jel.htm/, Retrieved Mon, 29 Nov 2010 12:11:27 +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/2010/Nov/29/t12910290671dmrmxzd0xw9jel.htm/},
    year = {2010},
}
@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 = {2010},
    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 «
37 1 30 1 47 1 35 1 30 1 43 1 82 1 40 1 47 1 19 0 52 1 136 1 80 1 42 1 54 1 66 1 81 1 63 1 137 1 72 1 107 1 58 1 36 1 52 1 79 1 77 1 54 1 84 1 48 1 96 1 83 1 66 1 61 1 53 1 30 1 74 1 69 1 59 1 42 1 65 1 70 1 100 1 63 1 105 1 82 1 81 1 75 1 102 1 121 1 98 1 76 1 77 1 63 1 37 1 35 1 23 0 40 1 29 0 37 1 51 1 20 0 28 0 13 0 22 0 25 0 13 0 16 0 13 0 16 0 17 0 9 0 17 0 25 0 14 0 8 0 7 0 10 0 7 0 10 0 3 0
 
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 time9 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
Sol.KIA[t] = + 18.434748427673 + 56.6415094339623dummy[t] -2.92791629230297M1[t] -14.9365828092243M2[t] -22.8023921832884M3[t] -14.0967729859239M4[t] -18.3911537885594M5[t] -13.9712488769092M6[t] -4.55134396525905M7[t] -11.4683662773285M8[t] -12.7120956873315M9[t] -9.98311620245583M10[t] -32.0151430068883M11[t] + 0.151523659778377t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)18.43474842767315.660211.17720.2433550.121677
dummy56.64150943396238.3196856.808100
M1-2.9279162923029712.541119-0.23350.8161230.408061
M2-14.936582809224312.522574-1.19280.2372290.118614
M3-22.802392183288412.506057-1.82330.0727860.036393
M4-14.096772985923912.491574-1.12850.2631930.131597
M5-18.391153788559412.479134-1.47380.1453020.072651
M6-13.971248876909212.468742-1.12050.2665610.13328
M7-4.5513439652590512.460404-0.36530.7160820.358041
M8-11.468366277328512.582191-0.91150.3653620.182681
M9-12.712095687331512.907499-0.98490.3282890.164144
M10-9.9831162024558313.246653-0.75360.453750.226875
M11-32.015143006888312.899535-2.48190.0156220.007811
t0.1515236597783770.1602870.94530.3479410.173971


Multiple Linear Regression - Regression Statistics
Multiple R0.768582483195594
R-squared0.590719033475105
Adjusted R-squared0.510103085523232
F-TEST (value)7.32757039373595
F-TEST (DF numerator)13
F-TEST (DF denominator)66
p-value1.27160473262222e-08
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation22.3409242967196
Sum Squared Residuals32941.7152964959


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
13772.29986522911-35.29986522911
23060.4427223719676-30.4427223719676
34752.728436657682-5.72843665768199
43561.5855795148248-26.5855795148248
53057.4427223719677-27.4427223719677
64362.0141509433963-19.0141509433963
78271.585579514824810.4144204851752
84064.8200808625337-24.8200808625337
94763.7278751123091-16.7278751123091
10199.966868823000899.03313117699911
115244.72787511230917.27212488769092
1213676.894541778975759.1054582210243
138074.11814914645115.88185085354886
144262.2610062893082-20.2610062893082
155454.5467205750225-0.546720575022459
166663.40386343216532.59613656783467
178159.261006289308221.7389937106918
186363.8324348607368-0.832434860736757
1913773.403863432165363.5961365678347
207266.63836477987425.36163522012578
2110765.546159029649641.4538409703504
225868.4266621743037-10.4266621743037
233646.5461590296496-10.5461590296496
245278.7128256963163-26.7128256963163
257975.93643306379163.06356693620836
267764.079290206648712.9207097933513
275456.365004492363-2.36500449236298
288465.222147349505818.7778526504942
294861.0792902066487-13.0792902066487
309665.650718778077330.3492812219227
318375.22214734950587.77785265049416
326668.4566486972147-2.45664869721474
336167.3644429469901-6.36444294699012
345370.2449460916442-17.2449460916442
353048.3644429469901-18.3644429469901
367480.5311096136568-6.53110961365679
376977.7547169811322-8.75471698113216
385965.8975741239892-6.89757412398922
394258.1832884097035-16.1832884097035
406567.0404312668464-2.04043126684637
417062.89757412398927.10242587601078
4210067.469002695417832.5309973045822
436377.0404312668464-14.0404312668464
4410570.274932614555334.7250673854447
458269.182726864330612.8172731356694
468172.06323000898478.93676999101528
477550.182726864330624.8172731356694
4810282.349393530997319.6506064690027
4912179.573000898472741.4269991015273
509867.715858041329730.2841419586703
517660.00157232704415.9984276729560
527768.85871518418698.14128481581311
536364.7158580413297-1.71585804132975
543769.2872866127583-32.2872866127583
553578.8587151841869-43.8587151841869
562315.45170709793357.5482929020665
574071.0010107816712-31.0010107816712
582917.240004492363011.7599955076370
593752.0010107816712-15.0010107816712
605184.1676774483378-33.1676774483378
612024.7497753818509-4.74977538185092
622812.892632524708015.1073674752920
63135.178346810422257.82165318957775
642214.03548966756517.96451033243488
65259.8926325247079715.1073674752920
661314.4640610961365-1.46406109613655
671624.0354896675651-8.03548966756511
681317.2699910152740-4.26999101527402
691616.1777852650494-0.177785265049395
701719.0582884097035-2.05828840970348
719-2.8222147349505911.8222147349506
721729.3444519317161-12.3444519317161
732526.5680592991914-1.56805929919144
741414.7109164420485-0.71091644204849
7586.996630727762771.00336927223723
76715.8537735849056-8.85377358490564
771011.7109164420485-1.71091644204850
78716.2823450134771-9.28234501347707
791025.8537735849056-15.8537735849056
80319.0882749326145-16.0882749326145


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.3819365519759110.7638731039518230.618063448024089
180.240373075162210.480746150324420.75962692483779
190.335217211220360.670434422440720.66478278877964
200.216690573794430.433381147588860.78330942620557
210.286116522649280.572233045298560.71388347735072
220.1965769706048900.3931539412097790.80342302939511
230.4573856430003750.914771286000750.542614356999625
240.98677009547710.02645980904580030.0132299045229002
250.9781523658058610.04369526838827730.0218476341941386
260.9659368075937170.06812638481256570.0340631924062828
270.9585588869017150.08288222619657020.0414411130982851
280.9375846925369430.1248306149261140.0624153074630569
290.9476030576696150.1047938846607690.0523969423303847
300.9396318075338930.1207363849322140.0603681924661068
310.9621352883389560.0757294233220880.037864711661044
320.9469666472604920.1060667054790170.0530333527395084
330.9431831957355760.1136336085288470.0568168042644236
340.93931914560550.1213617087889990.0606808543944997
350.9572181881879750.08556362362405090.0427818118120254
360.9539893026474780.09202139470504310.0460106973525216
370.9561245005165950.0877509989668090.0438754994834045
380.963627199814210.07274560037157910.0363728001857895
390.9819440305237720.03611193895245520.0180559694762276
400.980782226687580.03843554662483880.0192177733124194
410.9760150637073270.04796987258534650.0239849362926732
420.9788016994478910.04239660110421710.0211983005521086
430.9838572911820530.03228541763589310.0161427088179465
440.989545806431830.02090838713634130.0104541935681707
450.9849869968985840.03002600620283250.0150130031014162
460.9763878018020370.04722439639592640.0236121981979632
470.9701928479736340.05961430405273260.0298071520263663
480.9787282712694040.04254345746119140.0212717287305957
490.9988870481909120.002225903618175290.00111295180908764
500.9998586282207360.0002827435585289880.000141371779264494
510.9999716070037845.67859924319369e-052.83929962159684e-05
520.999999521226149.57547721325763e-074.78773860662881e-07
530.9999998792559442.41488111227182e-071.20744055613591e-07
540.9999997163852175.67229566311273e-072.83614783155637e-07
550.9999998390977843.21804431011546e-071.60902215505773e-07
560.9999990915862651.81682746963561e-069.08413734817806e-07
570.9999971730113455.65397731053823e-062.82698865526911e-06
580.9999852436619432.95126761134503e-051.47563380567252e-05
590.999932571690730.0001348566185395566.74283092697778e-05
600.9996907186279750.0006185627440508090.000309281372025405
610.9998501437391660.0002997125216685230.000149856260834261
620.99914573259250.001708534814999080.00085426740749954
630.9956577558634150.008684488273169340.00434224413658467


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level150.319148936170213NOK
5% type I error level260.553191489361702NOK
10% type I error level340.723404255319149NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Nov/29/t12910290671dmrmxzd0xw9jel/10czy31291029063.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t12910290671dmrmxzd0xw9jel/10czy31291029063.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/29/t12910290671dmrmxzd0xw9jel/15gir1291029063.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t12910290671dmrmxzd0xw9jel/15gir1291029063.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/29/t12910290671dmrmxzd0xw9jel/25gir1291029063.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t12910290671dmrmxzd0xw9jel/25gir1291029063.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/29/t12910290671dmrmxzd0xw9jel/3g70u1291029063.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t12910290671dmrmxzd0xw9jel/3g70u1291029063.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/29/t12910290671dmrmxzd0xw9jel/4g70u1291029063.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t12910290671dmrmxzd0xw9jel/4g70u1291029063.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/29/t12910290671dmrmxzd0xw9jel/5g70u1291029063.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t12910290671dmrmxzd0xw9jel/5g70u1291029063.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/29/t12910290671dmrmxzd0xw9jel/69gzf1291029063.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t12910290671dmrmxzd0xw9jel/69gzf1291029063.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/29/t12910290671dmrmxzd0xw9jel/71qyi1291029063.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t12910290671dmrmxzd0xw9jel/71qyi1291029063.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/29/t12910290671dmrmxzd0xw9jel/81qyi1291029063.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t12910290671dmrmxzd0xw9jel/81qyi1291029063.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/29/t12910290671dmrmxzd0xw9jel/91qyi1291029063.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t12910290671dmrmxzd0xw9jel/91qyi1291029063.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