Home » date » 2008 » Nov » 24 »

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: Mon, 24 Nov 2008 10:25:36 -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/24/t1227547709a2we7tychqn3xy9.htm/, Retrieved Mon, 24 Nov 2008 17:28:29 +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/24/t1227547709a2we7tychqn3xy9.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 «
98,6 0 98 0 106,8 0 96,7 0 100,2 0 107,7 0 92 0 98,4 0 107,4 0 117,7 0 105,7 0 97,5 0 99,9 0 98,2 0 104,5 0 100,8 0 101,5 0 103,9 0 99,6 0 98,4 0 112,7 0 118,4 0 108,1 0 105,4 0 114,6 0 106,9 0 115,9 0 109,8 0 101,8 0 114,2 0 110,8 0 108,4 0 127,5 1 128,6 1 116,6 1 127,4 1 105 1 108,3 1 125 1 111,6 1 106,5 1 130,3 1 115 1 116,1 1 134 1 126,5 1 125,8 1 136,4 1 114,9 1 110,9 1 125,5 1 116,8 1 116,8 1 125,5 1 104,2 1 115,1 1 132,8 1 123,3 1 124,8 1 122 1 117,4 1 117,9 1 137,4 1 114,6 1 124,7 1 129,6 1 109,4 1 120,9 1 134,9 1 136,3 1 133,2 1 127,2 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 time6 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 103.842307692308 + 5.36153846153846D[t] -6.90641025641023M1[t] -8.8897435897436M2[t] + 3.31025641025641M3[t] -7.77307692307693M4[t] -7.85641025641026M5[t] + 1.81025641025641M6[t] -11.8397435897436M7[t] -7.73974358974359M8[t] + 6.41666666666667M9[t] + 6.38333333333333M10[t] -6.2461389791266e-15M11[t] + 0.283333333333333t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)103.8423076923082.4642242.1400
D5.361538461538462.4130542.22190.0302060.015103
M1-6.906410256410232.962447-2.33130.0232330.011616
M2-8.88974358974362.957373-3.0060.0039080.001954
M33.310256410256412.953421.12080.2669830.133492
M4-7.773076923076932.950593-2.63440.010790.005395
M5-7.856410256410262.948896-2.66420.0099760.004988
M61.810256410256412.948330.6140.541620.27081
M7-11.83974358974362.948896-4.0150.0001738.6e-05
M8-7.739743589743592.950593-2.62310.0111140.005557
M96.416666666666672.946372.17780.0334990.01675
M106.383333333333332.9435372.16860.0342280.017114
M11-6.2461389791266e-152.941836010.5
t0.2833333333333330.0577724.90438e-064e-06


