Home » date » 2008 » Nov » 22 »

Q3 - Bob Leysen - Seatbelt Law

*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: Sat, 22 Nov 2008 08:53:14 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/Nov/22/t12273692446xdv89pemxjl4ob.htm/, Retrieved Sat, 22 Nov 2008 15:54:13 +0000
 
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/2008/Nov/22/t12273692446xdv89pemxjl4ob.htm/},
    year = {2008},
}
@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 = {2008},
    note = {{ISBN} 3-900051-07-0},
    url = {http://www.R-project.org},
}
 
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
 
Feedback Forum:

Post a new message
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
15107 0 15024 0 12083 0 15761 0 16943 0 15070 0 13660 0 14769 0 14725 0 15998 0 15371 0 14957 0 15470 0 15102 0 11704 0 16284 0 16727 0 14969 0 14861 0 14583 0 15306 0 17904 0 16379 0 15420 0 17871 0 15913 0 13867 0 17823 0 17872 0 17422 0 16705 0 15991 0 16584 0 19124 0 17839 0 17209 0 18587 0 16258 0 15142 1 19202 1 17747 1 19090 1 18040 1 17516 1 17752 1 21073 1 17170 1 19440 1 19795 1 17575 1 16165 1 19465 1 19932 1 19961 1 17343 1 18924 1 18574 1 21351 1 18595 1 19823 1 20844 1 19640 1 17735 1 19814 1 22239 1 20682 1 17819 1 21872 1 22117 1 21866 1
 
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 time3 seconds
R Server'George Udny Yule' @ 72.249.76.132


Multiple Linear Regression - Estimated Regression Equation
x[t] = + 16027.2578125 + 3356.35546875y[t] + 799.623697916657M1[t] -560.709635416667M2[t] -3256.10221354167M3[t] + 352.731119791668M4[t] + 871.231119791667M5[t] + 160.231119791667M6[t] -1300.76888020833M7[t] -429.602213541666M8[t] -195.768880208333M9[t] + 1847.23111979167M10[t] -298.999999999999M11[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)16027.2578125569.12607428.161200
y3356.35546875301.07293611.14800
M1799.623697916657753.4179371.06130.2930170.146509
M2-560.709635416667753.417937-0.74420.45980.2299
M3-3256.10221354167753.752062-4.31996.3e-053.2e-05
M4352.731119791668753.7520620.4680.6415930.320796
M5871.231119791667753.7520621.15590.2525610.12628
M6160.231119791667753.7520620.21260.8324150.416207
M7-1300.76888020833753.752062-1.72570.0898150.044907
M8-429.602213541666753.752062-0.570.570950.285475
M9-195.768880208333753.752062-0.25970.7960110.398006
M101847.23111979167753.7520622.45070.0173490.008674
M11-298.999999999999786.640073-0.38010.7052860.352643


