Home » date » 2010 » Dec » 03 »

*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: Fri, 03 Dec 2010 22:32:37 +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/Dec/03/t1291415460qe6g7xsrj7e3rif.htm/, Retrieved Fri, 03 Dec 2010 23:31:10 +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/Dec/03/t1291415460qe6g7xsrj7e3rif.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 «
12 1221.53 2617.2 10168.52 6957.61 23448.78 11 1180.55 2506.13 9937.04 6688.49 23007.99 10 1183.26 2679.07 9202.45 6601.37 23096.32 9 1141.2 2589.73 9369.35 6229.02 22358.17 8 1049.33 2457.46 8824.06 5925.22 20536.49 7 1101.6 2517.3 9537.3 6147.97 21029.81 6 1030.71 2386.53 9382.64 5965.52 20128.99 5 1089.41 2453.37 9768.7 5964.33 19765.19 4 1186.69 2529.66 11057.4 6135.7 21108.59 3 1169.43 2475.14 11089.94 6153.55 21239.35 2 1104.49 2525.93 10126.03 5598.46 20608.7 1 1073.87 2480.93 10198.04 5608.79 20121.99 12 1115.1 2229.85 10546.44 5957.43 21872.5 11 1095.63 2169.14 9345.55 5625.95 21821.5 10 1036.19 2030.98 10034.74 5414.96 21752.87 9 1057.08 2071.37 10133.23 5675.16 20955.25 8 1020.62 1953.35 10492.53 5458.04 19724.19 7 987.48 1748.74 10356.83 5332.14 20573.33 6 919.32 1696.58 9958.44 4808.64 18378.73 5 919.14 1900.09 9522.5 4940.82 18171 4 872.81 1908.64 8828.26 4769.45 15520.99 3 797.87 1881.46 8109.53 4084.76 13576.02 2 735.09 2100.18 7568.42 3843.74 12811.57 1 825.88 2672.2 79 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 time7 seconds
R Server'George Udny Yule' @ 72.249.76.132
R Framework
error message
Warning: there are blank lines in the 'Data X' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.


Multiple Linear Regression - Estimated Regression Equation
S&P[t] = + 3228.51499047869 -0.0358664385477845month[t] -0.143337992426391Bel20[t] -0.134850414826532Nikkei225[t] + 0.00307994776017903DAX[t] -0.047311126005587HangSeng[t] + 37.6855360142645t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)3228.514990478691240.6657842.60220.0114590.005729
month-0.03586643854778450.156162-0.22970.8190660.409533
Bel20-0.1433379924263910.132368-1.08290.2828660.141433
Nikkei225-0.1348504148265320.11438-1.1790.2427070.121353
DAX0.003079947760179030.1215810.02530.9798670.489934
HangSeng-0.0473111260055870.073961-0.63970.5246320.262316
t37.685536014264522.6326311.66510.1007070.050353


