Home » date » 2009 » Nov » 22 »

model 3 : lineaire trend

*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: Sun, 22 Nov 2009 04:48:44 -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/22/t1258890858fhqayv58fl3q5i7.htm/, Retrieved Sun, 22 Nov 2009 12:54:30 +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/22/t1258890858fhqayv58fl3q5i7.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 «
9.3 8.1 10.9 25.6 8.7 7.7 10 23.7 8.2 7.5 9.2 22 8.3 7.6 9.2 21.3 8.5 7.8 9.5 20.7 8.6 7.8 9.6 20.4 8.5 7.8 9.5 20.3 8.2 7.5 9.1 20.4 8.1 7.5 8.9 19.8 7.9 7.1 9 19.5 8.6 7.5 10.1 23.1 8.7 7.5 10.3 23.5 8.7 7.6 10.2 23.5 8.5 7.7 9.6 22.9 8.4 7.7 9.2 21.9 8.5 7.9 9.3 21.5 8.7 8.1 9.4 20.5 8.7 8.2 9.4 20.2 8.6 8.2 9.2 19.4 8.5 8.2 9 19.2 8.3 7.9 9 18.8 8 7.3 9 18.8 8.2 6.9 9.8 22.6 8.1 6.6 10 23.3 8.1 6.7 9.8 23 8 6.9 9.3 21.4 7.9 7 9 19.9 7.9 7.1 9 18.8 8 7.2 9.1 18.6 8 7.1 9.1 18.4 7.9 6.9 9.1 18.6 8 7 9.2 19.9 7.7 6.8 8.8 19.2 7.2 6.4 8.3 18.4 7.5 6.7 8.4 21.1 7.3 6.6 8.1 20.5 7 6.4 7.7 19.1 7 6.3 7.9 18.1 7 6.2 7.9 17 7.2 6.5 8 17.1 7.3 6.8 7.9 17.4 7.1 6.8 7.6 16.8 6.8 6.4 7.1 15.3 6.4 6.1 6.8 14.3 6.1 5.8 6.5 13.4 6.5 6.1 6.9 15.3 7.7 7.2 8.2 22.1 7.9 7.3 8.7 23.7 7.5 6.9 8.3 22.2 6.9 6.1 7.9 19.5 6.6 5.8 7.5 16.6 6.9 6.2 7.8 17.3 7.7 7.1 8.3 19.8 8 7.7 8.4 21.2 8 7.9 8.2 21.5 7.7 7.7 7.7 20.6 7.3 7.4 7.2 19.1 7.4 7.5 7.3 19.6 8.1 8 8.1 23.5 8.3 8. 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 time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
TW[t] = + 0.137478831210173 + 0.53055726280852WM[t] + 0.43158336885857WV[t] + 0.00605746119417265WJ[t] + 0.00172169418001913M1[t] + 0.00222234476380082M2[t] + 0.0287546597955706M3[t] + 0.0101104864524246M4[t] + 0.0303651906903672M5[t] + 0.0148706587567332M6[t] + 0.0254744210331318M7[t] + 0.0123528305229541M8[t] -0.00557343797333338M9[t] -0.0101279204730681M10[t] + 0.0287035908541254M11[t] + 0.000459327773782868t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)0.1374788312101730.102481.34150.1864820.093241
WM0.530557262808520.01357939.07300
WV0.431583368858570.01355331.844100
WJ0.006057461194172650.0057991.04460.3017670.150884
M10.001721694180019130.0200530.08590.931960.46598
M20.002222344763800820.0220190.10090.9200570.460028
M30.02875465979557060.0245111.17310.2469150.123458
M40.01011048645242460.0265240.38120.7048580.352429
M50.03036519069036720.028761.05580.2966920.148346
M60.01487065875673320.0297430.50.6195350.309767
M70.02547442103313180.0299850.84960.4000560.200028
M80.01235283052295410.0288210.42860.6702520.335126
M9-0.005573437973333380.029608-0.18820.8515350.425767
M10-0.01012792047306810.027349-0.37030.7128820.356441
M110.02870359085412540.0210241.36530.1789570.089478
t0.0004593277737828680.0005210.8810.3829870.191493


