Home » date » 2009 » Nov » 23 »

mutiple 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, 23 Nov 2009 06:24:59 -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/23/t12589835368m5a9uyv6bxze8s.htm/, Retrieved Mon, 23 Nov 2009 14:39:09 +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/23/t12589835368m5a9uyv6bxze8s.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 «
7.0 519 6.9 517 6.7 510 6.7 509 6.5 501 6.4 507 6.5 569 6.5 580 6.5 578 6.7 565 6.8 547 7.2 555 7.6 562 7.6 561 7.2 555 6.4 544 6.1 537 6.3 543 7.1 594 7.5 611 7.4 613 7.1 611 6.8 594 6.9 595 7.2 591 7.4 589 7.3 584 6.9 573 6.9 567 6.8 569 7.1 621 7.2 629 7.1 628 7.0 612 6.9 595 7.1 597 7.3 593 7.5 590 7.5 580 7.5 574 7.3 573 7.0 573 6.7 620 6.5 626 6.5 620 6.5 588 6.6 566 6.8 557 6.9 561 6.9 549 6.8 532 6.8 526 6.5 511 6.1 499 6.1 555 5.9 565 5.7 542 5.9 527 5.9 510 6.1 514 6.3 517 6.2 508 5.9 493 5.7 490 5.4 469 5.6 478 6.2 528 6.3 534 6.0 518 5.6 506 5.5 502 5.9 516
 
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 time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
wzo[t] = + 1.49104668013750 + 0.0092863652921957werklbr[t] + e[t]


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