Multiple Linear Regression - Regression Statistics
Multiple R0.489007957167126
R-squared0.239128782172766
Adjusted R-squared0.168894515911791
F-TEST (value)3.40473097966475
F-TEST (DF numerator)6
F-TEST (DF denominator)65
p-value0.0055410281396141
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1776.52131573894
Sum Squared Residuals205141819.042863


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
11221.53431.437685358542790.092314641458
21180.55536.320208344990644.22979165501
31183.26643.865187806063539.394812193937
41141.2705.661761380223435.538238619777
51049.33921.12510668435128.204893315649
61101.6831.434987481996270.165012518003
71030.71950.81353642098679.8964635790141
81089.41944.101998815085145.308001184915
91186.69734.076460210492452.613539789508
101169.43769.093191742964400.336808257036
111104.49957.64523432911146.844765670891
121073.871015.1648820679958.7051179320082
131115.1959.718499674154155.381500325846
141095.631169.47439265095-73.8443926509476
151036.191136.65893914294-100.468939142935
161057.081193.84720545716-136.767205457156
171020.621257.60772025170-236.987720251705
18987.481302.39517566745-314.915175667451
19919.321503.53278904737-584.212789047373
20919.141581.10521420105-661.96521420105
21872.811836.06677518619-963.256775186193
22797.872064.51505423660-1266.64505423660
23735.092179.27914021851-1444.18914021851
24825.882057.05807130337-1231.17807130337
25903.251860.12699367616-956.876993676163
26896.241988.16619628181-1091.92619628181
27968.751989.41937368322-1020.66937368322
281166.361392.86288640964-226.502886409641
291282.831009.41979689359273.410203106413
301267.38966.33586865462301.04413134538
3112801014.14079497181265.859205028189
321400.38828.345979021076572.034020978925
331385.59815.581446178638570.008553821362
341322.71163.10294313434159.597056865660
351330.63946.007749270379384.622250729622
361378.551043.61537864604334.934621353959
371468.36643.54884054745824.81115945255
381481.14586.244194765567894.895805234433
391549.38317.1865155706511232.19348442935
401526.75538.746774195778988.003225804222
411473.99766.324436735117707.665563264883
421455.27770.532269611176684.737730388824
431503.35780.279199837335723.070800162665
441530.62888.487258159224642.132741840776
451482.371010.23016828862472.139831711376
461420.861121.73278069811299.127219301894
471406.821122.64159514045284.178404859553
481438.241179.37875580835258.861244191652
491418.31267.65069027816150.649309721841
501400.631496.08930721538-95.4593072153769
511377.941560.18997859837-182.249978598374
521335.851674.65899322706-338.80899322706
531303.821683.56908945558-379.749089455585
541276.661832.71423432557-556.054234325567
551270.21907.67880852277-637.47880852277
561270.091983.48114117953-713.39114117953
571310.611818.13786279297-507.527862792975
581294.871897.79033413742-602.920334137421
591280.662063.41873666159-782.758736661586
601280.082039.40993597971-759.329935979712
611248.292204.98695434495-956.696954344946
621249.482405.71411073895-1156.23411073895
631207.012655.86203696329-1448.85203696329
641228.812657.7412324134-1428.9312324134
651220.332877.87432236572-1657.54432236572
661234.182973.83028815660-1739.65028815660
671191.333088.09430769680-1896.76430769680
681191.53615.59113603547-2424.09113603547
6911008.93256.002145085837752.89785491417
704348.772958.472708629901390.29729137010
7114195.355422.484815568628772.86518443138
72124623.84941576698-4611.84941576698


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
104.87468363857662e-079.74936727715325e-070.999999512531636
113.12091892860340e-096.24183785720681e-090.999999996879081
122.99971876783194e-115.99943753566387e-110.999999999970003
131.62094173540876e-133.24188347081751e-130.999999999999838
145.75651669508389e-141.15130333901678e-130.999999999999942
156.95481730455344e-161.39096346091069e-151
166.27756798343442e-181.25551359668688e-171
175.40960239270589e-201.08192047854118e-191
184.28573071765793e-228.57146143531587e-221
198.1715484372114e-241.63430968744228e-231
207.23659460762464e-261.44731892152493e-251
218.71493621517294e-281.74298724303459e-271
221.24851151672813e-292.49702303345627e-291
231.11317502942603e-302.22635005885206e-301
241.04128761791383e-312.08257523582766e-311
252.51048493904311e-335.02096987808621e-331
264.02852875411891e-358.05705750823781e-351
272.46562233873463e-364.93124467746927e-361
286.47323413989503e-381.29464682797901e-371
293.43385083210430e-396.86770166420861e-391
303.57357031749248e-407.14714063498496e-401
318.10852722717705e-421.62170544543541e-411
321.35567544327289e-432.71135088654577e-431
332.50852148748147e-455.01704297496294e-451
342.29544544152612e-464.59089088305224e-461
351.34532349848433e-462.69064699696866e-461
361.4274517182839e-452.8549034365678e-451
371.72360626794935e-453.44721253589870e-451
381.22997231242873e-462.45994462485747e-461
391.02329088226278e-462.04658176452555e-461
404.66330295234030e-489.32660590468059e-481
419.51267085054787e-501.90253417010957e-491
422.09668822335721e-514.19337644671442e-511
436.36821614616219e-531.27364322923244e-521
445.32825222291956e-541.06565044458391e-531
452.23656191293479e-554.47312382586958e-551
466.63685763042185e-571.32737152608437e-561
471.25593080939809e-582.51186161879618e-581
481.21723645619164e-592.43447291238329e-591
495.08365303499555e-601.01673060699911e-591
501.48883566250658e-592.97767132501317e-591
512.70242693629776e-605.40485387259551e-601
523.1506289605069e-616.3012579210138e-611
539.07602962651386e-631.81520592530277e-621
542.74776642812588e-635.49553285625175e-631
553.28756691686456e-626.57513383372912e-621
561.99551809903069e-523.99103619806137e-521
575.62934474285537e-531.12586894857107e-521
582.34938268061243e-544.69876536122485e-541
592.16774599118958e-544.33549198237915e-541
602.09672681768252e-524.19345363536504e-521
614.53481723576286e-499.06963447152572e-491
627.50166439480947e-461.50033287896189e-451


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level531NOK
5% type I error level531NOK
10% type I error level531NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/03/t1291415460qe6g7xsrj7e3rif/10w4wx1291415549.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/03/t1291415460qe6g7xsrj7e3rif/10w4wx1291415549.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/03/t1291415460qe6g7xsrj7e3rif/17lhk1291415549.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/03/t1291415460qe6g7xsrj7e3rif/17lhk1291415549.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/03/t1291415460qe6g7xsrj7e3rif/27lhk1291415549.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/03/t1291415460qe6g7xsrj7e3rif/27lhk1291415549.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/03/t1291415460qe6g7xsrj7e3rif/30cgn1291415549.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/03/t1291415460qe6g7xsrj7e3rif/30cgn1291415549.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/03/t1291415460qe6g7xsrj7e3rif/40cgn1291415549.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/03/t1291415460qe6g7xsrj7e3rif/40cgn1291415549.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/03/t1291415460qe6g7xsrj7e3rif/50cgn1291415549.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/03/t1291415460qe6g7xsrj7e3rif/50cgn1291415549.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/03/t1291415460qe6g7xsrj7e3rif/6t4yr1291415549.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/03/t1291415460qe6g7xsrj7e3rif/6t4yr1291415549.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/03/t1291415460qe6g7xsrj7e3rif/7t4yr1291415549.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/03/t1291415460qe6g7xsrj7e3rif/7t4yr1291415549.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/03/t1291415460qe6g7xsrj7e3rif/8mdxb1291415549.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/03/t1291415460qe6g7xsrj7e3rif/8mdxb1291415549.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/03/t1291415460qe6g7xsrj7e3rif/9mdxb1291415549.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/03/t1291415460qe6g7xsrj7e3rif/9mdxb1291415549.ps (open in new window)


 
Parameters (Session):
 
Parameters (R input):
par1 = 2 ; par2 = Do not include Seasonal 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