Home » date » 2009 » Nov » 19 »

*The author of this computation has been verified*
R Software Module: /rwasp_multipleregression.wasp (opens new window with default values)
Title produced by software: Multiple Regression
Date of computation: Thu, 19 Nov 2009 03:25:48 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Nov/19/t1258626902efx5uwayxdsm7k0.htm/, Retrieved Thu, 19 Nov 2009 11:35:14 +0100
 
BibTeX entries for LaTeX users:
@Manual{KEY,
    author = {{YOUR NAME}},
    publisher = {Office for Research Development and Education},
    title = {Statistical Computations at FreeStatistics.org, URL http://www.freestatistics.org/blog/date/2009/Nov/19/t1258626902efx5uwayxdsm7k0.htm/},
    year = {2009},
}
@Manual{R,
    title = {R: A Language and Environment for Statistical Computing},
    author = {{R Development Core Team}},
    organization = {R Foundation for Statistical Computing},
    address = {Vienna, Austria},
    year = {2009},
    note = {{ISBN} 3-900051-07-0},
    url = {http://www.R-project.org},
}
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
8.9 426 8.6 8.4 8.4 8.4 8.8 428 8.9 8.6 8.4 8.4 8.3 430 8.8 8.9 8.6 8.4 7.5 424 8.3 8.8 8.9 8.6 7.2 423 7.5 8.3 8.8 8.9 7.4 427 7.2 7.5 8.3 8.8 8.8 441 7.4 7.2 7.5 8.3 9.3 449 8.8 7.4 7.2 7.5 9.3 452 9.3 8.8 7.4 7.2 8.7 462 9.3 9.3 8.8 7.4 8.2 455 8.7 9.3 9.3 8.8 8.3 461 8.2 8.7 9.3 9.3 8.5 461 8.3 8.2 8.7 9.3 8.6 463 8.5 8.3 8.2 8.7 8.5 462 8.6 8.5 8.3 8.2 8.2 456 8.5 8.6 8.5 8.3 8.1 455 8.2 8.5 8.6 8.5 7.9 456 8.1 8.2 8.5 8.6 8.6 472 7.9 8.1 8.2 8.5 8.7 472 8.6 7.9 8.1 8.2 8.7 471 8.7 8.6 7.9 8.1 8.5 465 8.7 8.7 8.6 7.9 8.4 459 8.5 8.7 8.7 8.6 8.5 465 8.4 8.5 8.7 8.7 8.7 468 8.5 8.4 8.5 8.7 8.7 467 8.7 8.5 8.4 8.5 8.6 463 8.7 8.7 8.5 8.4 8.5 460 8.6 8.7 8.7 8.5 8.3 462 8.5 8.6 8.7 8.7 8,00 461 8.3 8.5 8.6 8.7 8.2 476 8,00 8.3 8.5 8.6 8.1 476 8.2 8,00 8.3 8.5 8.1 471 8.1 8.2 8,00 8.3 8,00 453 8.1 8.1 8.2 8,00 7.9 443 8,00 8.1 8.1 8.2 7.9 442 7.9 8,00 8.1 8.1 8,00 444 7.9 7.9 8,00 8.1 8,00 438 8,00 7.9 7.9 8,00 7.9 427 8,00 8,00 7.9 7.9 8,00 424 7.9 8,00 8,00 7.9 7.7 41 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 time5 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
wgb[t] = + 0.451954428011678 + 0.00587256561771003nwwz[t] + 1.38809036116834Y1[t] -0.788796684232674Y2[t] -0.114052438796979Y3[t] + 0.167309468978011Y4[t] -0.0520241177582429M1[t] -0.28014740714743M2[t] -0.197063572681837M3[t] -0.202127216051015M4[t] -0.213586051913450M5[t] -0.158146680840925M6[t] + 0.337282596270055M7[t] -0.617032999128151M8[t] -0.235284837988997M9[t] -0.148948216253043M10[t] -0.118843550292108M11[t] -0.00344913911679573t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)0.4519544280116780.4935160.91580.364090.182045
nwwz0.005872565617710030.0021152.77690.0076580.003829
Y11.388090361168340.1449319.577600
Y2-0.7887966842326740.244577-3.22510.0021990.0011
Y3-0.1140524387969790.242952-0.46940.6407530.320377
Y40.1673094689780110.1390281.20340.234370.117185
M1-0.05202411775824290.103645-0.50190.6178660.308933
M2-0.280147407147430.110452-2.53640.0143050.007152
M3-0.1970635726818370.110807-1.77840.0812930.040647
M4-0.2021272160510150.105266-1.92020.0604390.03022
M5-0.2135860519134500.101665-2.10090.0406150.020307
M6-0.1581466808409250.099475-1.58980.1180570.059028
M70.3372825962700550.1088743.09790.0031670.001583
M8-0.6170329991281510.131268-4.70062e-051e-05
M9-0.2352848379889970.154413-1.52370.1337520.066876
M10-0.1489482162530430.135101-1.10250.2754230.137712
M11-0.1188435502921080.106089-1.12020.2678650.133932
t-0.003449139116795730.001895-1.82040.0745720.037286


Multiple Linear Regression - Regression Statistics
Multiple R0.979707023698603
R-squared0.959825852284375
Adjusted R-squared0.9464344697125
F-TEST (value)71.6748884689645
F-TEST (DF numerator)17
F-TEST (DF denominator)51
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.162688886495414
Sum Squared Residuals1.349851363245


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
18.98.657238136295040.242761863704964
28.88.696078610528450.103921389471551
38.38.38919990796663-0.0891999079666332
47.57.72953238177001-0.229532381770010
57.27.054275978927830.145724021072168
67.47.384661984890730.0153380151092726
78.88.48070233558490.319297664415100
89.39.25585345125740.0441465487425966
99.39.168496664338520.131503335661480
108.78.78949994049827-0.089499940498275
118.28.119400328488160.0805996715118354
128.38.132917697814180.167082302185824
138.58.6790832824505-0.179083282450499
148.68.61463492700202-0.0146349270020170
158.58.5743867776347-0.0743867776347
168.28.30687035604077-0.106870356040772
178.17.97059902543250.129400974567501
187.98.1544279829364-0.254427982936405
198.68.559115551744840.040884448255156
208.78.69198581008050.00801418991949257
218.78.657143164500710.0428568354992862
228.58.51261698403686-0.0126169840368568
238.48.332130429345980.0678695706540217
248.58.51844148185505-0.0184414818550525
258.78.72108511413264-0.0210851141326407
268.78.660321873903440.0396781260965566
278.68.530570779157370.0694292208426325
288.58.359551722839840.140448277160165
298.38.32992140519806-0.0299214051980597
3088.18870591160538-0.188705911605377
318.28.50478105934314-0.304781059343141
328.18.06735294319320.0326470568067971
338.18.12047460200714-0.0204746020071360
3488.10353224347798-0.103532243477981
357.97.97752021570349-0.0775202157034859
367.98.01038174666972-0.110381746669721
3788.05693853333307-0.056938533333067
3887.923614044219550.076385955780446
397.97.843039902452470.0569600975475273
4087.666695143116840.333304856883162
417.77.83922629463383-0.139226294633828
427.27.34858933751839-0.148589337518386
437.57.50184124986346-0.00184124986345491
447.37.42346634120532-0.123466341205316
4577.20038061454593-0.200380614545931
4676.871494465826760.128505534173237
4777.16081180145182-0.160811801451823
487.27.30632287855918-0.106322878559176
497.37.49589255007753-0.195892550077533
507.17.21013442713559-0.110134427135588
516.86.86348036912637-0.0634803691263744
526.46.61248389943463-0.212483899434628
536.16.24804943250254-0.148049432502541
546.56.229247895732880.270752104267123
557.77.643600327496920.0563996725030805
567.98.00331729673874-0.103317296738745
577.57.54639376629085-0.0463937662908484
586.96.822856366160130.0771436338398752
596.66.510137225010550.0898627749894512
606.96.831936195101880.0680638048981248
617.77.489762383711230.210237616288775
6288.09521611721095-0.0952161172109485
6387.899322263662450.100677736337548
647.77.624866496797920.075133503202083
657.37.257927863305240.0420721366947602
667.47.094366887316230.305633112683773
678.18.20995947596674-0.109959475966741
688.38.158024157524830.141975842475174
698.28.107111188316850.0928888116831484


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
210.2006249486334560.4012498972669130.799375051366544
220.1159187176999650.2318374353999300.884081282300035
230.1671135128308560.3342270256617130.832886487169144
240.2486981892508660.4973963785017320.751301810749134
250.1545837262751440.3091674525502880.845416273724856
260.09396956551728870.1879391310345770.906030434482711
270.1308289406763270.2616578813526550.869171059323673
280.2681234443887730.5362468887775460.731876555611227
290.2282852415516810.4565704831033620.771714758448319
300.2209272216714970.4418544433429950.779072778328503
310.5012784390849220.9974431218301560.498721560915078
320.422663893384620.845327786769240.57733610661538
330.3610981050205220.7221962100410440.638901894979478
340.3575025006399590.7150050012799180.64249749936004
350.3563083814845500.7126167629690990.64369161851545
360.3094162394285170.6188324788570350.690583760571483
370.2348319691007770.4696639382015540.765168030899223
380.1973187148148740.3946374296297470.802681285185126
390.154025007671870.308050015343740.84597499232813
400.7274194753537330.5451610492925340.272580524646267
410.824207223796090.3515855524078210.175792776203911
420.7462167008873570.5075665982252860.253783299112643
430.8357759050164140.3284481899671720.164224094983586
440.7854064277183630.4291871445632730.214593572281637
450.7204169232133010.5591661535733990.279583076786699
460.6995138379130650.600972324173870.300486162086935
470.594349225790390.811301548419220.40565077420961
480.6735109254103280.6529781491793450.326489074589672


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level00OK
10% type I error level00OK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258626902efx5uwayxdsm7k0/10mzfu1258626342.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258626902efx5uwayxdsm7k0/10mzfu1258626342.ps (open in new window)


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


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258626902efx5uwayxdsm7k0/24z4a1258626342.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258626902efx5uwayxdsm7k0/24z4a1258626342.ps (open in new window)


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


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


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


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258626902efx5uwayxdsm7k0/6bvv01258626342.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258626902efx5uwayxdsm7k0/6bvv01258626342.ps (open in new window)


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


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


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