Home » date » 2010 » Dec » 05 »

*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: Sun, 05 Dec 2010 21:30:44 +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/05/t1291584605kfxyc501sssbvd6.htm/, Retrieved Sun, 05 Dec 2010 22:30:15 +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/05/t1291584605kfxyc501sssbvd6.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 «
2293,41 10430,35 9374,63 21467 -18,2 -11 -0,8 3,52 2443,27 2513,17 2466,92 2502,66 2070,83 9691,12 8679,75 21383 -22,8 -17 -1,7 3,54 2293,41 2443,27 2513,17 2466,92 2029,6 9810,31 8593 21777 -23,6 -18 -1,1 3,5 2070,83 2293,41 2443,27 2513,17 2052,02 9304,43 8398,37 21928 -27,6 -19 -0,4 3,44 2029,6 2070,83 2293,41 2443,27 1864,44 8767,96 7992,12 21814 -29,4 -22 0,6 3,38 2052,02 2029,6 2070,83 2293,41 1670,07 7764,58 7235,47 22937 -31,8 -24 0,6 3,35 1864,44 2052,02 2029,6 2070,83 1810,99 7694,78 7690,5 23595 -31,4 -24 1,9 3,68 1670,07 1864,44 2052,02 2029,6 1905,41 8331,49 8396,2 20830 -27,6 -20 2,3 3,92 1810,99 1670,07 1864,44 2052,02 1862,83 8460,94 8595,56 19650 -28,8 -25 2,6 4,05 1905,41 1810,99 1670,07 1864,44 2014,45 8531,45 8614,55 19195 -21,9 -22 3,1 4,14 1862,83 1905,41 1810,99 1670,07 2197,82 9117,03 9181,73 19644 -13,9 -17 4,7 4,53 2014,45 1862,83 1905,41 1810,99 2962,34 12123,53 11114,08 18483 -8 -9 5,5 4,54 2197,82 2014,45 1862,83 1905,41 3047,03 12989,35 11530,75 18079 -2,8 -11 5,4 4,9 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


Multiple Linear Regression - Estimated Regression Equation
BEL_20[t] = -437.150130487514 + 0.0822460593228443Nikkei[t] + 0.157632205011041DJ_Indust[t] -0.0356323334275397Goudprijs[t] -4.97051484989923Conjunct_Seizoenzuiver[t] -0.505827584503886Cons_vertrouw[t] + 55.8217095027264Alg_consumptie_index_BE[t] -32.8367316002704Gem_rente_kasbon_5j[t] + 0.273525857881991Y1[t] -0.0033510421496098Y2[t] + 0.118967771142002Y3[t] + 0.141804980701454Y4[t] -53.7213924732792M1[t] -40.1662586828167M2[t] -26.8055842768575M3[t] + 53.3258062955028M4[t] + 59.9822935133613M5[t] + 49.9516938387192M6[t] + 76.3109196672503M7[t] -6.06146549961345M8[t] -77.0522153153102M9[t] -18.0618843132753M10[t] + 17.6333117110356M11[t] -9.75190391682969t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)-437.150130487514557.507462-0.78410.4371740.218587
Nikkei0.08224605932284430.0124056.630300
DJ_Indust0.1576322050110410.0243636.470100
Goudprijs-0.03563233342753970.015009-2.3740.0220260.011013
Conjunct_Seizoenzuiver-4.970514849899235.318399-0.93460.3551010.177551
Cons_vertrouw-0.5058275845038865.08118-0.09950.9211540.460577
Alg_consumptie_index_BE55.821709502726411.9570794.66852.9e-051.4e-05
Gem_rente_kasbon_5j-32.836731600270444.625418-0.73580.4657390.232869
Y10.2735258578819910.1059412.58190.0132330.006617
Y2-0.00335104214960980.109178-0.03070.9756530.487826
Y30.1189677711420020.1084081.09740.2784320.139216
Y40.1418049807014540.0788591.79820.0790080.039504
M1-53.721392473279250.379829-1.06630.2920920.146046
M2-40.166258682816751.427424-0.7810.4389680.219484
M3-26.805584276857550.167432-0.53430.5958080.297904
M453.325806295502851.5796881.03390.3068540.153427
M559.982293513361356.4111561.06330.2934440.146722
M649.951693838719259.756320.83590.4077150.203857
M776.310919667250361.0560071.24990.2179610.108981
M8-6.0614654996134555.750862-0.10870.9139160.456958
M9-77.052215315310254.904333-1.40340.1675190.083759
M10-18.061884313275353.197752-0.33950.7358310.367915
M1117.633311711035652.0601990.33870.7364390.36822
t-9.751903916829693.70872-2.62950.0117380.005869


