Home » date » 2010 » Dec » 26 »

MR

*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, 26 Dec 2010 06:49:21 +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/26/t12933461229cy4yrbumhetm8v.htm/, Retrieved Sun, 26 Dec 2010 07:48:53 +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/26/t12933461229cy4yrbumhetm8v.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 «
1,8 0,8 2,9 1,8 2,3 0,8 2,6 1,7 -0,1 2,9 1,7 2,2 1 2,2 1,4 -1,5 2,9 1,6 2,1 0,6 2,3 1,2 -4,4 1,4 1,8 2,4 0,9 2,4 1 -4,2 1,1 1,6 2,5 0,6 2,1 1,7 3,5 1,9 1,5 2,4 0,6 1,9 2,4 10 2,8 1,5 2,3 0,4 2,2 2 8,6 1,4 1,3 2,1 0,3 1,9 2,1 9,5 0,7 1,4 2,3 0 2,3 2 9,9 -0,8 1,4 2,2 0,3 2,1 1,8 10,4 -3,1 1,3 2,1 0,1 2,2 2,7 16 0,1 1,3 2 0 2,3 2,3 12,7 1 1,2 2,1 0 1,9 1,9 10,2 1,9 1,1 2,1 0 1,7 2 8,9 -0,5 1,4 2,5 -0,2 2,5 2,3 12,6 1,5 1,2 2,2 -0,3 2,1 2,8 13,6 3,9 1,5 2,3 0,1 2,4 2,4 14,8 1,9 1,1 2,3 0,1 1,5 2,3 9,5 2,6 1,3 2,2 0,4 1,9 2,7 13,7 1,7 1,5 2,2 0,4 2,1 2,7 17 1,4 1,1 1,6 -0,5 2,2 2,9 14,7 2,8 1,4 1,8 0,5 2 3 17,4 0,5 1,3 1,7 0,4 2 2,2 9 1 1,5 1,9 0,7 2,2 2,3 9,1 1,5 1,6 1,8 0,8 2,3 2,8 12,2 1,8 1,7 1,9 0,8 2,3 2,8 15,9 2,7 1,1 1,5 0 2 2,8 12,9 3 1,6 1 1,1 2,2 2,2 10,9 -0,3 1,3 0,8 0,9 1,9 2,6 10,6 1,1 1,7 1,1 1,1 2,3 2,8 13,2 1,7 1,6 1,5 1 2,2 2,5 9,6 1,6 1,7 1,7 1,1 2,3 2,4 6,4 3 1,9 2,3 1,5 2,1 2,3 5,8 3,3 1,8 2,4 1 2,4 1,9 -1 6,7 1,9 3 1 2,3 1,7 -0,2 5,6 1,6 3 0,9 1,9 2 2,7 6 1 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 time6 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
HCPI[t] = -0.0999629355292632 + 0.102771874381054ED[t] + 0.0799171884528425NBL[t] + 0.299497088937924IT[t] + 0.0759467616143747BL[t] + 0.254171329601758NEI[t] + 0.258910129983403D[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)-0.09996293552926320.040991-2.43860.0180620.009031
ED0.1027718743810540.000902113.885900
NBL0.07991718845284250.00421218.975500
IT0.2994970889379240.2008641.4910.1417680.070884
BL0.07594676161437470.0305162.48870.0159350.007968
NEI0.2541713296017580.0784733.2390.0020540.001027
D0.2589101299834030.0935192.76850.0076990.00385


