Home » date » 2010 » Dec » 27 »

Model 1

*The author of this computation has been verified*
R Software Module: /rwasp_multipleregression.wasp (opens new window with default values)
Title produced by software: Multiple Regression
Date of computation: Mon, 27 Dec 2010 20:33:39 +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/27/t1293481891fd1bqbrkdxxn772.htm/, Retrieved Mon, 27 Dec 2010 21:31:42 +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/27/t1293481891fd1bqbrkdxxn772.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 «
4.24 3.353 4.15 3.186 3.93 3.902 3.7 4.164 3.7 3.499 3.65 4.145 3.55 3.796 3.43 3.711 3.47 3.949 3.58 3.74 3.67 3.243 3.72 4.407 3.8 4.814 3.76 3.908 3.63 5.25 3.48 3.937 3.41 4.004 3.43 5.56 3.5 3.922 3.62 3.759 3.58 4.138 3.52 4.634 3.45 3.996 3.36 4.308 3.27 4.143 3.21 4.429 3.19 5.219 3.16 4.929 3.12 5.761 3.06 5.592 3.01 4.163 2.98 4.962 2.97 5.208 3.02 4.755 3.07 4.491 3.18 5.732 3.29 5.731 3.43 5.04 3.61 6.102 3.74 4.904 3.87 5.369 3.88 5.578 4.09 4.619 4.19 4.731 4.2 5.011 4.29 5.299 4.37 4.146 4.47 4.625 4.61 4.736 4.65 4.219 4.69 5.116 4.82 4.205 4.86 4.121 4.87 5.103 5.01 4.3 5.03 4.578 5.13 3.809 5.18 5.657 5.21 4.248 5.26 3.83 5.25 4.736 5.2 4.839 5.16 4.411 5.19 4.57 5.39 4.104 5.58 4.801 5.76 3.953 5.89 3.828 5.98 4.44 6.02 4.026 5.62 4.109 4.87 4.785
 
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 time8 seconds
R Server'George Udny Yule' @ 72.249.76.132


Multiple Linear Regression - Estimated Regression Equation
Lening[t] = + 5.21136043574033 -0.240415648462039Huis[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)5.211360435740330.7060477.38100
Huis-0.2404156484620390.155077-1.55030.1255810.06279


