Home » date » 2010 » Nov » 30 »

4 vertragingen - Ws8

*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, 30 Nov 2010 21:32:25 +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/Nov/30/t1291152642ao5wgemsn436i3a.htm/, Retrieved Tue, 30 Nov 2010 22:30:52 +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/Nov/30/t1291152642ao5wgemsn436i3a.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 «
30 35 47 30 37 43 30 35 47 30 82 43 30 35 47 40 82 43 30 35 47 40 82 43 30 19 47 40 82 43 52 19 47 40 82 136 52 19 47 40 80 136 52 19 47 42 80 136 52 19 54 42 80 136 52 66 54 42 80 136 81 66 54 42 80 63 81 66 54 42 137 63 81 66 54 72 137 63 81 66 107 72 137 63 81 58 107 72 137 63 36 58 107 72 137 52 36 58 107 72 79 52 36 58 107 77 79 52 36 58 54 77 79 52 36 84 54 77 79 52 48 84 54 77 79 96 48 84 54 77 83 96 48 84 54 66 83 96 48 84 61 66 83 96 48 53 61 66 83 96 30 53 61 66 83 74 30 53 61 66 69 74 30 53 61 59 69 74 30 53 42 59 69 74 30 65 42 59 69 74 70 65 42 59 69 100 70 65 42 59 63 100 70 65 42 105 63 100 70 65 82 105 63 100 70 81 82 105 63 100 75 81 82 105 63 102 75 81 82 105 121 102 75 81 82 98 121 102 75 81 76 98 121 102 75 77 76 98 121 102 63 77 76 98 121 37 63 77 76 98 35 37 63 77 76 23 35 37 63 77 40 23 35 37 63 29 40 23 35 37 37 29 40 23 35 51 37 29 40 23 20 51 37 29 40 28 20 51 37 29 13 28 20 51 37 22 13 28 20 51 25 22 13 28 20 13 25 22 13 2 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'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
Ye[t] = + 27.2834214053944 + 0.397125190922649`Ye-1`[t] + 0.241628865980788`Ye-2`[t] -0.0721154477263936`Ye-3`[t] + 0.194553871149098`Ye-4`[t] -8.55123851482719M1[t] -2.43346143954193M2[t] + 8.75387561158733M3[t] -12.7401440949288M4[t] -2.18969425871734M5[t] -16.6086800675589M6[t] -17.5742918715359M7[t] + 23.4944770899369M8[t] + 3.14624069205249M9[t] -11.5904562802941M10[t] -13.6691227830971M11[t] -0.290723078985568t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)27.283421405394413.8269971.97320.0531630.026582
`Ye-1`0.3971251909226490.1263293.14360.0026120.001306
`Ye-2`0.2416288659807880.1357261.78030.0801820.040091
`Ye-3`-0.07211544772639360.134954-0.53440.5950940.297547
`Ye-4`0.1945538711490980.1234481.5760.1203730.060186
M1-8.5512385148271912.080546-0.70790.4818240.240912
M2-2.4334614395419312.239001-0.19880.8430810.42154
M38.7538756115873312.3117750.7110.4798760.239938
M4-12.740144094928812.466598-1.02190.310980.15549
M5-2.1896942587173412.734413-0.1720.8640650.432032
M6-16.608680067558912.472345-1.33160.18810.09405
M7-17.574291871535912.332299-1.42510.1594080.079704
M823.494477089936912.3322751.90510.0616420.030821
M93.1462406920524913.5092360.23290.8166490.408324
M10-11.590456280294113.781157-0.8410.4037230.201862
M11-13.669122783097113.151083-1.03940.3028640.151432
t-0.2907230789855680.13498-2.15380.035350.017675


