Home » date » 2010 » Dec » 19 »

autoregressie

*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, 19 Dec 2010 09:49:17 +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/19/t1292752064g3n3qpiwtvgbx1q.htm/, Retrieved Sun, 19 Dec 2010 10:47:47 +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/19/t1292752064g3n3qpiwtvgbx1q.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 «
10681 5588 5245 3995 3111 10516 10681 5588 5245 3995 7496 10516 10681 5588 5245 9935 7496 10516 10681 5588 10249 9935 7496 10516 10681 6271 10249 9935 7496 10516 3616 6271 10249 9935 7496 3724 3616 6271 10249 9935 2886 3724 3616 6271 10249 3318 2886 3724 3616 6271 4166 3318 2886 3724 3616 6401 4166 3318 2886 3724 9209 6401 4166 3318 2886 9820 9209 6401 4166 3318 7470 9820 9209 6401 4166 8207 7470 9820 9209 6401 9564 8207 7470 9820 9209 5309 9564 8207 7470 9820 3385 5309 9564 8207 7470 3706 3385 5309 9564 8207 2733 3706 3385 5309 9564 3045 2733 3706 3385 5309 3449 3045 2733 3706 3385 5542 3449 3045 2733 3706 10072 5542 3449 3045 2733 9418 10072 5542 3449 3045 7516 9418 10072 5542 3449 7840 7516 9418 10072 5542 10081 7840 7516 9418 10072 4956 10081 7840 7516 9418 3641 4956 10081 7840 7516 3970 3641 4956 10081 7840 2931 3970 3641 4956 10081 3170 2931 3970 3641 4956 3889 3170 2931 3970 3641 4850 3889 3170 2931 3970 8037 4850 3889 3170 2931 12370 8037 4850 3889 3170 6712 12370 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'RServer@AstonUniversity' @ vre.aston.ac.uk


Multiple Linear Regression - Estimated Regression Equation
Huwelijken[t] = + 6214.96128800579 -0.175516351406775Y1[t] -0.106575914618364Y2[t] + 0.0271398679986119Y3[t] + 0.073760150845012Y4[t] + 4031.97577374594M1[t] + 5971.83245211946M2[t] + 3751.46212297632M3[t] + 4520.05202572045M4[t] + 5476.46010737663M5[t] + 1224.78647547959M6[t] -1311.17591604365M7[t] -2074.6126564527M8[t] -3196.31196964168M9[t] -2550.02236330078M10[t] -1903.49497481489M11[t] -2.59492029511821t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)6214.961288005791103.2332085.633400
Y1-0.1755163514067750.125627-1.39710.1672790.083639
Y2-0.1065759146183640.125055-0.85220.3973120.198656
Y30.02713986799861190.1247620.21750.8284950.414248
Y40.0737601508450120.1262510.58420.5611480.280574
M14031.97577374594548.5196027.350700
M25971.83245211946932.5175646.40400
M33751.462122976321381.1539692.71620.0085140.004257
M44520.052025720451571.1232172.8770.0054740.002737
M55476.460107376631728.2337473.16880.0023620.001181
M61224.786475479591779.2789320.68840.4937520.246876
M7-1311.175916043651553.168165-0.84420.4017550.200878
M8-2074.61265645271387.083795-1.49570.1397340.069867
M9-3196.311969641681036.867145-3.08270.0030430.001521
M10-2550.02236330078566.083573-4.50472.9e-051.5e-05
M11-1903.49497481489503.278873-3.78220.0003480.000174
t-2.594920295118214.295635-0.60410.5479580.273979


