Home » date » 2010 » Dec » 15 »

*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: Wed, 15 Dec 2010 10:03:46 +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/15/t1292407307lex8uac1av6qlpv.htm/, Retrieved Wed, 15 Dec 2010 11:01:50 +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/15/t1292407307lex8uac1av6qlpv.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 «
998 1.2 613 -1906 -2.3 -0.6 499 2.3 998 -706 1.2 -1.1 59 1.3 499 326 2.3 -0.6 175 1.4 59 146 1.3 -2 -413 -1.5 175 625 1.4 0 -223 1.4 -413 104 -1.5 -1.1 110 -0.9 -223 65 1.4 3.4 13 -0.6 110 25 -0.9 0.8 74 1.8 13 3 -0.6 -3.2 643 -3.9 74 -393 1.8 3.1 44 2.4 643 -358 -3.9 -1.7 216 1.1 44 613 2.4 -2.3 -1189 -2.3 216 998 1.1 1.2 -47 -4.3 -1189 499 -2.3 2.3 279 1 -47 59 -4.3 1.3 374 0.8 279 175 1 1.4 13 0.3 374 -413 0.8 -1.5 152 2.2 13 -223 0.3 1.4 -27 1.7 152 110 2.2 -0.9 334 1.8 -27 13 1.7 -0.6 411 0.6 334 74 1.8 1.8 33 -2.6 411 643 0.6 -3.9 313 -0.3 33 44 -2.6 2.4 751 0.1 313 216 -0.3 1.1 446 0.9 751 -1189 0.1 -2.3 -329 2.2 446 -47 0.9 -4.3 -560 -2.2 -329 279 2.2 1 -783 0.4 -560 374 -2.2 0.8 -371 -1.1 -783 13 0.4 0.3 -308 -3 -371 152 -1.1 2.2 -264 -2.1 -308 -27 -3 1.7 -787 -1.5 -264 334 -2.1 1.8 -486 0.5 -787 411 -1.5 0.6 -243 3.8 -486 33 0.5 -2.6 -416 -1.9 -243 313 3.8 -0.3 -992 -1.6 -416 751 -1.9 0.1 -316 1.5 -992 446 -1.6 0.9 825 -2.6 -316 -329 1.5 2.2 1513 0.6 825 -560 -2 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
N12S[t] = -52.4100540892267 + 42.7705862096527N12T[t] + 0.256586786394052N12S1[t] -0.418733841178069N12S12[t] -41.6357254273286N12T1[t] + 45.5257486013084N12T12[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)-52.410054089226749.770193-1.0530.2961620.148081
N12T42.770586209652726.4563691.61660.1107250.055362
N12S10.2565867863940520.1091762.35020.0217610.010881
N12S12-0.4187338411780690.108382-3.86350.0002570.000129
N12T1-41.635725427328622.549626-1.84640.0693180.034659
N12T1245.525748601308429.6872021.53350.1299290.064965


