Home » date » 2010 » Dec » 28 »

Model 5

*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: Tue, 28 Dec 2010 21:19:23 +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/28/t1293571048fadpkl2l2gexrum.htm/, Retrieved Tue, 28 Dec 2010 22:17:38 +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/28/t1293571048fadpkl2l2gexrum.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 «
3,7 0 3,7 3,93 4,15 4,24 0 0 0 3,65 0 3,7 3,7 3,93 4,15 0 0 0 3,55 0 3,65 3,7 3,7 3,93 0 0 0 3,43 0 3,55 3,65 3,7 3,7 0 0 0 3,47 0 3,43 3,55 3,65 3,7 0 0 0 3,58 0 3,47 3,43 3,55 3,65 0 0 0 3,67 0 3,58 3,47 3,43 3,55 0 0 0 3,72 0 3,67 3,58 3,47 3,43 0 0 0 3,8 0 3,72 3,67 3,58 3,47 0 0 0 3,76 0 3,8 3,72 3,67 3,58 0 0 0 3,63 0 3,76 3,8 3,72 3,67 0 0 0 3,48 0 3,63 3,76 3,8 3,72 0 0 0 3,41 0 3,48 3,63 3,76 3,8 0 0 0 3,43 0 3,41 3,48 3,63 3,76 0 0 0 3,5 0 3,43 3,41 3,48 3,63 0 0 0 3,62 0 3,5 3,43 3,41 3,48 0 0 0 3,58 0 3,62 3,5 3,43 3,41 0 0 0 3,52 0 3,58 3,62 3,5 3,43 0 0 0 3,45 0 3,52 3,58 3,62 3,5 0 0 0 3,36 0 3,45 3,52 3,58 3,62 0 0 0 3,27 0 3,36 3,45 3,52 3,58 0 0 0 3,21 0 3,27 3,36 3,45 3,52 0 0 0 3,19 0 3,21 3,27 3,36 3,45 0 0 0 3,16 0 3,19 3,21 3,27 3,36 0 0 0 3,12 0 3,16 3,19 3,21 3,27 0 0 0 3,06 0 3,12 3,16 3,19 3,21 0 0 0 3,01 0 3,06 3,12 3,16 3,19 0 0 0 2,98 0 3,01 3,06 3,12 3,16 0 0 0 2,97 0 2,98 3,01 3,06 3,12 0 0 0 3,02 0 2,97 2,98 3,01 3,06 0 0 0 3,07 0 3,02 2,97 2,98 3 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'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 0.205702632696605 + 0.112732044274045X[t] + 2.01139643888264Y1[t] -1.49596877798800Y2[t] + 0.349196496876271Y3[t] + 0.0804553523247682Y4[t] + 0.0525626001017356O1[t] + 0.0942234981695306O2[t] + 0.147369524897714O3[t] + 0.0334034022619562M1[t] -0.0510167264895055M2[t] + 0.0589096577756784M3[t] -0.0626460449796405M4[t] + 0.00665173642907416M5[t] + 0.0244183263253148M6[t] -0.0680214359102388M7[t] -0.0260022922625455M8[t] -0.00904691523431646M9[t] -0.0453841394217003M10[t] -0.000101676244915038M11[t] -0.000797316568880794t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)0.2057026326966050.0911782.25610.028760.01438
X0.1127320442740450.0626111.80050.0781970.039098
Y12.011396438882640.1698611.841500
Y2-1.495968777988000.339394-4.40786e-053e-05
Y30.3491964968762710.3803620.91810.3632730.181637
Y40.08045535232476820.2092980.38440.7024110.351206
O10.05256260010173560.1128680.46570.6435820.321791
O20.09422349816953060.116170.81110.4214050.210703
O30.1473695248977140.1155371.27550.2083940.104197
M10.03340340226195620.0589820.56630.5738640.286932
M2-0.05101672648950550.059973-0.85070.3992710.199636
M30.05890965777567840.0611490.96340.3402890.170144
M4-0.06264604497964050.061892-1.01220.3166350.158318
M50.006651736429074160.0640050.10390.9176710.458835
M60.02441832632531480.0615230.39690.6932390.346619
M7-0.06802143591023880.059775-1.1380.2609040.130452
M8-0.02600229226254550.060628-0.42890.6699660.334983
M9-0.009046915234316460.061209-0.14780.883130.441565
M10-0.04538413942170030.061481-0.73820.4640780.232039
M11-0.0001016762449150380.061539-0.00170.9986890.499344
t-0.0007973165688807940.001463-0.54520.5882220.294111