Multiple Linear Regression - Regression Statistics
Multiple R0.999078733038373
R-squared0.99815831480956
Adjusted R-squared0.997953683121733
F-TEST (value)4877.82867556148
F-TEST (DF numerator)6
F-TEST (DF denominator)54
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.052813378113236
Sum Squared Residuals0.150619657017508


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
11.81.8042901239284-0.00429012392840041
21.71.621521265857210.0784787341427856
31.41.364318737826150.0356812621738534
41.21.131230377592590.0687696224074087
510.9215804164312540.0784195835687461
61.71.687531188875730.0124688111242695
72.42.44671793887337-0.0467179388733699
822.01277430884026-0.0127743088402587
92.12.12177867819572-0.0217786781957181
1022.05988634199129-0.0598863419912855
111.81.86497510776303-0.0649751077630332
122.72.689111811222760.0108881887772431
132.32.295971010647120.00402898935287778
141.92.02923505941157-0.129235059411573
1521.980352039822880.0196479601771210
162.32.30877772071303-0.00877772071302889
172.82.88013622105944-0.0801362210594432
182.42.49081014085079-0.0908101408507907
192.32.234181431048230.0658185689517684
202.72.70557927762536-0.00557927762536377
212.72.652521230359950.047478769640048
222.92.835457765726840.0645422342731623
2332.866170775098740.133829224901261
242.22.24596781951198-0.0459678195119769
252.32.36986677986737-0.0698667798673748
262.82.749979132039720.0500208679602761
272.82.711073476172250.0889265238277503
282.82.86987866178533-0.0698786617853303
292.22.167062407209220.0329375927907824
302.62.545096090702080.0549039092979244
312.82.80937412695796-0.00937412695796248
322.52.52785086751607-0.0278508675160681
332.42.46621891393091-0.0662189139309082
342.32.35676328729992-0.0567632872999156
351.91.97925973511249-0.079259735112492
361.71.75473801568429-0.0547380156842941
3721.966892798244370.0331072017556274
382.12.045218593934380.0547814060656172
391.71.670654066517770.0293459334822318
401.81.770628577625270.0293714223747302
411.81.80971031986385-0.00971031986385004
421.81.789148236316570.0108517636834279
431.31.31442032023069-0.0144203202306948
441.31.279325662565970.0206743374340254
451.31.30772817324992-0.0077281732499199
461.21.197267107020370.00273289297962568
471.41.42316047429507-0.0231604742950717
482.22.20250580055179-0.00250580055178534
492.92.858737460636860.0412625393631379
503.13.10332590465758-0.00332590465758297
513.53.51728231005729-0.0172823100572907
523.63.64036614521704-0.0403661452170365
534.44.41720979272857-0.0172097927285728
544.14.059757954209870.040242045790132
555.15.12732058634347-0.0273205863434747
565.85.785109514223410.0148904857765852
575.95.853119985823340.0468800141766634
585.45.4122897901338-0.0122897901337956
595.55.49321187159320.00678812840680105
604.84.782846335303210.0171536646967917
613.23.21472393510501-0.0147239351050119


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
100.1885609172123670.3771218344247350.811439082787633
110.1008300594501190.2016601189002370.899169940549881
120.4147265132213130.8294530264426260.585273486778687
130.3130560675314530.6261121350629070.686943932468547
140.5786848613802960.8426302772394080.421315138619704
150.6261176415529860.7477647168940280.373882358447014
160.5368465381329470.9263069237341060.463153461867053
170.6594873588353240.6810252823293520.340512641164676
180.7794128960421380.4411742079157240.220587103957862
190.8711724172422340.2576551655155310.128827582757766
200.8852138747505560.2295722504988880.114786125249444
210.93981800667590.12036398664820.0601819933241
220.93594962833980.1281007433204020.0640503716602009
230.980758444795160.03848311040968120.0192415552048406
240.9925346028841020.01493079423179690.00746539711589847
250.9991849541619540.001630091676092430.000815045838046214
260.9986095465212380.002780906957523200.00139045347876160
270.9979618369036290.004076326192742290.00203816309637114
280.9997438568500030.0005122862999940440.000256143149997022
290.999452398101230.001095203797538670.000547601898769335
300.9996584443304750.0006831113390506410.000341555669525321
310.9992708230662520.001458353867495300.000729176933747652
320.9986260327382470.002747934523506610.00137396726175330
330.997627832544360.004744334911281560.00237216745564078
340.999039860893150.001920278213700820.000960139106850412
350.9996893816154450.0006212367691109150.000310618384555457
360.999984109673883.17806522409666e-051.58903261204833e-05
370.999975219796644.95604067179121e-052.47802033589560e-05
380.9999641285616257.17428767509856e-053.58714383754928e-05
390.9999041420367710.0001917159264574199.58579632287096e-05
400.999768294951620.0004634100967607790.000231705048380390
410.9994772926829150.001045414634170130.000522707317085067
420.9989694619894560.002061076021088960.00103053801054448
430.9978776953886840.004244609222632050.00212230461131602
440.995064077995150.009871844009700330.00493592200485017
450.9883802865103520.02323942697929660.0116197134896483
460.9769321301505320.04613573969893550.0230678698494678
470.9950310543380570.009937891323885470.00496894566194274
480.9883814084647730.02323718307045380.0116185915352269
490.9742883412407920.05142331751841530.0257116587592077
500.9329924477145650.1340151045708690.0670075522854345
510.9218785736685330.1562428526629330.0781214263314667


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level210.5NOK
5% type I error level260.619047619047619NOK
10% type I error level270.642857142857143NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/26/t12933461229cy4yrbumhetm8v/105vkq1293346154.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/26/t12933461229cy4yrbumhetm8v/105vkq1293346154.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/26/t12933461229cy4yrbumhetm8v/1crf71293346154.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/26/t12933461229cy4yrbumhetm8v/1crf71293346154.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/26/t12933461229cy4yrbumhetm8v/2crf71293346154.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/26/t12933461229cy4yrbumhetm8v/2crf71293346154.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/26/t12933461229cy4yrbumhetm8v/3crf71293346154.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/26/t12933461229cy4yrbumhetm8v/3crf71293346154.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/26/t12933461229cy4yrbumhetm8v/44jxa1293346154.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/26/t12933461229cy4yrbumhetm8v/44jxa1293346154.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/26/t12933461229cy4yrbumhetm8v/54jxa1293346154.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/26/t12933461229cy4yrbumhetm8v/54jxa1293346154.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/26/t12933461229cy4yrbumhetm8v/6fawd1293346154.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/26/t12933461229cy4yrbumhetm8v/6fawd1293346154.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/26/t12933461229cy4yrbumhetm8v/7fawd1293346154.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/26/t12933461229cy4yrbumhetm8v/7fawd1293346154.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/26/t12933461229cy4yrbumhetm8v/8q1vg1293346154.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/26/t12933461229cy4yrbumhetm8v/8q1vg1293346154.ps (open in new window)


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