Multiple Linear Regression - Regression Statistics
Multiple R0.639027994821959
R-squared0.408356778166173
Adjusted R-squared0.363535321966641
F-TEST (value)9.11074321968223
F-TEST (DF numerator)5
F-TEST (DF denominator)66
p-value1.25979543208476e-06
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation417.328344799402
Sum Squared Residuals11494754.5266186


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
19981022.75577002938-24.755770029381
2499497.6208049117221.3791950882784
359-128.356335473738187.356335473738
4175-183.705694068606358.705694068606
5-413-391.6619121193-21.3380878807001
6-223-129.674630979422-93.3253690205783
7110-78.8426050741738188.842605074174
81313.5765464245182-0.576546424518219
974-94.044532480053168.044532480053
1064330.5199963641334612.480003635867
1144450.116928151422-406.116928151422
12216-455.391398108025671.391398108025
13-1189-504.424429654517-684.575570345483
14-47-549.882060295252502.882060295252
15279191.81274904961487.1872509503864
163742.21602869077702371.783971309223
1713127.724453047762-114.724453047762
18152189.643840791474-37.6438407914745
19-27-119.33135821180992.3313582118093
20334-85.8905644670497419.89056446705
2141134.9680217581648376.031978241835
2233-529.934123705366562.934123705366
23313142.316527741241170.683472258759
247514.30120006825166746.698799931748
25446567.781892916376-121.781892916376
26-329-57.429439031096-271.570560968904
27-560-393.821985501602-166.178014498398
28-783-207.577681765463-575.422318234537
29-371-308.805258192241-62.1947418077589
30-308-193.607109436505-114.392890563495
31-264-7.6502527228472-256.349747277153
32-787-154.780577085465-632.219422914535
33-486-315.289133298927-170.710866701073
34-243-167.586030515998-75.4139694840021
35-416-498.96193047429882.9619304742983
36-992-458.391756717271-533.608243282729
37-316-321.9532256181625.95322561816243
38825-69.228510205374894.228510205374
391513427.5235866595531085.47641334045
40138639.794981067667-501.794981067667
41363130.5874959455232.4125040545
4218093.683463813642686.3165361863574
43-493-31.7836351750391-461.216364824961
44-325-49.1063861439158-275.893613856084
45-225212.118253811015-437.118253811015
46-115233.948913624658-348.948913624658
47-145-106.980095825436-38.0199041745636
48-68291.080703924177-359.080703924177
49-335-22.542632735145-312.457367264855
50-832-481.558875205522-350.441124794478
51-931-983.4361231340452.4361231340408
52-149-314.750283784912165.750283784912
53-251-122.819935882812-128.180064117188
54-43-177.213098235085134.213098235085
551484426.8986683896561057.10133161034
56195155.93953316913339.0604668308667
57170226.065000294765-56.0650002947649
58-27777.958640828154-354.958640828154
59-5747.7222745562737-104.722274556274
60-665-33.5039199316133-631.496080068387
61-220-84.0291929230422-135.970807076958
62534198.445981997234335.554018002766
63-449313.865262069252-762.865262069252
64158-100.834334833842258.834334833842
65-261-61.4169414750066-199.583058524993
66-300-154.999571697726-145.000428302274
67-1276-797.76521185113-478.23478814887
68-108-204.25003179122196.2500317912209
69-29-290.745506123803261.745506123803
7030577.1961697126347227.803830287365
71805246.137398853682558.862601146318
72-88560.637223290022-648.637223290022


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
90.03680609130619750.0736121826123950.963193908693803
100.01662366614743570.03324733229487130.983376333852564
110.01203872991288780.02407745982577560.987961270087112
120.01709980792185760.03419961584371510.982900192078142
130.09251274761342460.1850254952268490.907487252386575
140.08289730004030480.165794600080610.917102699959695
150.1430761181542780.2861522363085560.856923881845722
160.1175196597853380.2350393195706760.882480340214662
170.09355603653790670.1871120730758130.906443963462093
180.09092416923986460.1818483384797290.909075830760135
190.06423243843177650.1284648768635530.935767561568223
200.04391290951194450.08782581902388910.956087090488055
210.03554838019233120.07109676038466240.964451619807669
220.06293644694816380.1258728938963280.937063553051836
230.05247516597773960.1049503319554790.94752483402226
240.1621455880740490.3242911761480990.83785441192595
250.1289946991975080.2579893983950170.871005300802492
260.1179921027886980.2359842055773950.882007897211302
270.1430689662486880.2861379324973750.856931033751312
280.2181573677658020.4363147355316040.781842632234198
290.1806151282211170.3612302564422340.819384871778883
300.1455991687827220.2911983375654450.854400831217278
310.1187561091656040.2375122183312080.881243890834396
320.1671634098451880.3343268196903770.832836590154812
330.1289342388425780.2578684776851570.871065761157422
340.09486348611418250.1897269722283650.905136513885818
350.07834044949487540.1566808989897510.921659550505125
360.08430264676648940.1686052935329790.91569735323351
370.06042630788704340.1208526157740870.939573692112957
380.1737984220534790.3475968441069580.82620157794652
390.5860980934589520.8278038130820960.413901906541048
400.6334184766996910.7331630466006170.366581523300309
410.5901155833746420.8197688332507160.409884416625358
420.5298209777150680.9403580445698630.470179022284932
430.5450950966597740.9098098066804520.454904903340226
440.5048773771889650.990245245622070.495122622811035
450.5130684427121720.9738631145756560.486931557287828
460.5199049699991240.9601900600017530.480095030000876
470.4588993693013410.9177987386026810.54110063069866
480.4239752889768440.8479505779536870.576024711023156
490.384591795841130.769183591682260.61540820415887
500.3336698194995470.6673396389990940.666330180500453
510.2766875872304660.5533751744609310.723312412769535
520.2211405672427470.4422811344854940.778859432757253
530.1665262484502810.3330524969005610.83347375154972
540.1236199596994120.2472399193988240.876380040300588
550.4284814862971020.8569629725942040.571518513702898
560.5963438179254230.8073123641491530.403656182074577
570.5343441718878120.9313116562243760.465655828112188
580.4758200629938670.9516401259877350.524179937006133
590.3695495657062840.7390991314125690.630450434293716
600.3819805874673310.7639611749346620.618019412532669
610.2678164105657170.5356328211314350.732183589434283
620.1692740768984370.3385481537968740.830725923101563
630.1483021915545750.2966043831091490.851697808445425


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level30.0545454545454545NOK
10% type I error level60.109090909090909NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/15/t1292407307lex8uac1av6qlpv/10j6uw1292407417.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/15/t1292407307lex8uac1av6qlpv/10j6uw1292407417.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/15/t1292407307lex8uac1av6qlpv/1u5fk1292407417.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/15/t1292407307lex8uac1av6qlpv/1u5fk1292407417.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/15/t1292407307lex8uac1av6qlpv/2u5fk1292407417.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/15/t1292407307lex8uac1av6qlpv/2u5fk1292407417.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/15/t1292407307lex8uac1av6qlpv/35ew51292407417.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/15/t1292407307lex8uac1av6qlpv/35ew51292407417.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/15/t1292407307lex8uac1av6qlpv/45ew51292407417.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/15/t1292407307lex8uac1av6qlpv/45ew51292407417.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/15/t1292407307lex8uac1av6qlpv/55ew51292407417.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/15/t1292407307lex8uac1av6qlpv/55ew51292407417.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/15/t1292407307lex8uac1av6qlpv/6ynv81292407417.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/15/t1292407307lex8uac1av6qlpv/6ynv81292407417.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/15/t1292407307lex8uac1av6qlpv/7qxdt1292407417.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/15/t1292407307lex8uac1av6qlpv/7qxdt1292407417.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/15/t1292407307lex8uac1av6qlpv/8qxdt1292407417.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/15/t1292407307lex8uac1av6qlpv/8qxdt1292407417.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/15/t1292407307lex8uac1av6qlpv/9qxdt1292407417.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/15/t1292407307lex8uac1av6qlpv/9qxdt1292407417.ps (open in new window)


 
Parameters (Session):
 
