Home » date » 2010 » Dec » 01 »

*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: Wed, 01 Dec 2010 21:03:34 +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/01/t1291237457o7xu03xd1i8lsyv.htm/, Retrieved Wed, 01 Dec 2010 22:04:27 +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/01/t1291237457o7xu03xd1i8lsyv.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 «
2502,66 10169,02 10433,44 24977 -7,9 -15 2,85 0,3 3,36 2466,92 9633,83 10238,83 24320 -8,8 -10 2,98 -0,1 3,37 2513,17 10066,24 9857,34 22680 -14,2 -12 3,06 -1 3,55 2443,27 10302,87 9634,97 22052 -17,8 -11 3,08 -1,2 3,53 2293,41 10430,35 9374,63 21467 -18,2 -11 3,3 -0,8 3,52 2070,83 9691,12 8679,75 21383 -22,8 -17 3,47 -1,7 3,54 2029,6 9810,31 8593 21777 -23,6 -18 3,72 -1,1 3,5 2052,02 9304,43 8398,37 21928 -27,6 -19 3,67 -0,4 3,44 1864,44 8767,96 7992,12 21814 -29,4 -22 3,82 0,6 3,38 1670,07 7764,58 7235,47 22937 -31,8 -24 3,85 0,6 3,35 1810,99 7694,78 7690,5 23595 -31,4 -24 3,9 1,9 3,68 1905,41 8331,49 8396,2 20830 -27,6 -20 3,99 2,3 3,92 1862,83 8460,94 8595,56 19650 -28,8 -25 4,35 2,6 4,05 2014,45 8531,45 8614,55 19195 -21,9 -22 4,98 3,1 4,14 2197,82 9117,03 9181,73 19644 -13,9 -17 5,46 4,7 4,53 2962,34 12123,53 11114,08 18483 -8 -9 5,19 5,5 4,54 3047,03 12989,35 11530,75 18079 -2,8 -11 5,03 5,4 4,9 3032,6 13168,91 11322,38 19178 -3,3 -13 5,38 5,9 4,92 3504,37 14084,6 12056,67 18391 -1,3 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
BEL_20[t] = -1880.76580017901 + 0.192813678210668Nikkei[t] + 0.286352347829325DJ_Indust[t] + 0.0145348419797004Goudprijs[t] -10.0672478500057Conjunct_Seizoenzuiver[t] -2.30528030345926Cons_vertrouw[t] -18.3563447065875Rend_oblig_EUR[t] + 35.9956460531887Alg_consumptie_index_BE[t] -234.559373355687Gem_rente_kasbon_5j[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)-1880.76580017901273.254826-6.882800
Nikkei0.1928136782106680.01573112.256800
DJ_Indust0.2863523478293250.0345448.289500
Goudprijs0.01453484197970040.0083271.74540.0857890.042894
Conjunct_Seizoenzuiver-10.06724785000576.08984-1.65310.1032810.051641
Cons_vertrouw-2.305280303459267.758898-0.29710.7673570.383678
Rend_oblig_EUR-18.356344706587581.447108-0.22540.8224150.411208
Alg_consumptie_index_BE35.995646053188719.5850681.83790.0707910.035396
Gem_rente_kasbon_5j-234.559373355687109.529101-2.14150.0361060.018053


