Home » date » 2009 » Nov » 20 »

Ws 7

*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: Fri, 20 Nov 2009 11:21:24 -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/20/t1258741333hwcv7k15g0l4pra.htm/, Retrieved Fri, 20 Nov 2009 19:22:25 +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/20/t1258741333hwcv7k15g0l4pra.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 «
18.0 16.4 19.6 17.8 23.3 22.3 23.7 22.8 20.3 18.3 22.8 22.4 24.3 23.9 21.5 21.3 23.5 23.0 22.2 21.4 20.9 21.2 22.2 20.9 19.5 17.9 21.1 20.7 22.0 22.2 19.2 19.8 17.8 17.7 19.2 19.6 19.9 20.8 19.6 19.8 18.1 18.6 20.4 21. 18.1 18.6 18.6 18.9 17.6 17.3 19.4 20.0 19.3 19.9 18.6 19.5 16.9 16.2 16.4 17.6 19.0 19.8 18.7 19.4 17.1 17.2 21.5 21.1 17.8 17.8 18.1 17.5 19.0 18.0 18.9 19.1 16.8 17.7 18.1 19.2 15.7 15.1 15.1 16.3 18.3 18.6 16.5 17.2 16.9 17.8 18.4 19.1 16.4 16.6 15.7 16.0 16.9 16.7 16.6 17.4 16.7 17.9 16.6 17.8 14.4 13.9 14.5 15.9 17.5 17.9 14.3 15.4 15.4 16.4 17.2 17.9 14.6 15.3 14.2 14.6 14.9 14.9 14.1 15.0 15.6 16.7 14.6 16.3 11.9 11.7 13.5 15.1 14.2 15.5 13.7 15.0 14.4 15.4 15.3 16.0 14.3 14.7 14.5 14.8
 
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 time4 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
Y[t] = -1.86988843332436 + 1.09005922831809X[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)-1.869888433324360.704185-2.65540.0098010.0049
X1.090059228318090.03865628.198700


