Home » date » 2009 » Nov » 19 »

Eco. Crisis

*The author of this computation has been verified*
R Software Module: /rwasp_multipleregression.wasp (opens new window with default values)
Title produced by software: Multiple Regression
Date of computation: Thu, 19 Nov 2009 12:59:19 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Nov/19/t1258660823wgnn3dkav46453n.htm/, Retrieved Thu, 19 Nov 2009 21:00:35 +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/2009/Nov/19/t1258660823wgnn3dkav46453n.htm/},
    year = {2009},
}
@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 = {2009},
    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 «
105.7 0 105.7 0 111.1 0 82.4 0 60 0 107.3 0 99.3 0 113.5 0 108.9 0 100.2 0 103.9 0 138.7 0 120.2 0 100.2 0 143.2 0 70.9 0 85.2 0 133 0 136.6 0 117.9 0 106.3 0 122.3 0 125.5 0 148.4 0 126.3 0 99.6 0 140.4 0 80.3 0 92.6 0 138.5 0 110.9 0 119.6 0 105 0 109 0 129.4 0 148.6 0 101.4 0 134.8 0 143.7 0 81.6 0 90.3 0 141.5 0 140.7 0 140.2 0 100.2 0 125.7 0 119.6 0 134.7 0 109 0 116.3 0 146.9 0 97.4 0 89.4 0 132.1 0 139.8 0 129 0 112.5 0 121.9 0 121.7 0 123.1 0 131.6 0 119.3 0 132.5 0 98.3 0 85.1 0 131.7 0 129.3 0 90.7 1 78.6 1 68.9 1 79.1 1 83.5 1 74.1 1 59.7 1 93.3 1 61.3 1 56.6 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 time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 115.938805970149 -41.3588059701492X[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)115.9388059701492.40910948.125200
X-41.35880597014926.685005-6.186800