Multiple Linear Regression - Regression Statistics
Multiple R0.920304038737113
R-squared0.846959523715841
Adjusted R-squared0.812657347996978
F-TEST (value)24.6911312756785
F-TEST (DF numerator)13
F-TEST (DF denominator)58
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation5.09442622902778
Sum Squared Residuals1505.28435897436


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
198.697.21923076923061.38076923076939
29895.51923076923082.48076923076922
3106.8108.002564102564-1.20256410256411
496.797.202564102564-0.502564102564097
5100.297.40256410256412.79743589743590
6107.7107.3525641025640.347435897435890
79293.9858974358974-1.98589743589744
898.498.36923076923080.0307692307692309
9107.4112.808974358974-5.40897435897437
10117.7113.0589743589744.64102564102563
11105.7106.958974358974-1.25897435897436
1297.5107.242307692308-9.7423076923077
1399.9100.619230769231-0.719230769230802
1498.298.9192307692308-0.719230769230773
15104.5111.402564102564-6.90256410256411
16100.8100.6025641025640.197435897435894
17101.5100.8025641025640.697435897435894
18103.9110.752564102564-6.8525641025641
1999.697.38589743589742.21410256410256
2098.4101.769230769231-3.36923076923077
21112.7116.208974358974-3.50897435897436
22118.4116.4589743589741.94102564102564
23108.1110.358974358974-2.25897435897436
24105.4110.642307692308-5.24230769230769
25114.6104.01923076923110.5807692307692
26106.9102.3192307692314.58076923076923
27115.9114.8025641025641.09743589743590
28109.8104.0025641025645.7974358974359
29101.8104.202564102564-2.40256410256411
30114.2114.1525641025640.0474358974358975
31110.8100.78589743589710.0141025641026
32108.4105.1692307692313.23076923076923
33127.5124.9705128205132.52948717948717
34128.6125.2205128205133.37948717948717
35116.6119.120512820513-2.52051282051283
36127.4119.4038461538467.99615384615385
37105112.780769230769-7.78076923076927
38108.3111.080769230769-2.78076923076924
39125123.5641025641031.43589743589743
40111.6112.764102564103-1.16410256410257
41106.5112.964102564103-6.46410256410257
42130.3122.9141025641037.38589743589745
43115109.5474358974365.4525641025641
44116.1113.9307692307692.16923076923076
45134128.3705128205135.62948717948718
46126.5128.620512820513-2.12051282051282
47125.8122.5205128205133.27948717948718
48136.4122.80384615384613.5961538461538
49114.9116.180769230769-1.28076923076926
50110.9114.480769230769-3.58076923076923
51125.5126.964102564103-1.46410256410256
52116.8116.1641025641030.635897435897439
53116.8116.3641025641030.435897435897437
54125.5126.314102564103-0.814102564102563
55104.2112.947435897436-8.74743589743589
56115.1117.330769230769-2.23076923076923
57132.8131.7705128205131.02948717948719
58123.3132.020512820513-8.72051282051282
59124.8125.920512820513-1.12051282051281
60122126.203846153846-4.20384615384615
61117.4119.580769230769-2.18076923076925
62117.9117.8807692307690.0192307692307785
63137.4130.3641025641037.03589743589745
64114.6119.564102564103-4.96410256410256
65124.7119.7641025641034.93589743589745
66129.6129.714102564103-0.114102564102566
67109.4116.347435897436-6.94743589743589
68120.9120.7307692307690.169230769230778
69134.9135.170512820513-0.270512820512813
70136.3135.4205128205130.879487179487195
71133.2129.3205128205133.87948717948718
72127.2129.603846153846-2.40384615384615


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.05184188298439240.1036837659687850.948158117015608
180.04996001390649590.09992002781299190.950039986093504
190.09010643029079050.1802128605815810.90989356970921
200.04519650491900510.09039300983801020.954803495080995
210.03561029256378330.07122058512756660.964389707436217
220.01610655144675860.03221310289351720.983893448553241
230.007760992993423940.01552198598684790.992239007006576
240.01821473808164810.03642947616329610.981785261918352
250.1606940845114730.3213881690229460.839305915488527
260.1218560063078560.2437120126157120.878143993692144
270.1028466755316720.2056933510633450.897153324468328
280.08690436798119560.1738087359623910.913095632018804
290.0986665842060450.197333168412090.901333415793955
300.08866905567831310.1773381113566260.911330944321687
310.1431909915072370.2863819830144740.856809008492763
320.1039003831137950.207800766227590.896099616886205
330.06938445827792650.1387689165558530.930615541722074
340.06660641316742570.1332128263348510.933393586832574
350.06055863631579470.1211172726315890.939441363684205
360.1386278780429190.2772557560858380.861372121957081
370.4192891549454520.8385783098909030.580710845054548
380.3933654031441010.7867308062882020.606634596855899
390.3308340497488530.6616680994977070.669165950251147
400.2728346286122470.5456692572244940.727165371387753
410.4046444269961830.8092888539923650.595355573003817
420.4319636611897520.8639273223795030.568036338810248
430.5338907383355980.9322185233288040.466109261664402
440.447840618538580.895681237077160.55215938146142
450.415778004055480.831556008110960.58422199594452
460.368244386050850.73648877210170.63175561394915
470.2919630630912220.5839261261824440.708036936908778
480.9559605690242540.08807886195149120.0440394309757456
490.939413332834560.1211733343308790.0605866671654396
500.9045669303119250.190866139376150.095433069688075
510.9047066789559220.1905866420881560.095293321044078
520.9579037015207330.0841925969585350.0420962984792675
530.9134549516971510.1730900966056970.0865450483028486
540.8446495778364960.3107008443270080.155350422163504
550.7575546565359530.4848906869280940.242445343464047


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level30.076923076923077NOK
10% type I error level80.205128205128205NOK
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/24/t1227547709a2we7tychqn3xy9/106un41227547524.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/24/t1227547709a2we7tychqn3xy9/106un41227547524.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/24/t1227547709a2we7tychqn3xy9/1yz7d1227547524.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/24/t1227547709a2we7tychqn3xy9/1yz7d1227547524.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/24/t1227547709a2we7tychqn3xy9/2ncbe1227547524.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/24/t1227547709a2we7tychqn3xy9/2ncbe1227547524.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/24/t1227547709a2we7tychqn3xy9/3vgs01227547524.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/24/t1227547709a2we7tychqn3xy9/3vgs01227547524.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/24/t1227547709a2we7tychqn3xy9/4joyo1227547524.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/24/t1227547709a2we7tychqn3xy9/4joyo1227547524.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/24/t1227547709a2we7tychqn3xy9/5hzsa1227547524.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/24/t1227547709a2we7tychqn3xy9/5hzsa1227547524.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/24/t1227547709a2we7tychqn3xy9/6ks411227547524.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/24/t1227547709a2we7tychqn3xy9/6ks411227547524.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/24/t1227547709a2we7tychqn3xy9/7eyh91227547524.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/24/t1227547709a2we7tychqn3xy9/7eyh91227547524.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/24/t1227547709a2we7tychqn3xy9/8wb7o1227547524.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/24/t1227547709a2we7tychqn3xy9/8wb7o1227547524.ps (open in new window)


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