Multiple Linear Regression - Regression Statistics
Multiple R0.819156252095656
R-squared0.671016965347402
Adjusted R-squared0.581801227136528
F-TEST (value)7.52128468366599
F-TEST (DF numerator)16
F-TEST (DF denominator)59
p-value3.64684837883544e-09
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation21.0468770596200
Sum Squared Residuals26135.2910038028


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
13048.7324279956963-18.7324279956963
24347.086469936221-4.08646993622098
38266.110368242706515.8896317572935
44060.980613945781-20.9806139457810
54762.0743382813179-15.0743382813179
61939.7127912223652-20.7127912223652
75239.644802834757312.3551971652427
813678.08630104788357.913698952117
980102.160719820264-22.1607198202642
104277.3637956525042-35.3637956525042
115446.7350124596347.26498754036598
126676.0780077967497-10.0780077967497
138166.746465115031614.2535348849684
146373.171510890558-10.1715108905580
1513782.013565496878354.9864345031217
167286.5196819898917-14.5196819898917
1710793.063193546035413.9368064539646
185867.7084772393128-9.70847723931278
193674.5345088777169-38.5345088777169
205279.565943831732-27.5659438317321
217970.30819478685888.69180521314117
227761.922616909805615.0773830901944
235459.8489239987506-5.84892399875062
248464.775931429452619.2240685705474
254867.6874470622396-19.6874470622396
269667.736407720156428.2635922798436
278382.35818921305780.641810786942179
286675.4417767652626-9.4417767652626
296165.3437191668188-4.34371916681884
305354.8167802383049-1.81678023830489
313047.8720617844677-17.8720617844677
327474.636358776985-0.636358776984946
336965.5175980092193.482401990781
345959.2384464349425-0.238446434942508
354244.041841877633-2.04184187763301
366557.17377224544397.8262277545561
377053.106384442697116.8936155573029
3810065.756952211025934.2430477889741
396384.8093951335112-21.8093951335112
4010559.694048061092545.3059519389075
418276.50207071973415.49792928026586
428171.31178251222879.6882174877713
437553.873516483760321.1264835162397
44102101.85710024070.142899759300056
4512186.088124134153934.9118758658461
469885.368200907042512.6317990929575
477675.34144007216090.658559927839122
487778.3083826726402-1.30838267264018
496369.9028900677126-6.90289006771262
503767.5236210706274-30.5236210706274
513560.3598753420447-25.3598753420447
522332.7027017985157-9.70270179851573
534036.86491597750723.13508402249283
542921.09261918917187.90738081082816
553720.051875558152116.9481244418479
565157.788396377094-6.78839637709397
572048.7429062355124-28.7429062355124
582822.07039322485795.92960677514215
591315.9343250260694-2.93432502606939
602230.2482108697931-8.24821086979305
612514.747849417139110.2521505828609
621326.5791014651225-13.5791014651225
631629.8677526473628-13.8677526473628
64137.909477540022235.09052245997777
651619.1517623085866-3.15176230858660
66172.3575495986167014.6424504013833
6793.023234461145685.97676553885432
681740.065899725606-23.065899725606
692521.18245701399183.81754298600822
701412.03654687084731.96345312915268
7185.098456565752062.90154343424794
72714.4156949859207-7.41569498592066
73106.076535899483623.92346410051638
74711.1459367062888-4.14593670628875
751020.4808539244387-10.4808539244387
763-1.248300100565774.24830010056577


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
200.9960993359498880.007801328100224420.00390066405011221
210.9970242451121290.005951509775743120.00297575488787156
220.9970102011530750.005979597693850760.00298979884692538
230.9979756372390230.004048725521953010.00202436276097650
240.9968933571068950.006213285786209330.00310664289310467
250.9982856764959040.003428647008192550.00171432350409628
260.9986465605704660.002706878859067150.00135343942953357
270.998982453013920.002035093972159230.00101754698607962
280.9989892078349040.002021584330192320.00101079216509616
290.9986225365877340.002754926824532280.00137746341226614
300.997338229585380.005323540829239340.00266177041461967
310.9975491775564210.004901644887157570.00245082244357879
320.9965721550529060.006855689894188420.00342784494709421
330.9934910441877450.01301791162450980.00650895581225492
340.9915274954249260.01694500915014760.00847250457507381
350.9905749882830610.01885002343387740.0094250117169387
360.983202765050020.03359446989995920.0167972349499796
370.974683728557730.05063254288453920.0253162714422696
380.9874621199120820.02507576017583660.0125378800879183
390.9939527481103820.01209450377923580.00604725188961791
400.9986172675233350.002765464953329050.00138273247666452
410.9977994679420490.004401064115902380.00220053205795119
420.9956442403476780.008711519304644180.00435575965232209
430.994291487467910.01141702506418210.00570851253209106
440.9954019063971390.009196187205721680.00459809360286084
450.9998960498716610.0002079002566770330.000103950128338516
460.9998622975113020.0002754049773966680.000137702488698334
470.999621620478160.0007567590436804630.000378379521840231
480.9994282302215770.001143539556845850.000571769778422925
490.9992980531144720.001403893771056240.000701946885528119
500.9988152802292450.002369439541509340.00118471977075467
510.997588637071420.004822725857160410.00241136292858021
520.9936886582170020.01262268356599610.00631134178299806
530.9869473354762860.02610532904742770.0130526645237139
540.9645164715433720.07096705691325580.0354835284566279
550.9486501591083470.1026996817833050.0513498408916527
560.9953250504571160.009349899085768990.00467494954288449


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level250.675675675675676NOK
5% type I error level340.918918918918919NOK
10% type I error level360.972972972972973NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Nov/30/t1291152642ao5wgemsn436i3a/1063je1291152737.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t1291152642ao5wgemsn436i3a/1063je1291152737.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/30/t1291152642ao5wgemsn436i3a/16a2q1291152736.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t1291152642ao5wgemsn436i3a/16a2q1291152736.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/30/t1291152642ao5wgemsn436i3a/26a2q1291152736.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t1291152642ao5wgemsn436i3a/26a2q1291152736.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/30/t1291152642ao5wgemsn436i3a/3zj1b1291152736.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t1291152642ao5wgemsn436i3a/3zj1b1291152736.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/30/t1291152642ao5wgemsn436i3a/4zj1b1291152736.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t1291152642ao5wgemsn436i3a/4zj1b1291152736.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/30/t1291152642ao5wgemsn436i3a/5zj1b1291152736.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t1291152642ao5wgemsn436i3a/5zj1b1291152736.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/30/t1291152642ao5wgemsn436i3a/6k2391291152737.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t1291152642ao5wgemsn436i3a/6k2391291152737.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/30/t1291152642ao5wgemsn436i3a/7vckc1291152737.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t1291152642ao5wgemsn436i3a/7vckc1291152737.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/30/t1291152642ao5wgemsn436i3a/8vckc1291152737.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t1291152642ao5wgemsn436i3a/8vckc1291152737.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/30/t1291152642ao5wgemsn436i3a/9vckc1291152737.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t1291152642ao5wgemsn436i3a/9vckc1291152737.ps (open in new window)


 
Parameters (Session):
par1 = 2 ; par2 = Include Monthly Dummies ; par3 = No 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