Multiple Linear Regression - Regression Statistics
Multiple R0.995945684344728
R-squared0.99190780616489
Adjusted R-squared0.988464319426545
F-TEST (value)288.053325462098
F-TEST (DF numerator)20
F-TEST (DF denominator)47
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.096133652182226
Sum Squared Residuals0.434358916848981


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
13.73.591614400656190.108385599343815
23.653.76640556325106-0.116405563251061
33.553.67694943721024-0.126949437210241
43.433.409750481862480.0202495181375195
53.473.369020426991380.100979573008615
63.583.60701939392874-0.0270193939287438
73.673.625248057424250.0447519425757492
83.723.68725221601990.0327477839801003
93.83.710972737153840.0890272628461581
103.763.80022924608338-0.0402292460833767
113.633.66928183944998-0.0392818394499789
123.483.49890190055713-0.0189019005571296
133.413.41674302986718-0.00674302986717874
143.433.366509391836350.0634906081636548
153.53.5577455324358-0.0577455324358003
163.623.509758830643570.110241169356429
173.583.71626110896495-0.136261108964954
183.523.499311133206280.0206888667937171
193.453.392764473476300.0572355265237039
203.363.37863345891653-0.0186334589165254
213.273.29431365043003-0.0243136504300277
223.213.181519544272420.0284804557275791
233.193.20289853518469-0.0128985351846879
243.163.21306442633426-0.0530644263342555
253.123.18705522289881-0.0670552228988065
263.063.054449732285790.00555026771421356
273.013.09064876281587-0.0806487628158677
282.982.941102527782020.0388974722179787
292.972.99988953444921-0.0298895344492094
303.023.019336760744080.00066323925591695
313.073.027130529141130.0428694708588661
323.183.088218113726170.0917818862738275
333.293.38021865915782-0.0902186591578243
343.433.421263753560020.00873624643997809
353.613.62522221830545-0.0152222183054457
363.743.82440401147415-0.0844040114741488
373.873.90695485250253-0.0369548525025316
383.883.96286212186169-0.082862121861689
394.093.957506720820750.132493279179247
404.194.29844200627816-0.108442006278163
414.24.26787983239977-0.0678798323997652
424.294.229502010184420.0604979898155849
434.374.354146196775370.0158538032246329
444.474.433180049147110.0368199508528883
454.614.56303248949780.0469675105022051
464.654.69307327384563-0.043073273845633
474.694.649934726964130.0400652730358689
484.824.726789237871110.0932107621288938
494.864.98626971869992-0.126269718699923
504.874.804218263764490.0657817362355111
515.014.9222363034170.0877636965829957
525.035.09094615343376-0.0609461534337646
535.134.996949097194690.133050902805313
545.185.23483070193647-0.0548307019364752
555.215.110814246540370.0991857534596337
565.265.174108284620380.0858917153796186
575.255.27146246376051-0.0214624637605111
585.25.153914182238550.0460858177614525
595.165.132662680095760.0273373199042435
605.195.126840423763360.0631595762366399
615.395.261362775375370.128637224624625
625.585.515554927000630.0644450729993707
635.765.714913243300330.0450867566996655
645.895.896.41847686111419e-17
655.985.983.98986399474666e-17
666.026.02-2.25514051876985e-17
675.625.87989649664259-0.259896496642586
684.875.09860787756991-0.228607877569909


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
240.7221995999778730.5556008000442530.277800400022127
250.6726126106997460.6547747786005090.327387389300254
260.5268459384164210.9463081231671580.473154061583579
270.5234684471080910.9530631057838180.476531552891909
280.4028126837268830.8056253674537670.597187316273117
290.3133241214091570.6266482428183140.686675878590843
300.2685013488739450.5370026977478890.731498651126055
310.1848819889717980.3697639779435960.815118011028202
320.1519950991705750.3039901983411510.848004900829425
330.1129397685534480.2258795371068970.887060231446552
340.08892208296178360.1778441659235670.911077917038216
350.06589214155489640.1317842831097930.934107858445104
360.05619029237491160.1123805847498230.943809707625088
370.03523949036999860.07047898073999720.964760509630001
380.01869530799670730.03739061599341450.981304692003293
390.03660116583359750.0732023316671950.963398834166402
400.02277970430409140.04555940860818270.977220295695909
410.04103896295988730.08207792591977460.958961037040113
420.02794827478200020.05589654956400030.972051725218
430.01333440174747490.02666880349494970.986665598252525
440.0202663814187080.0405327628374160.979733618581292


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level40.190476190476190NOK
10% type I error level80.380952380952381NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/28/t1293571048fadpkl2l2gexrum/10e1141293571155.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/28/t1293571048fadpkl2l2gexrum/10e1141293571155.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/28/t1293571048fadpkl2l2gexrum/180ls1293571155.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/28/t1293571048fadpkl2l2gexrum/180ls1293571155.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/28/t1293571048fadpkl2l2gexrum/280ls1293571155.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/28/t1293571048fadpkl2l2gexrum/280ls1293571155.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/28/t1293571048fadpkl2l2gexrum/3ia3v1293571155.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/28/t1293571048fadpkl2l2gexrum/3ia3v1293571155.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/28/t1293571048fadpkl2l2gexrum/4ia3v1293571155.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/28/t1293571048fadpkl2l2gexrum/4ia3v1293571155.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/28/t1293571048fadpkl2l2gexrum/5ia3v1293571155.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/28/t1293571048fadpkl2l2gexrum/5ia3v1293571155.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/28/t1293571048fadpkl2l2gexrum/6b1ky1293571155.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/28/t1293571048fadpkl2l2gexrum/6b1ky1293571155.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/28/t1293571048fadpkl2l2gexrum/7ma111293571155.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/28/t1293571048fadpkl2l2gexrum/7ma111293571155.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/28/t1293571048fadpkl2l2gexrum/8ma111293571155.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/28/t1293571048fadpkl2l2gexrum/8ma111293571155.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/28/t1293571048fadpkl2l2gexrum/9ma111293571155.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/28/t1293571048fadpkl2l2gexrum/9ma111293571155.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