Home » date » 2010 » Dec » 14 »

Multiple Regression

*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, 14 Dec 2010 19:12:52 +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/14/t1292353915c7gjp5p255g7oeu.htm/, Retrieved Tue, 14 Dec 2010 20:14:05 +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/14/t1292353915c7gjp5p255g7oeu.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 «
6000 10800 10100 16100 17700 13900 17700 6000 10900 10000 15800 17700 13500 19800 6000 11000 10000 16900 17700 13900 19400 6000 11000 10000 17800 17700 13700 18500 6000 11100 10600 17600 17400 13800 18400 6000 11000 12200 18300 17800 15100 18200 6000 11000 12400 18000 17800 15100 18300 6000 11100 13400 15700 17800 14500 19100 6100 11100 13000 14500 17800 13000 18500 6100 11100 10500 14000 18100 12900 18100 6100 11100 10000 15500 18400 14400 18300 6100 11100 10000 15800 18000 14600 17900 6100 11200 10100 15800 17800 15000 18000 6100 11100 10200 15900 17600 13900 18200 6200 11100 10600 18000 17400 14800 18800 6200 11200 10900 19900 17200 15200 20100 6200 11200 10900 20600 17300 16800 19700 6300 11100 11500 20600 17700 17400 19200 6300 11200 12500 20800 18100 17200 19800 6300 11100 13700 20000 18300 17400 20200 6300 11100 15100 18500 18700 18300 19000 6300 11000 13500 17700 18900 19900 19400 6300 11000 13200 17000 18200 18500 19600 6400 11000 13000 16600 17900 16800 18400 6300 11100 13900 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 time17 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
Vruchtesappen[t] = + 9131.73309840353 + 0.454083662567809Mineraalwater[t] + 0.00771101131009535Appelen[t] -0.0655831488070655Sinaasappelen[t] + 0.0340529156698439Citroenen[t] + 0.0192571859658415Pompelmoezen[t] -0.0490769779229899Bananen[t] + 57.4062005061049M1[t] + 77.7493115271082M2[t] + 250.489345731327M3[t] + 344.236338901192M4[t] + 356.036377383132M5[t] + 359.805646551251M6[t] + 302.852781869608M7[t] + 192.587979854707M8[t] + 49.6309153787849M9[t] + 39.9297724453515M10[t] + 44.9352240195256M11[t] + 4.55639570066448t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)9131.73309840353991.9047599.206300
Mineraalwater0.4540836625678090.112384.04060.0001738.7e-05
Appelen0.007711011310095350.0132220.58320.5622410.28112
Sinaasappelen-0.06558314880706550.022302-2.94070.0048450.002423
Citroenen0.03405291566984390.0411150.82820.4112510.205626
Pompelmoezen0.01925718596584150.0179531.07260.2882910.144145
Bananen-0.04907697792298990.028234-1.73820.0879740.043987
M157.406200506104979.1575280.72520.471510.235755
M277.749311527108281.5002090.9540.3444260.172213
M3250.48934573132797.2710292.57520.0128460.006423
M4344.236338901192110.5006073.11520.0029640.001482
M5356.036377383132115.7374363.07620.0033130.001656
M6359.805646551251123.0435582.92420.0050710.002535
M7302.852781869608114.1852842.65230.0105240.005262
M8192.587979854707101.5545791.89640.0633640.031682
M949.630915378784992.7296410.53520.5947350.297368
M1039.929772445351577.7532220.51350.6097050.304852
M1144.935224019525679.9549670.5620.5764810.28824
t4.556395700664482.8762371.58420.1191090.059554