Multiple Linear Regression - Regression Statistics
Multiple R0.983718731063487
R-squared0.967702541845157
Adjusted R-squared0.963601277317558
F-TEST (value)235.952237494821
F-TEST (DF numerator)8
F-TEST (DF denominator)63
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation161.334860280945
Sum Squared Residuals1639823.03993793


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
12502.662715.11121737621-212.451217376205
22466.922525.04678792393-58.1267879239323
32513.172458.2320752674254.937924732581
42443.272462.11526691126-18.8452669112567
52293.412420.37565727693-126.965657276927
62070.832097.57373016300-26.7437301629974
72029.62138.19060900769-108.590609007692
82052.022069.87463273278-17.8546327327776
91864.441920.80090928068-56.3609092806808
101670.071562.24769070221107.822309297789
111810.991653.09716110496157.892838895036
121905.411846.7288466962258.6811533037796
131862.831908.92945799045-46.0994579904478
142014.451830.29235960961184.157640390387
152197.821977.37911028682220.440889713182
162962.343047.09957305382-84.7595730538206
173047.033194.64081645900-147.610816459004
183032.63202.0950925811-169.495092581102
193504.373659.56124244339-155.19124244339
203801.063948.66912136436-147.609121364356
213857.623830.8370085732926.7829914267107
223674.43520.40647381457153.993526185434
233720.983665.1760561996755.803943800331
243844.493684.19213012148160.297869878519
254116.684271.70370286783-155.023702867825
264105.184188.01448667954-82.8344866795445
274435.234574.11338074336-138.883380743356
284296.494296.486939816880.00306018311966483
294202.524205.90718229782-3.38718229781947
304562.844589.98746184695-27.1474618469506
314621.44562.6666073213858.7333926786242
324696.964566.91792302561130.042076974394
334591.274377.72025694618213.549743053825
344356.984195.95741884186161.022581158144
354502.644406.8248236806695.8151763193443
364443.914332.6346476118111.275352388198
374290.894232.5198978671458.3701021328598
384199.754043.98047642233155.769523577667
394138.524018.02623632452120.493763675484
403970.13811.40438107579158.695618924211
413862.273696.03820748375166.231792516251
423701.613505.66041887935195.949581120654
433570.123503.1735846713766.9464153286269
443801.063922.97674055146-121.916740551459
453895.514073.91399629707-178.403996297075
463917.963931.52329307046-13.5632930704627
473813.063910.48894529271-97.4289452927083
483667.033858.52945154261-191.499451542606
493494.173791.34559426302-297.175594263016
503363.993532.12246397146-168.132463971461
513295.323273.3575252000621.96247479994
523277.013309.00481489556-31.9948148955643
533257.163174.0784688250683.0815311749384
543161.693103.5534227967058.1365772033041
553097.312991.46234121307105.847658786932
563061.262850.41400538995210.845994610050
573119.312858.82228946229260.487710537713
583106.223019.8450731878186.3749268121896
593080.582957.54148305236123.038516947640
602981.852812.99259262929168.857407370712
612921.442781.20598750142140.234012498581
622849.272670.49488108333178.775118916669
632756.762535.57989216804221.180107831961
642645.642570.3204224648875.319577535124
652497.842517.17044876234-19.3304487623408
662448.052581.48762006692-133.437620066922
672454.622726.19854089696-271.578540896956
682407.62579.49381485465-171.893814854649
692472.812869.19278930997-396.382789309974
702408.642693.30659962385-284.666599623851
712440.252590.90190935628-150.651909356276
722350.442646.2535309255-295.813530925502


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
120.02957058763028050.05914117526056090.97042941236972
130.007178449745215120.01435689949043020.992821550254785
140.04353591615313210.08707183230626420.956464083846868
150.02680576580087190.05361153160174380.973194234199128
160.01889682970212260.03779365940424520.981103170297877
170.008807854480455810.01761570896091160.991192145519544
180.003635526764026880.007271053528053770.996364473235973
190.01268343640792230.02536687281584460.987316563592078
200.00983129052361350.0196625810472270.990168709476386
210.00854232742104270.01708465484208540.991457672578957
220.009641418812425960.01928283762485190.990358581187574
230.01017254789748640.02034509579497270.989827452102514
240.04861824092020050.09723648184040110.9513817590798
250.03580835900164060.07161671800328110.96419164099836
260.05716900724943850.1143380144988770.942830992750561
270.0661242791144960.1322485582289920.933875720885504
280.1151466150301040.2302932300602080.884853384969896
290.116356164635030.232712329270060.88364383536497
300.1169262489683410.2338524979366810.88307375103166
310.1010269859073480.2020539718146970.898973014092652
320.09069357256846020.1813871451369200.90930642743154
330.08116864401757220.1623372880351440.918831355982428
340.0665098192092350.133019638418470.933490180790765
350.046084175673950.09216835134790.95391582432605
360.03938033648571960.0787606729714390.96061966351428
370.02579895221926750.0515979044385350.974201047780733
380.02535748311256750.0507149662251350.974642516887432
390.02550226711009530.05100453422019060.974497732889905
400.03062572442135810.06125144884271630.969374275578642
410.02968455358151200.05936910716302390.970315446418488
420.02170749823477630.04341499646955270.978292501765224
430.02623629030435840.05247258060871690.973763709695642
440.05090254466562830.1018050893312570.949097455334372
450.06599677766061050.1319935553212210.93400322233939
460.3237639539983650.6475279079967310.676236046001635
470.447568341059660.895136682119320.55243165894034
480.4181573374235330.8363146748470660.581842662576467
490.3834160010527390.7668320021054770.616583998947261
500.5826365069250180.8347269861499650.417363493074982
510.7208321518559750.5583356962880510.279167848144025
520.6845923711637640.6308152576724720.315407628836236
530.6253804182853280.7492391634293430.374619581714672
540.5589577494363680.8820845011272650.441042250563632
550.8641475987449660.2717048025100680.135852401255034
560.790143908779890.4197121824402210.209856091220110
570.8018654677463790.3962690645072420.198134532253621
580.7359396619795970.5281206760408050.264060338020403
590.6231040862391450.7537918275217090.376895913760855
600.4730032617529360.9460065235058720.526996738247064


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level10.0204081632653061NOK
5% type I error level100.204081632653061NOK
10% type I error level230.469387755102041NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/01/t1291237457o7xu03xd1i8lsyv/10f2o21291237406.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/01/t1291237457o7xu03xd1i8lsyv/10f2o21291237406.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/01/t1291237457o7xu03xd1i8lsyv/191r81291237406.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/01/t1291237457o7xu03xd1i8lsyv/191r81291237406.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/01/t1291237457o7xu03xd1i8lsyv/2jb8t1291237406.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/01/t1291237457o7xu03xd1i8lsyv/2jb8t1291237406.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/01/t1291237457o7xu03xd1i8lsyv/3jb8t1291237406.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/01/t1291237457o7xu03xd1i8lsyv/3jb8t1291237406.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/01/t1291237457o7xu03xd1i8lsyv/4u2pw1291237406.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/01/t1291237457o7xu03xd1i8lsyv/4u2pw1291237406.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/01/t1291237457o7xu03xd1i8lsyv/5u2pw1291237406.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/01/t1291237457o7xu03xd1i8lsyv/5u2pw1291237406.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/01/t1291237457o7xu03xd1i8lsyv/6u2pw1291237406.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/01/t1291237457o7xu03xd1i8lsyv/6u2pw1291237406.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/01/t1291237457o7xu03xd1i8lsyv/75t6z1291237406.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/01/t1291237457o7xu03xd1i8lsyv/75t6z1291237406.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/01/t1291237457o7xu03xd1i8lsyv/85t6z1291237406.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/01/t1291237457o7xu03xd1i8lsyv/85t6z1291237406.ps (open in new window)


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