Multiple Linear Regression - Regression Statistics
Multiple R0.965373182951927
R-squared0.931945382362735
Adjusted R-squared0.914661669946921
F-TEST (value)53.9204402354016
F-TEST (DF numerator)16
F-TEST (DF denominator)63
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation839.615049495978
Sum Squared Residuals44412066.1744284


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1106819042.457699555531638.54230044447
21051610148.3879495504367.612050449628
374967513.1009282227-17.1009282226929
499358990.26339728897944.73660271103
51024910209.033809750239.9661902497656
662715545.58164121692725.418358783078
736163515.20202060124100.797979398761
837243827.54818769646-103.548187696455
928862882.455534039033.54446596096899
1033183296.2484941871421.7515058128584
1141663760.76642027071405.233579729285
1264015452.01070059083948.989299409166
1392098948.64954961842260.350450381579
14982010209.7432170024-389.743217002425
1574707703.47852149972-233.478521499725
1682079057.88173240155-850.881732401546
17956410356.4937050489-792.49370504891
1853095766.79177729359-457.791777293586
1933853677.09875280315-292.098752803146
2037063793.43110095364-87.4311009536374
2127332802.46056475628-69.4605647562788
2230453216.65524425351-171.655244253511
2334493776.32234313078-327.322343130782
2455425570.33202317989-28.3320231798896
25100729125.99949567388946.00050432612
26941810079.0864663184-661.08646631844
2775167574.7228621415-58.7228621415015
2878409021.57419087894-1181.57419087894
291008110437.6114536451-356.611453645136
3049565655.62099402805-699.620994028046
3136413646.249868834-5.24986883400449
3239703741.94250570753228.05749429247
3329312726.25539488453204.744605115468
3431703103.5383946336666.461605366341
3538893728.18924833704160.810751662962
3648505473.490169379-623.490169379002
3780379187.42135824101-1150.42135824101
381237010500.03529158071869.96470841927
3967127256.01521321242-544.015213212417
4072978710.66653815323-1413.66653815323
411061310517.479807633195.5201923669351
4251845784.89748459958-600.897484599585
4335063444.3546009922461.6453990077638
4438103684.58550893946125.414491060541
4526922783.01500619491-91.0150061949061
4630733144.55333763025-71.5533376302484
4737133725.24693523201-12.2469352320115
4845555465.29181481629-910.291814816287
4978079206.5557560896-1399.5557560896
501086910528.7735522756340.226447724432
5196827491.850625886482190.14937411352
5277048290.2129646369-586.212964636895
53982610040.6733660923-214.673366092279
5454565818.40483390314-362.40483390314
5536773679.46392895795-2.4639289579463
5634313603.1058258103-172.1058258103
5727652749.5049838175115.4950161824862
5834833165.6975505341317.3024494659
5934453616.6931216697-171.693121669697
6060815411.521141652669.478858348005
6187678952.65294231028-185.65294231028
62940710189.4721428988-782.47214289885
6365517636.65132820756-1085.65132820756
64124809103.04186799033376.95813200971
6595309536.08867469944-6.08867469943836
6659605137.39979492176822.60020507824
6732523490.08809230019-238.088092300188
6837173937.09205015729-220.092050157292
6926422705.30851630774-63.3085163077388
7029893151.30697876134-162.306978761339
7136073661.78193135976-54.7819313597573
7253665422.35415038199-56.3541503819943
7388989007.26319851128-109.26319851128
74943510179.5013803736-744.501380373613
7573287579.18052082963-251.180520829627
7685948883.35930865013-289.35930865013
771134910114.61918313091234.38081686906
7857975224.30347403696572.69652596304
7936213245.54273551124375.457264488761
8038513621.29482073533229.705179264674


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
200.145476985584130.290953971168260.85452301441587
210.1047726516920180.2095453033840370.895227348307982
220.05024181304611350.1004836260922270.949758186953887
230.02088409207624210.04176818415248420.979115907923758
240.007920583529494270.01584116705898850.992079416470506
250.04322029015366410.08644058030732810.956779709846336
260.02156078656805160.04312157313610310.978439213431948
270.0136418893424960.02728377868499210.986358110657504
280.009486981902435360.01897396380487070.990513018097565
290.01215447552882660.02430895105765330.987845524471173
300.006894086137479850.01378817227495970.99310591386252
310.005649177338027180.01129835467605440.994350822661973
320.004886789175372250.009773578350744490.995113210824628
330.003488657450294020.006977314900588050.996511342549706
340.001698271957285820.003396543914571640.998301728042714
350.000886974219593030.001773948439186060.999113025780407
360.0008798941537492920.001759788307498580.99912010584625
370.001870507632078490.003741015264156990.998129492367921
380.1459593992040910.2919187984081820.854040600795909
390.1279634378292670.2559268756585340.872036562170733
400.136821949985030.2736438999700610.86317805001497
410.09605518978569380.1921103795713880.903944810214306
420.08705047377559660.1741009475511930.912949526224403
430.07572436736824330.1514487347364870.924275632631757
440.05086163966535110.1017232793307020.949138360334649
450.03296095950202190.06592191900404380.967039040497978
460.02034568056394220.04069136112788430.979654319436058
470.01220353187088480.02440706374176960.987796468129115
480.01076034542266390.02152069084532780.989239654577336
490.02431845168834570.04863690337669140.975681548311654
500.01542551213670620.03085102427341230.984574487863294
510.3031940220572790.6063880441145590.69680597794272
520.2892296292903470.5784592585806930.710770370709653
530.3019755462126690.6039510924253390.69802445378733
540.2771110016374140.5542220032748270.722888998362586
550.2358163259967750.4716326519935510.764183674003225
560.3074843002525130.6149686005050270.692515699747487
570.267347518032550.5346950360651010.73265248196745
580.211743844939840.423487689879680.78825615506016
590.1485569172514950.297113834502990.851443082748505
600.09514392225351810.1902878445070360.904856077746482


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level60.146341463414634NOK
5% type I error level190.463414634146341NOK
10% type I error level210.51219512195122NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/19/t1292752064g3n3qpiwtvgbx1q/103zjn1292752147.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/19/t1292752064g3n3qpiwtvgbx1q/103zjn1292752147.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/19/t1292752064g3n3qpiwtvgbx1q/1p73w1292752147.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/19/t1292752064g3n3qpiwtvgbx1q/1p73w1292752147.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/19/t1292752064g3n3qpiwtvgbx1q/2p73w1292752147.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/19/t1292752064g3n3qpiwtvgbx1q/2p73w1292752147.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/19/t1292752064g3n3qpiwtvgbx1q/3p73w1292752147.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/19/t1292752064g3n3qpiwtvgbx1q/3p73w1292752147.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/19/t1292752064g3n3qpiwtvgbx1q/4iz2h1292752147.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/19/t1292752064g3n3qpiwtvgbx1q/4iz2h1292752147.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/19/t1292752064g3n3qpiwtvgbx1q/5iz2h1292752147.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/19/t1292752064g3n3qpiwtvgbx1q/5iz2h1292752147.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/19/t1292752064g3n3qpiwtvgbx1q/6t82k1292752147.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/19/t1292752064g3n3qpiwtvgbx1q/6t82k1292752147.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/19/t1292752064g3n3qpiwtvgbx1q/7t82k1292752147.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/19/t1292752064g3n3qpiwtvgbx1q/7t82k1292752147.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/19/t1292752064g3n3qpiwtvgbx1q/83zjn1292752147.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/19/t1292752064g3n3qpiwtvgbx1q/83zjn1292752147.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/19/t1292752064g3n3qpiwtvgbx1q/93zjn1292752147.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/19/t1292752064g3n3qpiwtvgbx1q/93zjn1292752147.ps (open in new window)


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