Parameters (R input):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
 
R code (references can be found in the software module):
library(lattice)
library(lmtest)
n25 <- 25 #minimum number of obs. for Goldfeld-Quandt test
par1 <- as.numeric(par1)
x <- t(y)
k <- length(x[1,])
n <- length(x[,1])
x1 <- cbind(x[,par1], x[,1:k!=par1])
mycolnames <- c(colnames(x)[par1], colnames(x)[1:k!=par1])
colnames(x1) <- mycolnames #colnames(x)[par1]
x <- x1
if (par3 == 'First Differences'){
x2 <- array(0, dim=c(n-1,k), dimnames=list(1:(n-1), paste('(1-B)',colnames(x),sep='')))
for (i in 1:n-1) {
for (j in 1:k) {
x2[i,j] <- x[i+1,j] - x[i,j]
}
}
x <- x2
}
if (par2 == 'Include Monthly Dummies'){
x2 <- array(0, dim=c(n,11), dimnames=list(1:n, paste('M', seq(1:11), sep ='')))
for (i in 1:11){
x2[seq(i,n,12),i] <- 1
}
x <- cbind(x, x2)
}
if (par2 == 'Include Quarterly Dummies'){
x2 <- array(0, dim=c(n,3), dimnames=list(1:n, paste('Q', seq(1:3), sep ='')))
for (i in 1:3){
x2[seq(i,n,4),i] <- 1
}
x <- cbind(x, x2)
}
k <- length(x[1,])
if (par3 == 'Linear Trend'){
x <- cbind(x, c(1:n))
colnames(x)[k+1] <- 't'
}
x
k <- length(x[1,])
df <- as.data.frame(x)
(mylm <- lm(df))
(mysum <- summary(mylm))
if (n > n25) {
kp3 <- k + 3
nmkm3 <- n - k - 3
gqarr <- array(NA, dim=c(nmkm3-kp3+1,3))
numgqtests <- 0
numsignificant1 <- 0
numsignificant5 <- 0
numsignificant10 <- 0
for (mypoint in kp3:nmkm3) {
j <- 0
numgqtests <- numgqtests + 1
for (myalt in c('greater', 'two.sided', 'less')) {
j <- j + 1
gqarr[mypoint-kp3+1,j] <- gqtest(mylm, point=mypoint, alternative=myalt)$p.value
}
if (gqarr[mypoint-kp3+1,2] < 0.01) numsignificant1 <- numsignificant1 + 1
if (gqarr[mypoint-kp3+1,2] < 0.05) numsignificant5 <- numsignificant5 + 1
if (gqarr[mypoint-kp3+1,2] < 0.10) numsignificant10 <- numsignificant10 + 1
}
gqarr
}
bitmap(file='test0.png')
plot(x[,1], type='l', main='Actuals and Interpolation', ylab='value of Actuals and Interpolation (dots)', xlab='time or index')
points(x[,1]-mysum$resid)
grid()
dev.off()
bitmap(file='test1.png')
plot(mysum$resid, type='b', pch=19, main='Residuals', ylab='value of Residuals', xlab='time or index')
grid()
dev.off()
bitmap(file='test2.png')
hist(mysum$resid, main='Residual Histogram', xlab='values of Residuals')
grid()
dev.off()
bitmap(file='test3.png')
densityplot(~mysum$resid,col='black',main='Residual Density Plot', xlab='values of Residuals')
dev.off()
bitmap(file='test4.png')
qqnorm(mysum$resid, main='Residual Normal Q-Q Plot')
qqline(mysum$resid)
grid()
dev.off()
(myerror <- as.ts(mysum$resid))
bitmap(file='test5.png')
dum <- cbind(lag(myerror,k=1),myerror)
dum
dum1 <- dum[2:length(myerror),]
dum1
z <- as.data.frame(dum1)
z
plot(z,main=paste('Residual Lag plot, lowess, and regression line'), ylab='values of Residuals', xlab='lagged values of Residuals')
lines(lowess(z))
abline(lm(z))
grid()
dev.off()
bitmap(file='test6.png')
acf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Autocorrelation Function')
grid()
dev.off()
bitmap(file='test7.png')
pacf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Partial Autocorrelation Function')
grid()
dev.off()
bitmap(file='test8.png')
opar <- par(mfrow = c(2,2), oma = c(0, 0, 1.1, 0))
plot(mylm, las = 1, sub='Residual Diagnostics')
par(opar)
dev.off()
if (n > n25) {
bitmap(file='test9.png')
plot(kp3:nmkm3,gqarr[,2], main='Goldfeld-Quandt test',ylab='2-sided p-value',xlab='breakpoint')
grid()
dev.off()
}
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Estimated Regression Equation', 1, TRUE)
a<-table.row.end(a)
myeq <- colnames(x)[1]
myeq <- paste(myeq, '[t] = ', sep='')
for (i in 1:k){
if (mysum$coefficients[i,1] > 0) myeq <- paste(myeq, '+', '')
myeq <- paste(myeq, mysum$coefficients[i,1], sep=' ')
if (rownames(mysum$coefficients)[i] != '(Intercept)') {
myeq <- paste(myeq, rownames(mysum$coefficients)[i], sep='')
if (rownames(mysum$coefficients)[i] != 't') myeq <- paste(myeq, '[t]', sep='')
}
}
myeq <- paste(myeq, ' + e[t]')
a<-table.row.start(a)
a<-table.element(a, myeq)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable1.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,hyperlink('http://www.xycoon.com/ols1.htm','Multiple Linear Regression - Ordinary Least Squares',''), 6, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Variable',header=TRUE)
a<-table.element(a,'Parameter',header=TRUE)
a<-table.element(a,'S.D.',header=TRUE)
a<-table.element(a,'T-STAT<br />H0: parameter = 0',header=TRUE)
a<-table.element(a,'2-tail p-value',header=TRUE)
a<-table.element(a,'1-tail p-value',header=TRUE)
a<-table.row.end(a)
for (i in 1:k){
a<-table.row.start(a)
a<-table.element(a,rownames(mysum$coefficients)[i],header=TRUE)
a<-table.element(a,mysum$coefficients[i,1])
a<-table.element(a, round(mysum$coefficients[i,2],6))
a<-table.element(a, round(mysum$coefficients[i,3],4))
a<-table.element(a, round(mysum$coefficients[i,4],6))
a<-table.element(a, round(mysum$coefficients[i,4]/2,6))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable2.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Regression Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple R',1,TRUE)
a<-table.element(a, sqrt(mysum$r.squared))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'R-squared',1,TRUE)
a<-table.element(a, mysum$r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Adjusted R-squared',1,TRUE)
a<-table.element(a, mysum$adj.r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (value)',1,TRUE)
a<-table.element(a, mysum$fstatistic[1])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF numerator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[2])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF denominator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[3])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'p-value',1,TRUE)
a<-table.element(a, 1-pf(mysum$fstatistic[1],mysum$fstatistic[2],mysum$fstatistic[3]))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Residual Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Residual Standard Deviation',1,TRUE)
a<-table.element(a, mysum$sigma)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Sum Squared Residuals',1,TRUE)
a<-table.element(a, sum(myerror*myerror))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable3.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Actuals, Interpolation, and Residuals', 4, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Time or Index', 1, TRUE)
a<-table.element(a, 'Actuals', 1, TRUE)
a<-table.element(a, 'Interpolation<br />Forecast', 1, TRUE)
a<-table.element(a, 'Residuals<br />Prediction Error', 1, TRUE)
a<-table.row.end(a)
for (i in 1:n) {
a<-table.row.start(a)
a<-table.element(a,i, 1, TRUE)
a<-table.element(a,x[i])
a<-table.element(a,x[i]-mysum$resid[i])
a<-table.element(a,mysum$resid[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable4.tab')
if (n > n25) {
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'p-values',header=TRUE)
a<-table.element(a,'Alternative Hypothesis',3,header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'breakpoint index',header=TRUE)
a<-table.element(a,'greater',header=TRUE)
a<-table.element(a,'2-sided',header=TRUE)
a<-table.element(a,'less',header=TRUE)
a<-table.row.end(a)
for (mypoint in kp3:nmkm3) {
a<-table.row.start(a)
a<-table.element(a,mypoint,header=TRUE)
a<-table.element(a,gqarr[mypoint-kp3+1,1])
a<-table.element(a,gqarr[mypoint-kp3+1,2])
a<-table.element(a,gqarr[mypoint-kp3+1,3])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable5.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Description',header=TRUE)
a<-table.element(a,'# significant tests',header=TRUE)
a<-table.element(a,'% significant tests',header=TRUE)
a<-table.element(a,'OK/NOK',header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'1% type I error level',header=TRUE)
a<-table.element(a,numsignificant1)
a<-table.element(a,numsignificant1/numgqtests)
if (numsignificant1/numgqtests < 0.01) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'5% type I error level',header=TRUE)
a<-table.element(a,numsignificant5)
a<-table.element(a,numsignificant5/numgqtests)
if (numsignificant5/numgqtests < 0.05) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'10% type I error level',header=TRUE)
a<-table.element(a,numsignificant10)
a<-table.element(a,numsignificant10/numgqtests)
if (numsignificant10/numgqtests < 0.1) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable6.tab')
}
 





Copyright

Creative Commons License

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.

Software written by Ed van Stee & Patrick Wessa


Disclaimer

Information provided on this web site is provided "AS IS" without warranty of any kind, either express or implied, including, without limitation, warranties of merchantability, fitness for a particular purpose, and noninfringement. We use reasonable efforts to include accurate and timely information and periodically update the information, and software without notice. However, we make no warranties or representations as to the accuracy or completeness of such information (or software), and we assume no liability or responsibility for errors or omissions in the content of this web site, or any software bugs in online applications. Your use of this web site is AT YOUR OWN RISK. Under no circumstances and under no legal theory shall we be liable to you or any other person for any direct, indirect, special, incidental, exemplary, or consequential damages arising from your access to, or use of, this web site.


Privacy Policy

We may request personal information to be submitted to our servers in order to be able to:

  • personalize online software applications according to your needs
  • enforce strict security rules with respect to the data that you upload (e.g. statistical data)
  • manage user sessions of online applications
  • alert you about important changes or upgrades in resources or applications

We NEVER allow other companies to directly offer registered users information about their products and services. Banner references and hyperlinks of third parties NEVER contain any personal data of the visitor.

We do NOT sell, nor transmit by any means, personal information, nor statistical data series uploaded by you to third parties.

We carefully protect your data from loss, misuse, alteration, and destruction. However, at any time, and under any circumstance you are solely responsible for managing your passwords, and keeping them secret.

We store a unique ANONYMOUS USER ID in the form of a small 'Cookie' on your computer. This allows us to track your progress when using this website which is necessary to create state-dependent features. The cookie is used for NO OTHER PURPOSE. At any time you may opt to disallow cookies from this website - this will not affect other features of this website.

We examine cookies that are used by third-parties (banner and online ads) very closely: abuse from third-parties automatically results in termination of the advertising contract without refund. We have very good reason to believe that the cookies that are produced by third parties (banner ads) do NOT cause any privacy or security risk.

FreeStatistics.org is safe. There is no need to download any software to use the applications and services contained in this website. Hence, your system's security is not compromised by their use, and your personal data - other than data you submit in the account application form, and the user-agent information that is transmitted by your browser - is never transmitted to our servers.

As a general rule, we do not log on-line behavior of individuals (other than normal logging of webserver 'hits'). However, in cases of abuse, hacking, unauthorized access, Denial of Service attacks, illegal copying, hotlinking, non-compliance with international webstandards (such as robots.txt), or any other harmful behavior, our system engineers are empowered to log, track, identify, publish, and ban misbehaving individuals - even if this leads to ban entire blocks of IP addresses, or disclosing user's identity.


FreeStatistics.org is powered by