Multiple Linear Regression - Regression Statistics
Multiple R0.58129461372589
R-squared0.337903427946732
Adjusted R-squared0.329075473652688
F-TEST (value)38.2765266665147
F-TEST (DF numerator)1
F-TEST (DF denominator)75
p-value2.96945197320042e-08
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation19.7194033393432
Sum Squared Residuals29164.1151044776


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1105.7115.938805970149-10.2388059701494
2105.7115.938805970149-10.2388059701493
3111.1115.938805970149-4.83880597014926
482.4115.938805970149-33.5388059701492
560115.938805970149-55.9388059701493
6107.3115.938805970149-8.63880597014925
799.3115.938805970149-16.6388059701493
8113.5115.938805970149-2.43880597014925
9108.9115.938805970149-7.03880597014925
10100.2115.938805970149-15.7388059701492
11103.9115.938805970149-12.0388059701492
12138.7115.93880597014922.7611940298507
13120.2115.9388059701494.26119402985075
14100.2115.938805970149-15.7388059701492
15143.2115.93880597014927.2611940298507
1670.9115.938805970149-45.0388059701492
1785.2115.938805970149-30.7388059701492
18133115.93880597014917.0611940298507
19136.6115.93880597014920.6611940298507
20117.9115.9388059701491.96119402985075
21106.3115.938805970149-9.63880597014925
22122.3115.9388059701496.36119402985075
23125.5115.9388059701499.56119402985075
24148.4115.93880597014932.4611940298508
25126.3115.93880597014910.3611940298507
2699.6115.938805970149-16.3388059701493
27140.4115.93880597014924.4611940298508
2880.3115.938805970149-35.6388059701493
2992.6115.938805970149-23.3388059701493
30138.5115.93880597014922.5611940298507
31110.9115.938805970149-5.03880597014925
32119.6115.9388059701493.66119402985074
33105115.938805970149-10.9388059701493
34109115.938805970149-6.93880597014925
35129.4115.93880597014913.4611940298508
36148.6115.93880597014932.6611940298507
37101.4115.938805970149-14.5388059701492
38134.8115.93880597014918.8611940298508
39143.7115.93880597014927.7611940298507
4081.6115.938805970149-34.3388059701493
4190.3115.938805970149-25.6388059701493
42141.5115.93880597014925.5611940298507
43140.7115.93880597014924.7611940298507
44140.2115.93880597014924.2611940298507
45100.2115.938805970149-15.7388059701492
46125.7115.9388059701499.76119402985075
47119.6115.9388059701493.66119402985074
48134.7115.93880597014918.7611940298507
49109115.938805970149-6.93880597014925
50116.3115.9388059701490.361194029850745
51146.9115.93880597014930.9611940298508
5297.4115.938805970149-18.5388059701492
5389.4115.938805970149-26.5388059701492
54132.1115.93880597014916.1611940298507
55139.8115.93880597014923.8611940298508
56129115.93880597014913.0611940298507
57112.5115.938805970149-3.43880597014925
58121.9115.9388059701495.96119402985075
59121.7115.9388059701495.76119402985075
60123.1115.9388059701497.16119402985074
61131.6115.93880597014915.6611940298507
62119.3115.9388059701493.36119402985075
63132.5115.93880597014916.5611940298507
6498.3115.938805970149-17.6388059701493
6585.1115.938805970149-30.8388059701493
66131.7115.93880597014915.7611940298507
67129.3115.93880597014913.3611940298508
6890.774.5816.12
6978.674.584.02000000000000
7068.974.58-5.67999999999999
7179.174.584.5200
7283.574.588.92
7374.174.58-0.480000000000005
7459.774.58-14.88
7593.374.5818.72
7661.374.58-13.28
7756.674.58-17.98


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.8383762154226070.3232475691547870.161623784577393
60.7675079852599060.4649840294801880.232492014740094
70.658940665003470.682118669993060.34105933499653
80.6130536720557020.7738926558885960.386946327944298
90.5258914932412980.9482170135174050.474108506758702
100.421931691663890.843863383327780.57806830833611
110.3295333869892840.6590667739785670.670466613010716
120.5848782818893260.8302434362213470.415121718110674
130.5469466290104120.9061067419791760.453053370989588
140.4703939960926720.9407879921853430.529606003907328
150.6704308550759180.6591382898481640.329569144924082
160.837254096195590.3254918076088220.162745903804411
170.8578929433040.2842141133920000.142107056696000
180.8827678829526410.2344642340947180.117232117047359
190.9103542184546310.1792915630907380.089645781545369
200.8830550718828650.2338898562342700.116944928117135
210.8487458297504980.3025083404990040.151254170249502
220.8195195239396260.3609609521207480.180480476060374
230.7952579728203760.4094840543592490.204742027179624
240.8857267653915210.2285464692169570.114273234608479
250.8642038963611010.2715922072777970.135796103638899
260.8464421817507050.307115636498590.153557818249295
270.8731727607152980.2536544785694030.126827239284702
280.931011933592640.137976132814720.06898806640736
290.938394668228660.1232106635426780.0616053317713389
300.9467506363650340.1064987272699320.053249363634966
310.9284232485634030.1431535028731930.0715767514365967
320.9050742636897780.1898514726204450.0949257363102224
330.8859276833528960.2281446332942080.114072316647104
340.8579012563625620.2841974872748750.142098743637438
350.8384349741787090.3231300516425820.161565025821291
360.8982457172458150.2035085655083710.101754282754185
370.8879538051114210.2240923897771590.112046194888579
380.8833102016769440.2333795966461110.116689798323056
390.909317906303110.1813641873937790.0906820936968897
400.9601980528250740.07960389434985150.0398019471749258
410.9754122204245950.049175559150810.024587779575405
420.9800884193505320.03982316129893570.0199115806494678
430.9834216837186480.03315663256270320.0165783162813516
440.986136410656270.02772717868745880.0138635893437294
450.9860675385586560.02786492288268820.0139324614413441
460.9799105652637530.04017886947249420.0200894347362471
470.9698091007922460.06038179841550760.0301908992077538
480.9670033270391470.06599334592170570.0329966729608529
490.956045694435110.08790861112977830.0439543055648891
500.9370064896480580.1259870207038830.0629935103519417
510.9628638594667820.07427228106643650.0371361405332183
520.96746117479450.06507765041099960.0325388252054998
530.986806373443120.02638725311375920.0131936265568796
540.9827454309421760.03450913811564870.0172545690578244
550.9855726118090590.02885477638188290.0144273881909415
560.9799993312112680.04000133757746410.0200006687887321
570.9694048819693630.06119023606127460.0305951180306373
580.9523204867197220.0953590265605560.047679513280278
590.9278136983898010.1443726032203980.0721863016101988
600.8955959935867960.2088080128264080.104404006413204
610.8801957195465110.2396085609069780.119804280453489
620.8299540219169560.3400919561660880.170045978083044
630.8324790049380660.3350419901238680.167520995061934
640.8115107167822440.3769785664355120.188489283217756
650.9654830270520820.06903394589583660.0345169729479183
660.939291926369050.1214161472618990.0607080736309493
670.8961535171860990.2076929656278030.103846482813901
680.8954837507030150.2090324985939700.104516249296985
690.8325501868026350.3348996263947310.167449813197365
700.7331214538515010.5337570922969970.266878546148499
710.6121633087157290.7756733825685430.387836691284271
720.5174326787859830.9651346424280340.482567321214017


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level100.147058823529412NOK
10% type I error level190.279411764705882NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258660823wgnn3dkav46453n/10nz6d1258660754.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258660823wgnn3dkav46453n/10nz6d1258660754.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258660823wgnn3dkav46453n/150vy1258660754.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258660823wgnn3dkav46453n/150vy1258660754.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258660823wgnn3dkav46453n/2tr8i1258660754.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258660823wgnn3dkav46453n/2tr8i1258660754.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258660823wgnn3dkav46453n/3jg7g1258660754.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258660823wgnn3dkav46453n/3jg7g1258660754.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258660823wgnn3dkav46453n/4d7711258660754.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258660823wgnn3dkav46453n/4d7711258660754.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258660823wgnn3dkav46453n/5jtd31258660754.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258660823wgnn3dkav46453n/5jtd31258660754.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258660823wgnn3dkav46453n/61woj1258660754.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258660823wgnn3dkav46453n/61woj1258660754.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258660823wgnn3dkav46453n/7opuk1258660754.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258660823wgnn3dkav46453n/7opuk1258660754.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258660823wgnn3dkav46453n/8sije1258660754.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258660823wgnn3dkav46453n/8sije1258660754.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258660823wgnn3dkav46453n/9hi7w1258660754.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258660823wgnn3dkav46453n/9hi7w1258660754.ps (open in new window)


 
Parameters (Session):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
 
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