Multiple Linear Regression - Regression Statistics
Multiple R0.999124703391936
R-squared0.998250172928024
Adjusted R-squared0.997666897237365
F-TEST (value)1711.45512990729
F-TEST (DF numerator)15
F-TEST (DF denominator)45
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.0328859962513968
Sum Squared Residuals0.0486669937251097


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
19.39.296503409042220.00349659095777864
28.78.685306274034740.0146937259652613
38.28.25062208516163-0.0506220851616339
48.38.28125274303720.0187472569627983
58.58.5339187615517-0.0339187615516996
68.68.560224655919450.0397753440805461
78.58.52752366296436-0.027523662964361
88.28.18366661996140.0163333800386
98.18.076248528750680.0237514712493222
107.97.90127156742892-0.00127156742892187
118.68.64933387769675-0.0493338776967554
128.78.7098292728658-0.00982927286579663
138.78.72190768421459-0.0219076842145930
148.58.51333889082136-0.0133388908213639
158.48.361639724889320.0383602751106846
168.58.490301684289840.00969831571015457
178.78.654228044554960.0457719554450405
188.78.69043132831770.00956867168229146
198.68.61033177564084-0.0103317756408372
208.58.5101413468939-0.0101413468938939
218.38.33108424285116-0.0310842428511637
2288.0086547304401-0.00865473044009996
238.28.20400771204238-0.00400771204238111
248.18.10715316672712-0.0071531667271162
258.18.07425600283180.0257439971681949
2687.955843811411110.0441561885888876
277.97.897329978048690.00267002195131358
287.97.92553765144659-0.0255376514465853
2988.04125425438619-0.0412542543861857
3087.971951831706650.0280481682933523
317.97.878114961433960.0218850385660404
3287.96954146141670.0304585385833016
337.77.669089497753140.0309105022468588
347.27.23213378451916-0.0321337845191584
357.57.490105284572810.00989471542718605
367.37.275695807837540.0243041921624555
3776.990651584014370.00934841598562683
3877.01881504866863-0.0188150486686268
3976.986087757879740.0139122421202625
407.27.17083417415820.0291658258417955
417.37.30937428648488-0.0093742864848813
427.17.16122959495096-0.0612295949509557
436.86.735191903657190.064808096342815
446.46.42782999022649-0.0278299902264897
456.16.1162691449291-0.0162691449291033
466.56.455483692858060.0445163071419366
477.77.680636636684930.0193633633150733
487.97.9309317222254-0.030931722225397
497.57.5391702997211-0.0391702997211052
506.96.92669597506416-0.0266959750641583
516.66.60432045402063-0.00432045402062672
526.96.93207374706816-0.0320737470681631
537.77.661224653022270.0387753469777261
5488.01616258910523-0.0161625891052341
5588.04883769630366-0.0488376963036572
567.77.70882058150152-0.00882058150151811
577.37.30730858571591-0.00730858571591397
587.47.40245622475376-0.00245622475375642
598.18.075916489003120.0240835109968771
608.38.276390030344150.0236099696558543
618.28.17751102017590.0224889798240978


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
190.7225886747467640.5548226505064710.277411325253236
200.6874252137632330.6251495724735350.312574786236767
210.6846744533568940.6306510932862110.315325546643106
220.571070651101530.8578586977969410.428929348898471
230.4653891686557370.9307783373114730.534610831344263
240.4217157633323650.843431526664730.578284236667635
250.3334550140081920.6669100280163830.666544985991808
260.3628403525212220.7256807050424440.637159647478778
270.2640146812731750.528029362546350.735985318726825
280.2128571527896540.4257143055793070.787142847210346
290.3653495755393290.7306991510786590.634650424460671
300.2809877582419950.5619755164839910.719012241758005
310.2149319865714610.4298639731429220.785068013428539
320.1756779938205720.3513559876411440.824322006179428
330.1849788490722910.3699576981445820.815021150927709
340.2143014947502800.4286029895005610.78569850524972
350.1537421877729630.3074843755459260.846257812227037
360.1222611415997680.2445222831995370.877738858400232
370.0961209847804650.192241969560930.903879015219535
380.06263581288103490.1252716257620700.937364187118965
390.04209736044484560.08419472088969110.957902639555154
400.08013398288343180.1602679657668640.919866017116568
410.04323644306883740.08647288613767480.956763556931163
420.2322361800533600.4644723601067190.76776381994664


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level00OK
10% type I error level20.0833333333333333OK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/22/t1258890858fhqayv58fl3q5i7/105uiq1258890520.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/22/t1258890858fhqayv58fl3q5i7/105uiq1258890520.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/22/t1258890858fhqayv58fl3q5i7/1b0ka1258890520.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/22/t1258890858fhqayv58fl3q5i7/1b0ka1258890520.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/22/t1258890858fhqayv58fl3q5i7/2vfqg1258890520.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/22/t1258890858fhqayv58fl3q5i7/2vfqg1258890520.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/22/t1258890858fhqayv58fl3q5i7/39tum1258890520.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/22/t1258890858fhqayv58fl3q5i7/39tum1258890520.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/22/t1258890858fhqayv58fl3q5i7/4ipdo1258890520.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/22/t1258890858fhqayv58fl3q5i7/4ipdo1258890520.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/22/t1258890858fhqayv58fl3q5i7/5tpgh1258890520.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/22/t1258890858fhqayv58fl3q5i7/5tpgh1258890520.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/22/t1258890858fhqayv58fl3q5i7/6w4ay1258890520.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/22/t1258890858fhqayv58fl3q5i7/6w4ay1258890520.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/22/t1258890858fhqayv58fl3q5i7/7hjjn1258890520.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/22/t1258890858fhqayv58fl3q5i7/7hjjn1258890520.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/22/t1258890858fhqayv58fl3q5i7/8xsdr1258890520.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/22/t1258890858fhqayv58fl3q5i7/8xsdr1258890520.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/22/t1258890858fhqayv58fl3q5i7/94zbs1258890520.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/22/t1258890858fhqayv58fl3q5i7/94zbs1258890520.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