Home » date » 2008 » Nov » 27 »

seatbelt law q3

*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: Thu, 27 Nov 2008 02:16:09 -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/27/t1227777505fa50lu7psybwly6.htm/, Retrieved Thu, 27 Nov 2008 09:18:25 +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/27/t1227777505fa50lu7psybwly6.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:
jenske_cole@hotmail.com
 
Dataseries X:
» Textbox « » Textfile « » CSV «
98,6 0 98 0 106,8 0 96,6 0 100,1 0 107,7 0 91,5 0 97,8 0 107,4 1 117,5 1 105,6 1 97,4 1 99,5 1 98 1 104,3 1 100,6 1 101,1 1 103,9 1 96,9 1 95,5 1 108,4 1 117 1 103,8 1 100,8 1 110,6 1 104 1 112,6 1 107,3 1 98,9 1 109,8 1 104,9 1 102,2 1 123,9 1 124,9 1 112,7 1 121,9 1 100,6 1 104,3 1 120,4 1 107,5 1 102,9 1 125,6 1 107,5 1 108,8 1 128,4 1 121,1 1 119,5 1 128,7 1 108,7 1 105,5 1 119,8 1 111,3 1 110,6 1 120,1 1 97,5 1 107,7 1 127,3 1 117,2 1 119,8 1 116,2 1 111 1 112,4 1 130,6 1 109,1 1 118,8 1 123,9 1 101,6 1 112,8 1 128 1 129,6 1 125,8 1 119,5 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 time7 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Multiple Linear Regression - Estimated Regression Equation
x[t] = + 105.493333333333 + 8.58999999999997y[t] -7.8183333333333M1[t] -8.95166666666667M2[t] + 3.09833333333333M3[t] -7.25166666666668M4[t] -7.25166666666667M5[t] + 2.51499999999999M6[t] -12.6683333333333M7[t] -8.51833333333334M8[t] + 6.48333333333334M9[t] + 7.13333333333333M10[t] + 0.449999999999998M11[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)105.4933333333334.2398224.881600
y8.589999999999972.9180442.94380.0046310.002316
M1-7.81833333333334.377066-1.78620.0792050.039602
M2-8.951666666666674.377066-2.04510.045310.022655
M33.098333333333334.3770660.70790.4818220.240911
M4-7.251666666666684.377066-1.65670.1028810.05144
M5-7.251666666666674.377066-1.65670.1028810.05144
M62.514999999999994.3770660.57460.5677560.283878
M7-12.66833333333334.377066-2.89430.0053190.00266
M8-8.518333333333344.377066-1.94610.0564070.028203
M96.483333333333344.3499631.49040.1414370.070719
M107.133333333333334.3499631.63990.1063560.053178
M110.4499999999999984.3499630.10340.9179570.458979


