Home » date » 2009 » Dec » 15 »

*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: Tue, 15 Dec 2009 06:41:47 -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/Dec/15/t12608845876173q9rt2jixan7.htm/, Retrieved Tue, 15 Dec 2009 14:43:20 +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/Dec/15/t12608845876173q9rt2jixan7.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 «
2350.44 0 2440.25 0 2408.64 0 2472.81 0 2407.6 0 2454.62 0 2448.05 0 2497.84 0 2645.64 0 2756.76 0 2849.27 0 2921.44 0 2981.85 0 3080.58 0 3106.22 0 3119.31 0 3061.26 0 3097.31 0 3161.69 0 3257.16 0 3277.01 0 3295.32 0 3363.99 0 3494.17 0 3667.03 0 3813.06 0 3917.96 0 3895.51 0 3801.06 0 3570.12 0 3701.61 0 3862.27 0 3970.1 0 4138.52 0 4199.75 0 4290.89 0 4443.91 0 4502.64 0 4356.98 0 4591.27 0 4696.96 0 4621.4 0 4562.84 0 4202.52 0 4296.49 0 4435.23 0 4105.18 0 4116.68 0 3844.49 0 3720.98 0 3674.4 0 3857.62 0 3801.06 0 3504.37 0 3032.6 0 3047.03 0 2962.34 1 2197.82 1 2014.45 1 1862.83 1 1905.41 1 1810.99 1 1670.07 1 1864.44 1 2052.02 1 2029.6 1 2070.83 1 2293.41 1 2443.27 1 2513.17 1 2466.92 1
 
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
Y[t] = + 2616.26163480885 -2504.74878571429X[t] + 31.7550804828974t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)2616.26163480885116.54038922.449400
X-2504.74878571429178.15981-14.05900
t31.75508048289743.5486768.948400