Multiple Linear Regression - Regression Statistics
Multiple R0.672138091618934
R-squared0.451769614205143
Adjusted R-squared0.443937751550931
F-TEST (value)57.6835465777947
F-TEST (DF numerator)1
F-TEST (DF denominator)70
p-value1.01636032923125e-10
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.421437113764678
Sum Squared Residuals12.4326468600812


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
176.310670266787070.689329733212931
26.96.292097536202670.607902463797328
36.76.22709297915730.472907020842697
46.76.217806613865110.482193386134892
56.56.143515691527540.356484308472458
66.46.199233883280720.200766116719284
76.56.77498853139685-0.274988531396850
86.56.877138549611-0.377138549611003
96.56.85856581902661-0.358565819026612
106.76.73784307022807-0.0378430702280673
116.86.570688494968540.229311505031455
127.26.644979417306110.55502058269389
137.66.709983974351480.89001602564852
147.66.700697609059280.899302390940715
157.26.644979417306110.55502058269389
166.46.54282939909196-0.142829399091957
176.16.47782484204659-0.377824842046588
186.36.53354303379976-0.233543033799762
197.17.007147663701740.0928523362982567
207.57.165015873669070.33498412633093
217.47.183588604253460.216411395746539
227.17.16501587366907-0.0650158736690703
236.87.00714766370174-0.207147663701743
246.97.01643402899394-0.116434028993938
257.26.979288567825160.220711432174844
267.46.960715837240760.439284162759236
277.36.914284010779790.385715989220214
286.96.812133992565630.0878660074343672
296.96.756415800812460.143584199187541
306.86.774988531396850.0250114686031495
317.17.25787952659103-0.157879526591027
327.27.3321704489286-0.132170448928593
337.17.3228840836364-0.222884083636397
3477.17430223896127-0.174302238961266
356.97.01643402899394-0.116434028993938
367.17.035006759578330.0649932404216696
377.36.997861298409550.302138701590453
387.56.970002202532960.52999779746704
397.56.8771385496110.622861450388997
407.56.821420357857830.678579642142171
417.36.812133992565630.487866007434367
4276.812133992565630.187866007434367
436.77.24859316129883-0.548593161298831
446.57.304311353052-0.804311353052006
456.57.24859316129883-0.748593161298831
466.56.95142947194857-0.451429471948569
476.66.74712943552026-0.147129435520264
486.86.66355214789050.136447852109498
496.96.700697609059280.199302390940716
506.96.589261225552940.310738774447064
516.86.431393015585610.368606984414391
526.86.375674823832440.424325176167565
536.56.23637934444950.263620655550501
546.16.12494296094315-0.0249429609431512
556.16.64497941730611-0.544979417306111
565.96.73784307022807-0.837843070228067
575.76.52425666850757-0.824256668507566
585.96.38496118912463-0.48496118912463
595.96.2270929791573-0.327092979157303
606.16.26423844032609-0.164238440326087
616.36.292097536202670.00790246379732623
626.26.20852024857291-0.00852024857291209
635.96.06922476918998-0.169224769189976
645.76.04136567331339-0.341365673313389
655.45.84635200217728-0.446352002177279
665.65.92992928980704-0.329929289807041
676.26.39424755441683-0.194247554416826
686.36.44996574617-0.149965746170001
6966.30138390149487-0.301383901494869
705.66.18994751798852-0.589947517988521
715.56.15280205681974-0.652802056819738
725.96.28281117091048-0.382811170910478


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.0003932187658612030.0007864375317224050.999606781234139
60.01017389719510610.02034779439021210.989826102804894
70.1167603058046530.2335206116093060.883239694195347
80.06146728850269280.1229345770053860.938532711497307
90.02991237947593470.05982475895186940.970087620524065
100.01545446428595940.03090892857191890.98454553571404
110.009313251686491840.01862650337298370.990686748313508
120.04613113314842790.09226226629685580.953868866851572
130.3474715882065370.6949431764130730.652528411793463
140.638405745487910.723188509024180.36159425451209
150.643696671441030.712606657117940.35630332855897
160.6435048056765680.7129903886468630.356495194323432
170.7404917324007060.5190165351985880.259508267599294
180.740373660167050.5192526796658990.259626339832950
190.6807363747358970.6385272505282050.319263625264103
200.6744458194840210.6511083610319580.325554180515979
210.6233849651954070.7532300696091860.376615034804593
220.5519953552416410.8960092895167180.448004644758359
230.5044889958813830.9910220082372350.495511004118617
240.4386205782372020.8772411564744050.561379421762798
250.3857979459335760.7715958918671510.614202054066424
260.392495125237150.78499025047430.60750487476285
270.3789769241497990.7579538482995990.621023075850201
280.3195984794447370.6391969588894740.680401520555263
290.2679683004736670.5359366009473340.732031699526333
300.2199959511330290.4399919022660580.780004048866971
310.1755593038064080.3511186076128160.824440696193592
320.1347244695621110.2694489391242210.86527553043789
330.1050945810429790.2101891620859580.894905418957021
340.0797765218653680.1595530437307360.920223478134632
350.05902266434144630.1180453286828930.940977335658554
360.04206484263993910.08412968527987820.95793515736006
370.03767852781253630.07535705562507270.962321472187464
380.05687881828426510.1137576365685300.943121181715735
390.1091704673477490.2183409346954980.890829532652251
400.2385247727228610.4770495454457220.761475227277139
410.3485111798715080.6970223597430160.651488820128492
420.3639127569658470.7278255139316940.636087243034153
430.3660135522831830.7320271045663670.633986447716817
440.4576894582608870.9153789165217730.542310541739113
450.5512704024584670.8974591950830650.448729597541533
460.5602419130975750.879516173804850.439758086902425
470.5048675369798930.9902649260402130.495132463020107
480.4646267927609070.9292535855218140.535373207239093
490.4554466956221340.9108933912442680.544553304377866
500.5279605702630940.9440788594738130.472039429736906
510.6694182834943060.6611634330113880.330581716505694
520.871779599885190.2564408002296200.128220400114810
530.9474881676466470.1050236647067060.0525118323533531
540.952893402906350.09421319418730.04710659709365
550.9473634918330270.1052730163339450.0526365081669726
560.9749271276983630.05014574460327470.0250728723016374
570.997145579328390.005708841343218920.00285442067160946
580.9976203279443350.004759344111329190.00237967205566459
590.9954971492989460.009005701402108620.00450285070105431
600.9912518060480250.01749638790395080.0087481939519754
610.9909463499980730.01810730000385350.00905365000192676
620.9939403981296540.0121192037406920.006059601870346
630.9932603823564540.01347923528709290.00673961764354645
640.9849829260156650.03003414796866930.0150170739843347
650.9684450086154550.06310998276909060.0315549913845453
660.999736478738780.0005270425224399650.000263521261219983
670.9974420051073760.005115989785247160.00255799489262358


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level60.0952380952380952NOK
5% type I error level140.222222222222222NOK
10% type I error level210.333333333333333NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/23/t12589835368m5a9uyv6bxze8s/10qvyl1258982694.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/23/t12589835368m5a9uyv6bxze8s/10qvyl1258982694.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/23/t12589835368m5a9uyv6bxze8s/1esug1258982694.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/23/t12589835368m5a9uyv6bxze8s/1esug1258982694.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/23/t12589835368m5a9uyv6bxze8s/2revh1258982694.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/23/t12589835368m5a9uyv6bxze8s/2revh1258982694.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/23/t12589835368m5a9uyv6bxze8s/3fs7u1258982694.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/23/t12589835368m5a9uyv6bxze8s/3fs7u1258982694.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/23/t12589835368m5a9uyv6bxze8s/41v4n1258982694.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/23/t12589835368m5a9uyv6bxze8s/41v4n1258982694.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/23/t12589835368m5a9uyv6bxze8s/5m9361258982694.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/23/t12589835368m5a9uyv6bxze8s/5m9361258982694.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/23/t12589835368m5a9uyv6bxze8s/6a1421258982694.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/23/t12589835368m5a9uyv6bxze8s/6a1421258982694.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/23/t12589835368m5a9uyv6bxze8s/7ghzj1258982694.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/23/t12589835368m5a9uyv6bxze8s/7ghzj1258982694.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/23/t12589835368m5a9uyv6bxze8s/8jsnd1258982694.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/23/t12589835368m5a9uyv6bxze8s/8jsnd1258982694.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/23/t12589835368m5a9uyv6bxze8s/9zcdl1258982694.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/23/t12589835368m5a9uyv6bxze8s/9zcdl1258982694.ps (open in new window)


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





Copyright

Creative Commons License

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

Software written by Ed van Stee & Patrick Wessa


Disclaimer

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


Privacy Policy

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

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

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

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

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

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

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

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

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


FreeStatistics.org is powered by