Multiple Linear Regression - Regression Statistics
Multiple R0.799200768910404
R-squared0.638721869026981
Adjusted R-squared0.516023635866333
F-TEST (value)5.20563216416252
F-TEST (DF numerator)18
F-TEST (DF denominator)53
p-value1.3085519341427e-06
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation129.986803912926
Sum Squared Residuals895518.167149366


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
11080010941.9391714998-141.939171499841
21090010874.977993708025.0220062919670
31100011007.4666254807-7.46662548067558
41100011087.0630233624-87.0630233623686
51110011117.7802357804-17.7802357803734
61100011141.0062181885-141.006218188493
71100011104.9191983194-104.919198319354
81110011106.9471516536-6.94715165356724
91110011090.13063098469.869369015438
101110011126.4208771537-26.4208771536528
111110011063.038753628036.9612463720369
121110011012.846042761487.1539572385911
131120011071.5643335593128.435666440744
141110011052.867743250247.1322567497655
151110011122.0070289226-22.0070289225945
161120011035.1079584052164.892041594792
171120011059.4037687044140.596231295606
181110011167.4783734250-67.478373424953
191120011089.9998283136110.000171686368
201110011037.042383775162.9576162248964
211110011097.65686118942.34313881063982
221100011150.6323044162-150.632304416210
231100011143.1765555573-143.176555557299
241100011188.8364334207-188.836433420730
251110011179.4948537127-79.4948537126964
261100011190.7545403590-190.754540358985
271100011140.2045892504-140.204589250432
281090011150.7382354840-250.738235484013
291100011114.1019851576-114.101985157647
301100011064.4661514704-64.4661514704467
311110011129.5968179685-29.596817968493
321130011281.677145308018.3228546920307
331130011207.137375113092.8626248870277
341130011215.053425973384.9465740267101
351130011210.023273084589.9767269155478
361140011218.9637798106181.036220189367
371140011216.0874346639183.9125653361
381140011220.3207937966179.679206203378
391150011248.6859495975251.314050402483
401150011279.5755638071220.424436192851
411150011362.4399732866137.560026713448
421150011329.8527219905170.14727800953
431150011379.1734328689120.826567131071
441150011455.193028797344.8069712027277
451140011397.55806991582.44193008420276
461140011285.0284987938114.971501206220
471140011225.8310319541174.168968045868
481130011205.472528440994.5274715591098
491120011184.289449450515.7105505495091
501130011225.669441362774.3305586373422
511130011279.955823305320.0441766947427
521130011347.1410881156-47.1410881155754
531120011318.5546458387-118.554645838654
541130011377.2201233352-77.2201233352117
551120011295.0689557265-95.0689557265167
561120011297.5326409155-97.5326409154885
571110011208.0162445651-108.016244565063
581110011155.5045876359-55.5045876359424
591110011157.8341436636-57.8341436635955
601110011200.3643778261-100.364377826066
611140011506.6247571138-106.624757113815
621150011635.4094875235-135.409487523468
631150011601.6799834435-101.679983443523
641160011600.3741308257-0.374130825685482
651150011527.7193912324-27.7193912323806
661160011419.9764115904180.023588409574
671130011301.2417668031-1.24176680307487
681130011321.6076495506-21.6076495505992
691120011199.50081823220.499181767755088
701120011167.360306027132.6396939728755
711110011200.0962421126-100.096242112558
721110011173.5168377403-73.5168377402719


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
220.008290462989271370.01658092597854270.991709537010729
230.00735697997271750.0147139599454350.992643020027282
240.001887408013320640.003774816026641280.99811259198668
250.002749855322397290.005499710644794570.997250144677603
260.001260149113857500.002520298227714990.998739850886142
270.02319167484480850.0463833496896170.976808325155192
280.1513911346682110.3027822693364220.848608865331789
290.1508209882413160.3016419764826330.849179011758684
300.4298954357627970.8597908715255930.570104564237203
310.6523094342887320.6953811314225350.347690565711268
320.7916654047282750.4166691905434510.208334595271725
330.795101445845610.4097971083087810.204898554154390
340.8930250527191790.2139498945616430.106974947280821
350.960245262947420.07950947410515820.0397547370525791
360.9851351619749640.02972967605007230.0148648380250361
370.9799179584589660.04016408308206780.0200820415410339
380.9829459348639360.03410813027212850.0170540651360643
390.988506008184740.02298798363052130.0114939918152606
400.9908552129390780.01828957412184430.00914478706092214
410.9985580703922990.002883859215402230.00144192960770111
420.9983553511827630.003289297634474140.00164464881723707
430.9985948319511740.002810336097652320.00140516804882616
440.9965764751367150.00684704972657080.0034235248632854
450.9933001331265410.01339973374691720.00669986687345861
460.988161276864690.02367744627062220.0118387231353111
470.9710688388150220.05786232236995660.0289311611849783
480.9688017585192780.06239648296144350.0311982414807217
490.9740474167346490.05190516653070250.0259525832653512
500.944797667618590.1104046647628180.0552023323814091


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level70.241379310344828NOK
5% type I error level170.586206896551724NOK
10% type I error level210.724137931034483NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/14/t1292353915c7gjp5p255g7oeu/10psi31292353954.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t1292353915c7gjp5p255g7oeu/10psi31292353954.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/14/t1292353915c7gjp5p255g7oeu/1ir3r1292353954.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t1292353915c7gjp5p255g7oeu/1ir3r1292353954.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/14/t1292353915c7gjp5p255g7oeu/2tiku1292353954.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t1292353915c7gjp5p255g7oeu/2tiku1292353954.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/14/t1292353915c7gjp5p255g7oeu/3tiku1292353954.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t1292353915c7gjp5p255g7oeu/3tiku1292353954.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/14/t1292353915c7gjp5p255g7oeu/4tiku1292353954.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t1292353915c7gjp5p255g7oeu/4tiku1292353954.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/14/t1292353915c7gjp5p255g7oeu/54r1f1292353954.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t1292353915c7gjp5p255g7oeu/54r1f1292353954.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/14/t1292353915c7gjp5p255g7oeu/64r1f1292353954.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t1292353915c7gjp5p255g7oeu/64r1f1292353954.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/14/t1292353915c7gjp5p255g7oeu/7wjii1292353954.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t1292353915c7gjp5p255g7oeu/7wjii1292353954.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/14/t1292353915c7gjp5p255g7oeu/8wjii1292353954.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t1292353915c7gjp5p255g7oeu/8wjii1292353954.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/14/t1292353915c7gjp5p255g7oeu/9psi31292353954.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t1292353915c7gjp5p255g7oeu/9psi31292353954.ps (open in new window)


 
Parameters (Session):
par1 = kendall ;
 
Parameters (R input):
par1 = 2 ; 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