Multiple Linear Regression - Regression Statistics
Multiple R0.863663571436697
R-squared0.74591476462679
Adjusted R-squared0.738441669468754
F-TEST (value)99.8133636535767
F-TEST (DF numerator)2
F-TEST (DF denominator)68
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation433.316484208088
Sum Squared Residuals12767895.9330791


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
12350.442648.01671529174-297.576715291744
22440.252679.77179577465-239.521795774646
32408.642711.52687625755-302.886876257547
42472.812743.28195674044-270.471956740443
52407.62775.03703722334-367.437037223341
62454.622806.79211770624-352.172117706238
72448.052838.54719818914-390.497198189135
82497.842870.30227867203-372.462278672032
92645.642902.05735915493-256.417359154930
102756.762933.81243963783-177.052439637827
112849.272965.56752012073-116.297520120725
122921.442997.32260060362-75.8826006036221
132981.853029.07768108652-47.2276810865197
143080.583060.8327615694219.7472384305830
153106.223092.5878420523113.6321579476855
163119.313124.34292253521-5.03292253521172
173061.263156.09800301811-94.8380030181089
183097.313187.85308350101-90.5430835010065
193161.693219.60816398390-57.9181639839037
203257.163251.36324446685.79675553319869
213277.013283.1183249497-6.10832494969829
223295.323314.8734054326-19.5534054325957
233363.993346.6284859154917.3615140845065
243494.173378.38356639839115.786433601609
253667.033410.13864688129256.891353118712
263813.063441.89372736419371.166272635815
273917.963473.64880784708444.311192152917
283895.513505.40388832998390.10611167002
293801.063537.15896881288263.901031187122
303570.123568.914049295771.20595070422507
313701.613600.66912977867100.940870221328
323862.273632.42421026157229.845789738430
333970.13664.17929074447305.920709255533
344138.523695.93437122736442.585628772636
354199.753727.68945171026472.060548289738
364290.893759.44453219316531.445467806841
374443.913791.19961267606652.710387323943
384502.643822.95469315895679.685306841047
394356.983854.70977364185502.270226358148
404591.273886.46485412475704.805145875252
414696.963918.21993460765778.740065392354
424621.43949.97501509054671.424984909456
434562.843981.73009557344581.10990442656
444202.524013.48517605634189.034823943663
454296.494045.24025653924251.249743460765
464435.234076.99533702213358.234662977867
474105.184108.75041750503-3.57041750502977
484116.684140.50549798793-23.8254979879271
493844.494172.26057847082-327.770578470825
503720.984204.01565895372-483.035658953722
513674.44235.77073943662-561.370739436619
523857.624267.52581991952-409.905819919517
533801.064299.28090040241-498.220900402414
543504.374331.03598088531-826.665980885312
553032.64362.79106136821-1330.19106136821
563047.034394.54614185111-1347.51614185111
572962.341921.552436619721040.78756338028
582197.821953.30751710262244.512482897384
592014.451985.0625975855129.3874024144868
601862.832016.81767806841-153.987678068411
611905.412048.57275855131-143.162758551308
621810.992080.32783903421-269.337839034205
631670.072112.08291951710-442.012919517103
641864.442143.838-279.398
652052.022175.59308048290-123.573080482897
662029.62207.34816096579-177.748160965795
672070.832239.10324144869-168.273241448692
682293.412270.8583219315922.5516780684104
692443.272302.61340241449140.656597585513
702513.172334.36848289738178.801517102616
712466.922366.12356338028100.796436619718


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
60.001510118112475720.003020236224951440.998489881887524
70.0001443521441075200.0002887042882150390.999855647855892
81.39148607140614e-052.78297214281228e-050.999986085139286
93.01554850427761e-056.03109700855523e-050.999969844514957
104.40188391927983e-058.80376783855965e-050.999955981160807
113.72957694601254e-057.45915389202508e-050.99996270423054
121.99287989931083e-053.98575979862166e-050.999980071201007
137.69786953915654e-061.53957390783131e-050.99999230213046
143.43962596611471e-066.87925193222942e-060.999996560374034
159.48856598999028e-071.89771319799806e-060.9999990511434
162.15901004267837e-074.31802008535674e-070.999999784098996
178.91246123078892e-081.78249224615778e-070.999999910875388
183.75941169940563e-087.51882339881126e-080.999999962405883
191.27608935496053e-082.55217870992106e-080.999999987239106
203.40750335061979e-096.81500670123958e-090.999999996592497
211.06222345456862e-092.12444690913724e-090.999999998937777
224.32428593435386e-108.64857186870772e-100.999999999567571
231.57162291156359e-103.14324582312719e-100.999999999842838
245.70102058885406e-111.14020411777081e-100.99999999994299
257.41265553290512e-111.48253110658102e-100.999999999925874
262.82394947881023e-105.64789895762046e-100.999999999717605
279.27123656911928e-101.85424731382386e-090.999999999072876
285.53041721855833e-101.10608344371167e-090.999999999446958
292.18197471631136e-104.36394943262272e-100.999999999781803
304.76736089789194e-099.53472179578388e-090.99999999523264
311.28047221183891e-082.56094442367782e-080.999999987195278
321.12588038149198e-082.25176076298396e-080.999999988741196
338.04315889580827e-091.60863177916165e-080.99999999195684
345.84355362018205e-091.16871072403641e-080.999999994156446
353.81404565445302e-097.62809130890603e-090.999999996185954
362.48384768388293e-094.96769536776587e-090.999999997516152
372.79194798226586e-095.58389596453171e-090.999999997208052
382.33428080744888e-094.66856161489775e-090.99999999766572
397.81679626986045e-101.56335925397209e-090.99999999921832
404.99657415831162e-109.99314831662324e-100.999999999500343
416.52665580652561e-101.30533116130512e-090.999999999347334
424.34159857745183e-108.68319715490367e-100.99999999956584
434.31659790707522e-108.63319581415044e-100.99999999956834
442.31720793430465e-084.6344158686093e-080.99999997682792
451.99947372606731e-073.99894745213461e-070.999999800052627
461.35358126330797e-062.70716252661594e-060.999998646418737
476.28849725178746e-050.0001257699450357490.999937115027482
480.0009876254806537350.001975250961307470.999012374519346
490.01431839143600020.02863678287200040.985681608564
500.07173376376683120.1434675275336620.928266236233169
510.1698859591825160.3397719183650320.830114040817484
520.286075534156520.572151068313040.71392446584348
530.4647347354208320.9294694708416650.535265264579168
540.6329269880676860.7341460238646280.367073011932314
550.763935762279480.4721284754410410.236064237720520
560.8107534454627120.3784931090745760.189246554537288
570.9959024248379870.008195150324025630.00409757516201282
580.999174905538250.001650188923498790.000825094461749397
590.9997291845175070.0005416309649865310.000270815482493266
600.9996958239754550.0006083520490894020.000304176024544701
610.9998810852535480.0002378294929043510.000118914746452175
620.9997959449228020.0004081101543959740.000204055077197987
630.999368904470520.001262191058958590.000631095529479294
640.9965488227573220.006902354485356970.00345117724267848
650.9870671838654050.02586563226918960.0129328161345948


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level510.85NOK
5% type I error level530.883333333333333NOK
10% type I error level530.883333333333333NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/15/t12608845876173q9rt2jixan7/10bvoz1260884501.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t12608845876173q9rt2jixan7/10bvoz1260884501.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t12608845876173q9rt2jixan7/1a7031260884501.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t12608845876173q9rt2jixan7/1a7031260884501.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t12608845876173q9rt2jixan7/256dp1260884501.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t12608845876173q9rt2jixan7/256dp1260884501.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t12608845876173q9rt2jixan7/3165d1260884501.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t12608845876173q9rt2jixan7/3165d1260884501.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t12608845876173q9rt2jixan7/43z9w1260884501.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t12608845876173q9rt2jixan7/43z9w1260884501.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t12608845876173q9rt2jixan7/5jsvp1260884501.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t12608845876173q9rt2jixan7/5jsvp1260884501.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t12608845876173q9rt2jixan7/6l3u01260884501.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t12608845876173q9rt2jixan7/6l3u01260884501.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t12608845876173q9rt2jixan7/728cw1260884501.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t12608845876173q9rt2jixan7/728cw1260884501.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t12608845876173q9rt2jixan7/80y9s1260884501.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t12608845876173q9rt2jixan7/80y9s1260884501.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t12608845876173q9rt2jixan7/9ysoz1260884501.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t12608845876173q9rt2jixan7/9ysoz1260884501.ps (open in new window)


 
Parameters (Session):
 
Parameters (R input):
par1 = 1 ; 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