Multiple Linear Regression - Regression Statistics
Multiple R0.182194206333795
R-squared0.0331947288216015
Adjusted R-squared0.0193832249476245
F-TEST (value)2.40341161429533
F-TEST (DF numerator)1
F-TEST (DF denominator)70
p-value0.125580634006007
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.862933170964766
Sum Squared Residuals52.1257560285915


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
14.244.40524676644709-0.165246766447087
24.154.44539617974028-0.295396179740276
33.934.27325857544146-0.343258575441456
43.74.2102696755444-0.510269675544402
53.74.37014608177166-0.670146081771658
63.654.21483757286518-0.564837572865181
73.554.29874263417843-0.748742634178433
83.434.31917796429771-0.889177964297706
93.474.26195903996374-0.79195903996374
103.584.31220591049231-0.732205910492306
113.674.43169248777794-0.76169248777794
123.724.15184867296813-0.431848672968126
133.84.05399950404408-0.253999504044077
143.764.27181608155068-0.511816081550684
153.633.94917828131463-0.319178281314628
163.484.26484402774529-0.784844027745285
173.414.24873617929833-0.838736179298328
183.433.8746494302914-0.444649430291396
193.54.26845026247222-0.768450262472215
203.624.30763801317153-0.687638013171528
213.584.21652048240442-0.636520482404415
223.524.09727432076724-0.577274320767244
233.454.25065950448602-0.800659504486024
243.364.17564982216587-0.815649822165869
253.274.21531840416210-0.945318404162105
263.214.14655952870196-0.936559528701962
273.193.95663116641695-0.766631166416951
283.164.02635170447094-0.866351704470942
293.123.82632588495053-0.706325884950526
303.063.86695612954061-0.80695612954061
313.014.21051009119286-1.20051009119286
322.984.01841798807170-1.03841798807170
332.973.95927573855003-0.989275738550033
343.024.06818402730334-1.04818402730334
353.074.13165375849732-1.06165375849732
363.183.83329793875592-0.653297938755925
373.293.83353835440439-0.543538354404387
383.433.99966556749166-0.569665567491656
393.613.74434414882497-0.134344148824971
403.744.03236209568249-0.292362095682493
413.873.92056881914765-0.0505688191476452
423.883.870321948619080.00967805138092084
434.094.10088055549417-0.0108805554941746
444.194.073954002866430.116045997133574
454.24.006637621297060.193362378702945
464.293.937397914539990.352602085460012
474.374.214597157216720.155402842783281
484.474.09943806160340.370561938396598
494.614.072751924624120.537248075375884
504.654.197046814878990.452953185121010
514.693.981393978208540.708606021791459
524.824.200412633957460.619587366042542
534.864.220607548428270.63939245157173
544.873.984519381638550.885480618361452
555.014.177573147353560.832426852646435
565.034.110737597081120.919262402918882
575.134.295617230748430.834382769251574
585.183.851329112390581.32867088760942
595.214.190074761073591.01992523892641
605.264.290568502130720.969431497869277
615.254.072751924624121.17724807537588
625.24.047989112832531.15201088716747
635.164.150887010374281.00911298962572
645.194.112660922268811.07733907773119
655.394.224694614452121.16530538554788
665.584.057124907474081.52287509252592
675.764.260997377369891.49900262263011
685.894.291049333427651.59895066657235
695.984.143914956568881.83608504343112
706.024.243447035032161.77655296496784
715.624.223492536209811.39650746379019
724.874.060971557849480.809028442150524


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.01769303637703940.03538607275407890.98230696362296
60.003567592143624450.00713518428724890.996432407856376
70.001944294123443060.003888588246886110.998055705876557
80.001957769159647170.003915538319294350.998042230840353
90.0007081875360733540.001416375072146710.999291812463927
100.0002407156868507290.0004814313737014580.99975928431315
110.0001346594298593710.0002693188597187420.99986534057014
125.20234986537778e-050.0001040469973075560.999947976501346
132.52990842040531e-055.05981684081061e-050.999974700915796
147.02630076004432e-061.40526015200886e-050.99999297369924
151.81111026660676e-063.62222053321353e-060.999998188889733
169.17608129057805e-071.83521625811561e-060.99999908239187
176.11638068401631e-071.22327613680326e-060.999999388361932
181.55291801321844e-073.10583602643689e-070.999999844708199
197.19418306917439e-081.43883661383488e-070.99999992805817
202.69940392075777e-085.39880784151553e-080.99999997300596
219.21388219769308e-091.84277643953862e-080.999999990786118
222.69106547109863e-095.38213094219726e-090.999999997308935
231.86764659327223e-093.73529318654446e-090.999999998132353
241.51815449442456e-093.03630898884912e-090.999999998481846
253.29231936680435e-096.58463873360871e-090.99999999670768
266.41058397086951e-091.28211679417390e-080.999999993589416
273.34603448203515e-096.6920689640703e-090.999999996653965
282.96661950766719e-095.93323901533438e-090.99999999703338
299.68561963087527e-101.93712392617505e-090.999999999031438
304.26640623129398e-108.53281246258796e-100.99999999957336
311.48594287055889e-082.97188574111778e-080.999999985140571
324.14501654468861e-088.29003308937723e-080.999999958549834
336.87848371831897e-081.37569674366379e-070.999999931215163
344.12373247227694e-078.24746494455389e-070.999999587626753
358.54757958023726e-061.70951591604745e-050.99999145242042
366.75692434428835e-061.35138486885767e-050.999993243075656
376.2217921691828e-061.24435843383656e-050.99999377820783
381.54814742884605e-053.0962948576921e-050.999984518525711
393.55336859995537e-057.10673719991074e-050.999964466314
400.0001177880169281980.0002355760338563950.999882211983072
410.0003587241432866840.0007174482865733690.999641275856713
420.0009094263314433610.001818852662886720.999090573668557
430.004299605811674160.008599211623348320.995700394188326
440.01686003375622730.03372006751245470.983139966243773
450.04703678341383120.09407356682766240.952963216586169
460.1040722740910470.2081445481820940.895927725908953
470.2712346143276160.5424692286552320.728765385672384
480.4619791721443620.9239583442887250.538020827855638
490.6316777092440290.7366445815119420.368322290755971
500.8025324216820720.3949351566358550.197467578317928
510.8687520373282910.2624959253434170.131247962671709
520.9318217338007240.1363565323985520.0681782661992761
530.9686140986913460.06277180261730820.0313859013086541
540.9754348985376010.04913020292479710.0245651014623985
550.9836821841772180.03263563164556420.0163178158227821
560.9865500443934230.02689991121315460.0134499556065773
570.9921582999017140.01568340019657270.00784170009828635
580.9925154186020580.01496916279588480.0074845813979424
590.9920680812920680.01586383741586350.00793191870793176
600.9960496774122790.007900645175442590.00395032258772129
610.9928839862009570.01423202759808600.00711601379904299
620.9865245117611230.02695097647775430.0134754882388771
630.9822389147504480.03552217049910460.0177610852495523
640.9702658491215530.05946830175689460.0297341508784473
650.9615620505181560.07687589896368780.0384379494818439
660.9425227863790720.1149544272418550.0574772136209276
670.8780561784733470.2438876430533060.121943821526653


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level390.619047619047619NOK
5% type I error level500.793650793650794NOK
10% type I error level540.857142857142857NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/27/t1293481891fd1bqbrkdxxn772/10f9q1293482010.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/27/t1293481891fd1bqbrkdxxn772/10f9q1293482010.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/27/t1293481891fd1bqbrkdxxn772/10ofo21293482010.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/27/t1293481891fd1bqbrkdxxn772/10ofo21293482010.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/27/t1293481891fd1bqbrkdxxn772/2toqt1293482010.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/27/t1293481891fd1bqbrkdxxn772/2toqt1293482010.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/27/t1293481891fd1bqbrkdxxn772/3toqt1293482010.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/27/t1293481891fd1bqbrkdxxn772/3toqt1293482010.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/27/t1293481891fd1bqbrkdxxn772/4toqt1293482010.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/27/t1293481891fd1bqbrkdxxn772/4toqt1293482010.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/27/t1293481891fd1bqbrkdxxn772/53x8w1293482010.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/27/t1293481891fd1bqbrkdxxn772/53x8w1293482010.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/27/t1293481891fd1bqbrkdxxn772/63x8w1293482010.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/27/t1293481891fd1bqbrkdxxn772/63x8w1293482010.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/27/t1293481891fd1bqbrkdxxn772/7e67z1293482010.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/27/t1293481891fd1bqbrkdxxn772/7e67z1293482010.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/27/t1293481891fd1bqbrkdxxn772/8e67z1293482010.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/27/t1293481891fd1bqbrkdxxn772/8e67z1293482010.ps (open in new window)


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