Multiple Linear Regression - Regression Statistics
Multiple R0.735545441109676
R-squared0.541027095937227
Adjusted R-squared0.447676674771918
F-TEST (value)5.79565779332853
F-TEST (DF numerator)12
F-TEST (DF denominator)59
p-value1.69699007579460e-06
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation7.53435746251008
Sum Squared Residuals3349.226


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
198.697.67499999999980.92500000000019
29896.54166666666671.45833333333331
3106.8108.591666666667-1.79166666666669
496.698.2416666666667-1.64166666666669
5100.198.24166666666671.8583333333333
6107.7108.008333333333-0.308333333333358
791.592.825-1.32500000000003
897.896.9750.824999999999976
9107.4120.566666666667-13.1666666666667
10117.5121.216666666667-3.71666666666667
11105.6114.533333333333-8.93333333333334
1297.4114.083333333333-16.6833333333333
1399.5106.265-6.76500000000003
1498105.131666666667-7.13166666666666
15104.3117.181666666667-12.8816666666667
16100.6106.831666666667-6.23166666666666
17101.1106.831666666667-5.73166666666666
18103.9116.598333333333-12.6983333333333
1996.9101.415-4.51499999999999
2095.5105.565-10.065
21108.4120.566666666667-12.1666666666667
22117121.216666666667-4.21666666666667
23103.8114.533333333333-10.7333333333333
24100.8114.083333333333-13.2833333333333
25110.6106.2654.33499999999996
26104105.131666666667-1.13166666666666
27112.6117.181666666667-4.58166666666666
28107.3106.8316666666670.468333333333339
2998.9106.831666666667-7.93166666666665
30109.8116.598333333333-6.79833333333333
31104.9101.4153.48500000000001
32102.2105.565-3.36499999999999
33123.9120.5666666666673.33333333333334
34124.9121.2166666666673.68333333333334
35112.7114.533333333333-1.83333333333333
36121.9114.0833333333337.81666666666668
37100.6106.265-5.66500000000004
38104.3105.131666666667-0.831666666666666
39120.4117.1816666666673.21833333333335
40107.5106.8316666666670.668333333333341
41102.9106.831666666667-3.93166666666665
42125.6116.5983333333339.00166666666667
43107.5101.4156.085
44108.8105.5653.23500000000000
45128.4120.5666666666677.83333333333333
46121.1121.216666666667-0.116666666666671
47119.5114.5333333333334.96666666666667
48128.7114.08333333333314.6166666666667
49108.7106.2652.43499999999997
50105.5105.1316666666670.368333333333337
51119.8117.1816666666672.61833333333334
52111.3106.8316666666674.46833333333334
53110.6106.8316666666673.76833333333333
54120.1116.5983333333333.50166666666667
5597.5101.415-3.91499999999999
56107.7105.5652.13500000000001
57127.3120.5666666666676.73333333333333
58117.2121.216666666667-4.01666666666666
59119.8114.5333333333335.26666666666667
60116.2114.0833333333332.11666666666667
61111106.2654.73499999999996
62112.4105.1316666666677.26833333333335
63130.6117.18166666666713.4183333333333
64109.1106.8316666666672.26833333333334
65118.8106.83166666666711.9683333333333
66123.9116.5983333333337.30166666666668
67101.6101.4150.184999999999998
68112.8105.5657.235
69128120.5666666666677.43333333333333
70129.6121.2166666666678.38333333333332
71125.8114.53333333333311.2666666666667
72119.5114.0833333333335.41666666666667


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.02317355917439290.04634711834878590.976826440825607
170.004988597258102380.009977194516204760.995011402741898
180.004570495047131110.009140990094262230.995429504952869
190.004673626269049470.009347252538098940.99532637373095
200.002338476838466640.004676953676933280.997661523161533
210.001237127711414430.002474255422828860.998762872288586
220.0003941527483653190.0007883054967306380.999605847251635
230.0002398684985332440.0004797369970664890.999760131501467
240.000535557270416710.001071114540833420.999464442729583
250.02616340883981680.05232681767963360.973836591160183
260.02545828096430270.05091656192860550.974541719035697
270.0401802965532140.0803605931064280.959819703446786
280.05462414666616830.1092482933323370.945375853333832
290.06146616889709030.1229323377941810.93853383110291
300.08699657833310370.1739931566662070.913003421666896
310.1427914655775850.2855829311551700.857208534422415
320.1427024278732920.2854048557465850.857297572126708
330.4344286759621790.8688573519243580.565571324037821
340.4316994316290770.8633988632581540.568300568370923
350.518913850386680.962172299226640.48108614961332
360.8441506378779120.3116987242441760.155849362122088
370.8565165392412670.2869669215174650.143483460758733
380.8250752112601070.3498495774797860.174924788739893
390.846156210315960.3076875793680820.153843789684041
400.8054567315138340.3890865369723320.194543268486166
410.8684288993706890.2631422012586220.131571100629311
420.9127553554046740.1744892891906520.087244644595326
430.9267061440951540.1465877118096920.073293855904846
440.9047687681595920.1904624636808170.0952312318404083
450.9056994500520240.1886010998959510.0943005499479756
460.8623798873143730.2752402253712540.137620112685627
470.8453987436362050.309202512727590.154601256363795
480.9455523229155530.1088953541688930.0544476770844466
490.9129920519111030.1740158961777930.0870079480888967
500.8926094777103680.2147810445792630.107390522289632
510.922685395305860.1546292093882800.0773146046941399
520.8736863884956250.2526272230087500.126313611504375
530.8724818183015530.2550363633968940.127518181698447
540.8031675461289520.3936649077420970.196832453871048
550.7034107765132210.5931784469735580.296589223486779
560.5852653783452860.8294692433094280.414734621654714


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level80.195121951219512NOK
5% type I error level90.219512195121951NOK
10% type I error level120.292682926829268NOK
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/27/t1227777505fa50lu7psybwly6/10xkhi1227777357.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/27/t1227777505fa50lu7psybwly6/10xkhi1227777357.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/27/t1227777505fa50lu7psybwly6/19f5f1227777357.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/27/t1227777505fa50lu7psybwly6/19f5f1227777357.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/27/t1227777505fa50lu7psybwly6/2rzd51227777357.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/27/t1227777505fa50lu7psybwly6/2rzd51227777357.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/27/t1227777505fa50lu7psybwly6/3iyhf1227777357.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/27/t1227777505fa50lu7psybwly6/3iyhf1227777357.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/27/t1227777505fa50lu7psybwly6/4s3wl1227777357.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/27/t1227777505fa50lu7psybwly6/4s3wl1227777357.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/27/t1227777505fa50lu7psybwly6/52um11227777357.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/27/t1227777505fa50lu7psybwly6/52um11227777357.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/27/t1227777505fa50lu7psybwly6/60cyg1227777357.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/27/t1227777505fa50lu7psybwly6/60cyg1227777357.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/27/t1227777505fa50lu7psybwly6/7owuz1227777357.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/27/t1227777505fa50lu7psybwly6/7owuz1227777357.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/27/t1227777505fa50lu7psybwly6/8lopd1227777357.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/27/t1227777505fa50lu7psybwly6/8lopd1227777357.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/27/t1227777505fa50lu7psybwly6/9iadv1227777357.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/27/t1227777505fa50lu7psybwly6/9iadv1227777357.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