Home » date » 2010 » Dec » 28 »

model 4

*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:11: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/28/t1293570577x4pf60bogbr27d9.htm/, Retrieved Tue, 28 Dec 2010 22:09:48 +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/t1293570577x4pf60bogbr27d9.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 3,65 0 3,7 3,7 3,93 4,15 3,55 0 3,65 3,7 3,7 3,93 3,43 0 3,55 3,65 3,7 3,7 3,47 0 3,43 3,55 3,65 3,7 3,58 0 3,47 3,43 3,55 3,65 3,67 0 3,58 3,47 3,43 3,55 3,72 0 3,67 3,58 3,47 3,43 3,8 0 3,72 3,67 3,58 3,47 3,76 0 3,8 3,72 3,67 3,58 3,63 0 3,76 3,8 3,72 3,67 3,48 0 3,63 3,76 3,8 3,72 3,41 0 3,48 3,63 3,76 3,8 3,43 0 3,41 3,48 3,63 3,76 3,5 0 3,43 3,41 3,48 3,63 3,62 0 3,5 3,43 3,41 3,48 3,58 0 3,62 3,5 3,43 3,41 3,52 0 3,58 3,62 3,5 3,43 3,45 0 3,52 3,58 3,62 3,5 3,36 0 3,45 3,52 3,58 3,62 3,27 0 3,36 3,45 3,52 3,58 3,21 0 3,27 3,36 3,45 3,52 3,19 0 3,21 3,27 3,36 3,45 3,16 0 3,19 3,21 3,27 3,36 3,12 0 3,16 3,19 3,21 3,27 3,06 0 3,12 3,16 3,19 3,21 3,01 0 3,06 3,12 3,16 3,19 2,98 0 3,01 3,06 3,12 3,16 2,97 0 2,98 3,01 3,06 3,12 3,02 0 2,97 2,98 3,01 3,06 3,07 0 3,02 2,97 2,98 3,01 3,18 0 3,07 3,02 2,97 2,98 3,29 1 3,18 3,07 3,02 2,97 3,43 1 3,29 3,18 3,07 3,02 3,61 1 3,43 3,29 3,18 3,07 3,74 1 3,61 3,43 3,29 3,18 3,87 1 3,74 3,61 3,43 3,29 3,88 1 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 time9 seconds
R Server'George Udny Yule' @ 72.249.76.132


Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 0.161444463225237 + 0.0791592781596746X[t] + 2.06064556081534Y1[t] -1.51248435858741Y2[t] + 0.399499156624229Y3[t] + 0.00955021927819122Y4[t] + 0.0378650408289318M1[t] -0.0484576135319395M2[t] + 0.0596382358271586M3[t] -0.0446390881700724M4[t] + 0.0169784404865373M5[t] + 0.0241710147035326M6[t] -0.0756529773410106M7[t] -0.0303723197500138M8[t] -0.00954782897581095M9[t] -0.0461532281989728M10[t] -0.000389226894001394M11[t] -0.000475364960323572t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)0.1614444632252370.0832041.94040.0579860.028993
X0.07915927815967460.0568821.39160.1701940.085097
Y12.060645560815340.1635512.599500
Y2-1.512484358587410.33353-4.53483.6e-051.8e-05
Y30.3994991566242290.3711071.07650.2868670.143434
Y40.009550219278191220.199150.0480.9619430.480972
M10.03786504082893180.0583310.64910.5192170.259609
M2-0.04845761353193950.059371-0.81620.4182660.209133
M30.05963823582715860.0605240.98540.329190.164595
M4-0.04463908817007240.059125-0.7550.4537950.226897
M50.01697844048653730.060620.28010.7805730.390287
M60.02417101470353260.0587950.41110.682750.341375
M7-0.07565297734101060.058939-1.28360.2052090.102605
M8-0.03037231975001380.059955-0.50660.6146730.307337
M9-0.009547828975810950.060623-0.15750.8754890.437744
M10-0.04615322819897280.060888-0.7580.452010.226005
M11-0.0003892268940013940.060942-0.00640.9949290.497465
t-0.0004753649603235720.001429-0.33260.7408430.370421