Multiple Linear Regression - Regression Statistics
Multiple R0.99701564320794
R-squared0.99404019280134
Adjusted R-squared0.990924839038406
F-TEST (value)319.077789696899
F-TEST (DF numerator)23
F-TEST (DF denominator)44
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation81.0167551044207
Sum Squared Residuals288803.442736586


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
12293.412314.09027639276-20.6802763927601
22070.832085.23326404422-14.4032640442217
32029.62048.08337850274-18.4833785027381
42052.022063.95680329801-11.93680329801
51864.441983.55904105403-119.119041054026
61670.071648.0398562600322.0301437399714
71810.991711.2156106319399.7743893680729
81905.411894.8191595443710.5908404556259
91862.831894.79700019651-31.9670001965138
102014.451935.4214256787979.0285743212066
112197.822189.979207470767.84079252923915
122962.342824.76477178693137.575228213071
133047.033090.84076132081-43.8107613208125
143032.63132.07592685282-99.4759268528232
153504.373466.4106394771937.9593605228114
163801.063868.33603465777-67.2760346577655
173857.623836.6333060038720.9866939961319
183674.43683.21063167134-8.8106316713421
193720.983809.57240307486-88.5924030748574
203844.493829.9349568436714.5550431563330
214116.684101.4354185569815.2445814430163
224105.184152.54896983023-47.3689698302346
234435.234395.9370987921839.2929012078197
244296.494370.98878675174-74.4987867517418
254202.524275.23017188377-72.7101718837678
264562.844490.7866070937372.053392906266
274621.44583.932821380537.4671786194967
284696.964605.5507273855191.4092726144865
294591.274560.7130151158330.5569848841681
304356.984485.4887378022-128.508737802202
314502.644541.83228975478-39.1922897547817
324443.914458.58791416613-14.6779141661265
334290.894263.4048747939527.4851252060536
344199.754153.2528770442646.4971229557413
354138.524168.38511977971-29.8651197797128
363970.13984.96386458212-14.8638645821219
373862.273776.8157844394785.454215560534
383701.613631.6569183656169.9530816343925
393570.123602.64067283117-32.5206728311659
403801.063724.1253369150576.9346630849504
413895.513835.7476351209159.7623648790891
423917.963754.89279280640163.067207193605
433813.063792.5107069723620.5492930276419
443667.033721.84149336537-54.8114933653671
453494.173622.83850288249-128.668502882494
463363.993511.43696877591-147.446968775907
473295.323351.18397292840-55.8639729283959
483277.013337.38421243919-60.3742124391898
493257.163197.3454899767859.8145100232234
503161.693137.4608956349124.2291043650907
513097.313050.1637403940047.1462596059962
523061.263054.433187882696.82681211730801
533119.313047.7230614501471.5869385498575
543106.223124.00432994056-17.7843299405627
553080.583080.90717831594-0.327178315941167
562981.852914.3894210237567.4605789762528
572921.442803.53420357006117.905796429938
582849.272779.9797586708169.2902413291934
592756.762718.1646010289538.59539897105
602645.642633.4783644400212.1616355599831
612497.842505.90751598642-8.06751598641694
622448.052500.40638800870-52.3563880087043
632454.622526.1887474144-71.5687474144003
642407.62503.55790986097-95.9579098609695
652472.812536.58394125522-63.7739412552211
662408.642438.63365151947-29.9936515194696
672440.252432.461811250137.78818874986562
682350.442373.55705505672-23.1170550567181


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
270.5790317058104660.8419365883790670.420968294189534
280.6408511578877560.7182976842244870.359148842112243
290.5475410796111320.9049178407777370.452458920388868
300.7867524717141850.4264950565716290.213247528285815
310.7887203226387370.4225593547225250.211279677361263
320.8983987220196140.2032025559607730.101601277980386
330.8293635017489930.3412729965020130.170636498251007
340.9411475043218990.1177049913562030.0588524956781013
350.920130784465360.1597384310692810.0798692155346404
360.8630241214487240.2739517571025520.136975878551276
370.7714303705080410.4571392589839180.228569629491959
380.7271687682198350.5456624635603290.272831231780165
390.9997654635895320.0004690728209350740.000234536410467537
400.9991797733457390.001640453308522540.000820226654261268
410.9950382380065830.009923523986833060.00496176199341653


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


http://www.freestatistics.org/blog/date/2010/Dec/05/t1291584605kfxyc501sssbvd6/1ceao1291584636.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/05/t1291584605kfxyc501sssbvd6/1ceao1291584636.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/05/t1291584605kfxyc501sssbvd6/255991291584636.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/05/t1291584605kfxyc501sssbvd6/255991291584636.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/05/t1291584605kfxyc501sssbvd6/355991291584636.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/05/t1291584605kfxyc501sssbvd6/355991291584636.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/05/t1291584605kfxyc501sssbvd6/455991291584636.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/05/t1291584605kfxyc501sssbvd6/455991291584636.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/05/t1291584605kfxyc501sssbvd6/5fw8c1291584636.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/05/t1291584605kfxyc501sssbvd6/5fw8c1291584636.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/05/t1291584605kfxyc501sssbvd6/6fw8c1291584636.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/05/t1291584605kfxyc501sssbvd6/6fw8c1291584636.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/05/t1291584605kfxyc501sssbvd6/78nqf1291584636.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/05/t1291584605kfxyc501sssbvd6/78nqf1291584636.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/05/t1291584605kfxyc501sssbvd6/88nqf1291584636.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/05/t1291584605kfxyc501sssbvd6/88nqf1291584636.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/05/t1291584605kfxyc501sssbvd6/9jx701291584636.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/05/t1291584605kfxyc501sssbvd6/9jx701291584636.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