Multiple Linear Regression - Regression Statistics
Multiple R0.958692162093623
R-squared0.919090661659746
Adjusted R-squared0.917934813969171
F-TEST (value)795.16589352917
F-TEST (DF numerator)1
F-TEST (DF denominator)70
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.809424302599723
Sum Squared Residuals45.8617391147334


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
11816.00708291109231.9929170889077
219.617.53316583073762.06683416926241
323.322.43843235816900.861567641831023
423.722.98346197232800.716538027671978
520.318.07819544489662.22180455510337
622.822.54743828100080.252561718999217
724.324.18252712347790.117472876522087
821.521.34837312985090.151626870149109
923.523.20147381799160.298526182008362
1022.221.45737905268270.742620947317302
1120.921.2393672070191-0.339367207019082
1222.220.91234943852371.28765056147635
1319.517.64217175356941.85782824643061
1421.120.69433759286000.405662407139965
152222.3294264353372-0.329426435337167
1619.219.7132842873738-0.513284287373761
1717.817.42415990790580.375840092094224
1819.219.4952724417101-0.295272441710145
1919.920.8033435156918-0.903343515691849
2019.619.7132842873738-0.113284287373759
2118.118.4052132133921-0.305213213392056
2220.421.0213553613555-0.621355361355466
2318.118.4052132133921-0.305213213392056
2418.618.7322309818875-0.132230981887479
2517.616.98813621657850.611863783421458
2619.419.9312961330374-0.531296133037379
2719.319.8222902102056-0.522290210205566
2818.619.3862665188783-0.786266518878332
2916.915.78907106542861.11092893457135
3016.417.3151539850740-0.915153985073972
311919.7132842873738-0.713284287373761
3218.719.2772605960465-0.577260596046524
3317.116.87913029374670.220869706253268
3421.521.13036128418730.369638715812726
3517.817.53316583073760.266834169262414
3618.117.20614806224220.893851937757841
371917.75117767640121.24882232359880
3818.918.9502428275511-0.050242827551102
3916.817.4241599079058-0.624159907905776
4018.119.0592487503829-0.959248750382905
4115.714.59000591427881.10999408572125
4215.115.8980769882605-0.798076988260457
4318.318.4052132133921-0.105213213392056
4416.516.8791302937467-0.379130293746733
4516.917.5331658307376-0.633165830737588
4618.418.9502428275511-0.550242827551102
4716.416.22509475675590.174905243244115
4815.715.57105921976500.128940780234969
4916.916.33410067958770.565899320412309
5016.617.0971421394104-0.497142139410349
5116.717.6421717535694-0.942171753569394
5216.617.5331658307376-0.933165830737586
5314.413.28193484029701.11806515970295
5414.515.4620532969332-0.962053296933222
5517.517.6421717535694-0.142171753569393
5614.314.9170236827742-0.617023682774178
5715.416.0070829110923-0.607082911092263
5817.217.6421717535694-0.442171753569394
5914.614.8080177599424-0.208017759942370
6014.214.04497630011970.155023699880291
6114.914.37199406861510.528005931384865
6214.114.4809999914469-0.380999991446944
6315.616.3341006795877-0.73410067958769
6414.615.8980769882605-1.29807698826046
6511.910.88380453799731.01619546200274
6613.514.5900059142788-1.09000591427875
6714.215.0260296056060-0.826029605605987
6813.714.4809999914469-0.780999991446944
6914.414.9170236827742-0.517023682774178
7015.315.5710592197650-0.271059219765029
7114.314.15398222295150.146017777048484
7214.514.26298814578330.237011854216673


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.08798947818372940.1759789563674590.91201052181627
60.1093225798707550.2186451597415100.890677420129245
70.05073231557559540.1014646311511910.949267684424405
80.1136199092661880.2272398185323760.886380090733812
90.06204779013986650.1240955802797330.937952209860134
100.03516137407715290.07032274815430590.964838625922847
110.1791619881308510.3583239762617020.82083801186915
120.1860069786807710.3720139573615410.81399302131923
130.2098681775374280.4197363550748550.790131822462573
140.2167262251809140.4334524503618280.783273774819086
150.2587914531687910.5175829063375810.741208546831209
160.6478026919000970.7043946161998070.352197308099903
170.7631365286880760.4737269426238480.236863471311924
180.8372346317042010.3255307365915970.162765368295799
190.914948192116730.170103615766540.08505180788327
200.9140861166018280.1718277667963440.0859138833981718
210.9350697119496110.1298605761007770.0649302880503887
220.9361427959924150.1277144080151700.0638572040075848
230.9417785003363070.1164429993273860.0582214996636932
240.9347916719175910.1304166561648170.0652083280824086
250.9270933677803950.1458132644392110.0729066322196055
260.9236278413289190.1527443173421630.0763721586710813
270.9178238171539750.1643523656920510.0821761828460255
280.9270743208461620.1458513583076760.072925679153838
290.9380741964540990.1238516070918020.0619258035459011
300.9618600629095050.07627987418099030.0381399370904952
310.9588859475383350.082228104923330.041114052461665
320.9520607935991960.09587841280160790.0479392064008039
330.9381785305228840.1236429389542330.0618214694771164
340.9407633285847680.1184733428304650.0592366714152323
350.9293229656091450.1413540687817110.0706770343908553
360.9496023325180560.1007953349638880.0503976674819442
370.9889306120531540.02213877589369180.0110693879468459
380.989124370148580.02175125970283850.0108756298514193
390.9877647287617650.02447054247646930.0122352712382347
400.9869835140792330.02603297184153470.0130164859207673
410.9935946168608720.01281076627825700.00640538313912848
420.9944771827134510.01104563457309750.00552281728654873
430.994139943645890.01172011270821760.00586005635410881
440.9916320948519480.01673581029610420.0083679051480521
450.9885763686056010.02284726278879760.0114236313943988
460.9859459479754290.02810810404914260.0140540520245713
470.9843377616549860.0313244766900270.0156622383450135
480.9796744042161270.04065119156774710.0203255957838736
490.9909581644412760.01808367111744850.00904183555872425
500.9876914323158850.02461713536823010.0123085676841151
510.983434371833810.03313125633238050.0165656281661902
520.9772404658423740.04551906831525260.0227595341576263
530.9887044637702730.02259107245945440.0112955362297272
540.9886489269757360.02270214604852770.0113510730242639
550.9929007724908080.01419845501838350.00709922750919175
560.9890158993247370.02196820135052600.0109841006752630
570.9809308940044680.03813821199106470.0190691059955323
580.9884188783618020.0231622432763970.0115811216381985
590.9788714323091370.04225713538172690.0211285676908635
600.9642690533947280.07146189321054320.0357309466052716
610.9784108946086490.04317821078270150.0215891053913508
620.957390776077930.08521844784413980.0426092239220699
630.9375367167599450.1249265664801110.0624632832400554
640.9124137827775010.1751724344449990.0875862172224993
650.8420899883875120.3158200232249760.157910011612488
660.8782973096153330.2434053807693350.121702690384667
670.8201489132143730.3597021735712540.179851086785627


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level240.380952380952381NOK
10% type I error level300.476190476190476NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258741333hwcv7k15g0l4pra/10e0jz1258741279.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258741333hwcv7k15g0l4pra/10e0jz1258741279.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t1258741333hwcv7k15g0l4pra/1e2bs1258741279.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258741333hwcv7k15g0l4pra/1e2bs1258741279.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t1258741333hwcv7k15g0l4pra/2df3m1258741279.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258741333hwcv7k15g0l4pra/2df3m1258741279.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t1258741333hwcv7k15g0l4pra/34fhu1258741279.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258741333hwcv7k15g0l4pra/34fhu1258741279.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t1258741333hwcv7k15g0l4pra/48htt1258741279.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258741333hwcv7k15g0l4pra/48htt1258741279.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t1258741333hwcv7k15g0l4pra/5xvsn1258741279.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258741333hwcv7k15g0l4pra/5xvsn1258741279.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t1258741333hwcv7k15g0l4pra/63qqt1258741279.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258741333hwcv7k15g0l4pra/63qqt1258741279.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t1258741333hwcv7k15g0l4pra/7vgdx1258741279.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258741333hwcv7k15g0l4pra/7vgdx1258741279.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t1258741333hwcv7k15g0l4pra/8cuqa1258741279.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258741333hwcv7k15g0l4pra/8cuqa1258741279.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t1258741333hwcv7k15g0l4pra/9l0ca1258741279.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258741333hwcv7k15g0l4pra/9l0ca1258741279.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