Multiple Linear Regression - Regression Statistics
Multiple R0.99576834325729
R-squared0.99155459343337
Adjusted R-squared0.988683155200714
F-TEST (value)345.316358247658
F-TEST (DF numerator)17
F-TEST (DF denominator)50
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.0952174421747424
Sum Squared Residuals0.45331806471502


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
13.73.577573614592180.122426385407819
23.653.74989766355371-0.0998976635537103
33.553.66050001564694-0.110500015646943
43.433.423110438103240.00688956189675844
53.473.368248612529220.101751387470783
63.583.59846234062266-0.0184623406226591
73.673.615439700241260.0545602997587431
83.723.694163753852280.0258362461477184
93.83.725748481433850.0742515185661449
103.763.81490059240301-0.0549005924030069
113.633.6775991351943-0.0475991351942975
123.483.50256589205933-0.0225658920593253
133.413.41226575169928-0.00226575169928146
143.433.355778297776850.074221702223153
153.53.54931919649325-0.0493191964932478
163.623.529164535765590.0908354642344062
173.583.73903172944161-0.159031729441614
183.523.509980938584440.0100190614155575
193.453.395150636418530.0548493635814677
203.363.37162586135579-0.0116258613557907
213.273.28803883362883-0.0180388336288255
223.213.173085607124440.0369143928755603
233.193.19423566264738-0.00423566264737936
243.163.20687123104878-0.0468712310487771
253.123.18786175813218-0.0678617581321828
263.063.055449450846820.00455054915317979
273.013.08775459685588-0.0777545968558802
282.982.954452218529490.0255477814705124
292.973.00504727516210-0.0350472751621032
303.023.015984588580340.00401541141965914
313.073.021379867539480.0486201324605214
323.183.089311722136960.09068827786304
333.293.35974637550926-0.0697463755092619
343.433.403415812365970.0265841876340307
353.613.61524396597273-0.00524396597272548
363.743.81932165000019-0.0793216500001923
373.873.90932847027706-0.0393284702770553
383.883.9670382861368-0.0870382861367992
394.093.952296189358590.137703810641412
404.194.3183306434537-0.128330643453695
414.24.27315216800057-0.073152168000568
424.294.233217722090520.0567822779094791
434.374.3452070836840.024792916315996
444.474.42369044240110.0463095575989001
454.614.565155801898480.0448441981015185
464.654.69813643263538-0.0481364326353802
474.694.654817014415080.0351829855849185
484.824.733542228293090.0864577717069119
494.864.99563344968811-0.135633449688110
504.874.811000261219260.0589997387807372
515.014.931044726014970.0789552739850286
525.035.11687906675682-0.0868790667568239
535.135.011863331804550.118136668195449
545.185.25042079409118-0.0704207940911813
555.215.111232293099770.0987677069002278
565.265.182373654673520.0776263453264774
575.255.28131050752958-0.0313105075295761
585.25.16046155547120.0395384445287960
595.165.138104221770520.021895778229484
605.195.127698998598620.0623010014013826
615.395.267336955611190.122663044388810
625.585.530836040466560.0491639595334396
635.765.739085275630370.0209147243696306
645.895.798063097391160.091936902608842
655.985.932656883061950.0473431169380536
666.026.001933616030850.0180663839691445
675.625.90159041901696-0.281590419016956
684.875.09883456558035-0.228834565580345


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
210.741664293847760.5166714123044790.258335706152240
220.5960348914119910.8079302171760180.403965108588009
230.4440571050830520.8881142101661040.555942894916948
240.3205676376936010.6411352753872020.679432362306399
250.3104978708899490.6209957417798990.68950212911005
260.2101151020652150.4202302041304310.789884897934785
270.1640278793710930.3280557587421850.835972120628907
280.1049880315770550.209976063154110.895011968422945
290.06739064167092730.1347812833418550.932609358329073
300.04166309413629660.08332618827259320.958336905863703
310.02225688902661070.04451377805322140.97774311097339
320.01761159513224450.0352231902644890.982388404867755
330.00923420528251040.01846841056502080.99076579471749
340.007090213441321310.01418042688264260.992909786558679
350.00479421241700520.00958842483401040.995205787582995
360.003982689612111760.007965379224223520.996017310387888
370.001929650107608820.003859300215217650.998070349892391
380.001293849575052660.002587699150105320.998706150424947
390.004513711668768990.009027423337537980.99548628833123
400.005434366663099910.01086873332619980.9945656333369
410.01085429050097070.02170858100194130.98914570949903
420.005680198915412940.01136039783082590.994319801084587
430.002524713515072570.005049427030145140.997475286484927
440.001153937961778710.002307875923557420.998846062038221
450.0006462638821952670.001292527764390530.999353736117805
460.001014507761079830.002029015522159660.99898549223892
470.0006017256104417410.001203451220883480.999398274389558


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level100.370370370370370NOK
5% type I error level170.62962962962963NOK
10% type I error level180.666666666666667NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/28/t1293570577x4pf60bogbr27d9/10e1141293570695.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/28/t1293570577x4pf60bogbr27d9/10e1141293570695.ps (open in new window)


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


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


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


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


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


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


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


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


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