Multiple Linear Regression - Regression Statistics
Multiple R0.878081445256386
R-squared0.771027024503544
Adjusted R-squared0.722822187556922
F-TEST (value)15.9948061925261
F-TEST (DF numerator)12
F-TEST (DF denominator)57
p-value4.18554080283684e-14
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1243.78716549242
Sum Squared Residuals88179371.2434897


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
11510716826.8815104167-1719.88151041669
21502415466.5481770833-442.548177083334
31208312771.1555989583-688.155598958322
41576116379.9889322917-618.988932291667
51694316898.488932291744.5110677083356
61507016187.4889322917-1117.48893229167
71366014726.4889322917-1066.48893229167
81476915597.6555989583-828.655598958333
91472515831.4889322917-1106.48893229167
101599817874.4889322917-1876.48893229167
111537115728.2578125-357.2578125
121495716027.2578125-1070.2578125
131547016826.8815104167-1356.88151041666
141510215466.5481770833-364.548177083333
151170412771.1555989583-1067.15559895834
161628416379.9889322917-95.9889322916668
171672716898.4889322917-171.488932291667
181496916187.4889322917-1218.48893229167
191486114726.4889322917134.511067708333
201458315597.6555989583-1014.65559895833
211530615831.4889322917-525.488932291667
221790417874.488932291729.5110677083338
231637915728.2578125650.7421875
241542016027.2578125-607.2578125
251787116826.88151041671044.11848958334
261591315466.5481770833446.451822916667
271386712771.15559895831095.84440104166
281782316379.98893229171443.01106770833
291787216898.4889322917973.511067708333
301742216187.48893229171234.51106770833
311670514726.48893229171978.51106770833
321599115597.6555989583393.344401041666
331658415831.4889322917752.511067708333
341912417874.48893229171249.51106770833
351783915728.25781252110.7421875
361720916027.25781251181.7421875
371858716826.88151041671760.11848958334
381625815466.5481770833791.451822916667
391514216127.5110677083-985.511067708335
401920219736.3444010417-534.344401041667
411774720254.8444010417-2507.84440104167
421909019543.8444010417-453.844401041667
431804018082.8444010417-42.8444010416669
441751618954.0110677083-1438.01106770833
451775219187.8444010417-1435.84440104167
462107321230.8444010417-157.844401041667
471717019084.61328125-1914.61328125
481944019383.6132812556.3867187500005
491979520183.2369791667-388.236979166663
501757518822.9036458333-1247.90364583333
511616516127.511067708337.4889322916646
521946519736.3444010417-271.344401041667
531993220254.8444010417-322.844401041667
541996119543.8444010417417.155598958333
551734318082.8444010417-739.844401041667
561892418954.0110677083-30.0110677083335
571857419187.8444010417-613.844401041666
582135121230.8444010417120.155598958333
591859519084.61328125-489.61328125
601982319383.61328125439.38671875
612084420183.2369791667660.763020833337
621964018822.9036458333817.096354166667
631773516127.51106770831607.48893229166
641981419736.344401041777.6555989583333
652223920254.84440104171984.15559895833
662068219543.84440104171138.15559895833
671781918082.8444010417-263.844401041667
682187218954.01106770832917.98893229167
692211719187.84440104172929.15559895833
702186621230.8444010417635.155598958333


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.02030956340060870.04061912680121730.979690436599391
170.004735526900042650.00947105380008530.995264473099957
180.001089587881778530.002179175763557070.998910412118222
190.006003764026416670.01200752805283330.993996235973583
200.002305880261557170.004611760523114330.997694119738443
210.001323170588599540.002646341177199080.9986768294114
220.01407946576135720.02815893152271440.985920534238643
230.01113986221682040.02227972443364090.98886013778318
240.007142848800128910.01428569760025780.992857151199871
250.08034996040245630.1606999208049130.919650039597544
260.06080272225096630.1216054445019330.939197277749034
270.0986378219241090.1972756438482180.901362178075891
280.1205997033267350.241199406653470.879400296673265
290.09667479794057970.1933495958811590.90332520205942
300.1550445800005270.3100891600010540.844955419999473
310.2241553742463770.4483107484927540.775844625753623
320.2124658115536030.4249316231072060.787534188446397
330.2050322623247110.4100645246494220.79496773767529
340.2249965527455330.4499931054910660.775003447254467
350.2596530757981870.5193061515963740.740346924201813
360.2546532322764720.5093064645529450.745346767723527
370.2817914732291740.5635829464583480.718208526770826
380.2244120098606830.4488240197213660.775587990139317
390.1986706819180090.3973413638360180.801329318081991
400.1449236601778000.2898473203556000.8550763398222
410.2556070610895460.5112141221790920.744392938910454
420.2274810590040160.4549621180080320.772518940995984
430.1717068229853330.3434136459706650.828293177014667
440.2388536512304380.4777073024608770.761146348769562
450.3117555944079300.6235111888158590.68824440559207
460.2484925446675420.4969850893350840.751507455332458
470.2400909415616280.4801818831232550.759909058438372
480.1824200058733890.3648400117467790.81757999412661
490.1359854988068910.2719709976137810.86401450119311
500.132620623165620.265241246331240.86737937683438
510.1131588037381130.2263176074762260.886841196261887
520.06554771409590390.1310954281918080.934452285904096
530.07171213276796310.1434242655359260.928287867232037
540.04027931174946450.0805586234989290.959720688250535


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level40.102564102564103NOK
5% type I error level90.230769230769231NOK
10% type I error level100.256410256410256NOK
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/22/t12273692446xdv89pemxjl4ob/10nkno1227369189.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/22/t12273692446xdv89pemxjl4ob/10nkno1227369189.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/22/t12273692446xdv89pemxjl4ob/1zuhb1227369189.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/22/t12273692446xdv89pemxjl4ob/1zuhb1227369189.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/22/t12273692446xdv89pemxjl4ob/2fdm41227369189.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/22/t12273692446xdv89pemxjl4ob/2fdm41227369189.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/22/t12273692446xdv89pemxjl4ob/32ent1227369189.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/22/t12273692446xdv89pemxjl4ob/32ent1227369189.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/22/t12273692446xdv89pemxjl4ob/48z791227369189.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/22/t12273692446xdv89pemxjl4ob/48z791227369189.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/22/t12273692446xdv89pemxjl4ob/5g5rr1227369189.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/22/t12273692446xdv89pemxjl4ob/5g5rr1227369189.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/22/t12273692446xdv89pemxjl4ob/63pce1227369189.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/22/t12273692446xdv89pemxjl4ob/63pce1227369189.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/22/t12273692446xdv89pemxjl4ob/7isrq1227369189.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/22/t12273692446xdv89pemxjl4ob/7isrq1227369189.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/22/t12273692446xdv89pemxjl4ob/82p1t1227369189.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/22/t12273692446xdv89pemxjl4ob/82p1t1227369189.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/22/t12273692446xdv89pemxjl4ob/91p5v1227369189.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/22/t12273692446xdv89pemxjl4ob/91p5v1227369189.ps (open in new window)


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