Home » date » 2009 » Nov » 18 »

*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: Wed, 18 Nov 2009 08:49:51 -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/18/t12585600915cablmxvvwwgozj.htm/, Retrieved Wed, 18 Nov 2009 17:01:43 +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/18/t12585600915cablmxvvwwgozj.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 «
274412 244752 272433 244576 268361 241572 268586 240541 264768 236089 269974 236997 304744 264579 309365 270349 308347 269645 298427 267037 289231 258113 291975 262813 294912 267413 293488 267366 290555 264777 284736 258863 281818 254844 287854 254868 316263 277267 325412 285351 326011 286602 328282 283042 317480 276687 317539 277915 313737 277128 312276 277103 309391 275037 302950 270150 300316 267140 304035 264993 333476 287259 337698 291186 335932 292300 323931 288186 313927 281477 314485 282656 313218 280190 309664 280408 302963 276836 298989 275216 298423 274352 301631 271311 329765 289802 335083 290726 327616 292300 309119 278506 295916 269826 291413 265861 291542 269034 284678 264176 276475 255198 272566 253353 264981 246057 263290 235372 296806 258556 303598 260993 286994 254663 276427 250643 266424 243422 267153 247105 268381 248541 262522 245039 255542 237080 253158 237085 243803 225554 250741 226839 280445 247934 285257 248333 2709 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
Y[t] = -27354.1547199785 + 1.20506140098866X[t] + e[t]


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


Multiple Linear Regression - Regression Statistics
Multiple R0.84617392808301
R-squared0.71601031656743
Adjusted R-squared0.712322138860514
F-TEST (value)194.136609856051
F-TEST (DF numerator)1
F-TEST (DF denominator)77
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation13019.2691582835
Sum Squared Residuals13051605445.0191


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1274412267587.0332947996824.96670520105
2272433267374.9424882255058.05751177492
3268361263754.9380396554606.06196034492
4268586262512.5197352366073.48026476424
5264768257147.5863780347620.41362196577
6269974258241.78213013211732.2178698681
7304744291479.78569220113264.2143077987
8309365298432.98997590610932.0100240941
9308347297584.6267496110762.3732503902
10298427294441.8266158313985.17338416859
11289231283687.8586734095543.14132659143
12291975289351.6472580552623.35274194471
13294912294894.92970260317.0702973968564
14293488294838.291816757-1350.29181675668
15290555291718.387849597-1163.38784959703
16284736284591.65472415144.345275849934
17281818279748.5129535772069.48704642337
18287854279777.4344272008076.56557279965
19316263306769.6047479459493.39525205456
20325412316511.3211135388900.6788864622
21326011318018.8529261757992.14707382539
22328282313728.83433865514553.1656613450
23317480306070.66913537211409.3308646280
24317539307550.4845357869988.5154642139
25313737306602.1012132087134.89878679199
26312276306571.9746781835704.0253218167
27309391304082.3178237415308.68217625929
28302950298193.1827571094756.81724289088
29300316294565.9479401335750.05205986676
30304035291978.68111221112056.3188877894
31333476318810.57826662414665.4217333758
32337698323542.85438830714155.1456116933
33335932324885.29278900811046.7072109920
34323931319927.6701853414003.32981465934
35313927311842.9132461082084.08675389229
36314485313263.6806378731221.31936212665
37313218310291.9992230352926.0007769647
38309664310554.702608451-890.702608450832
39302963306250.223284119-3287.22328411932
40298989304298.023814518-5309.02381451769
41298423303256.850764063-4833.85076406348
42301631299592.2590436572038.74095634305
43329765321875.0494093387889.95059066166
44335083322988.52614385212094.4738561481
45327616324885.2927890082730.70721099198
46309119308262.675823770856.32417622961
47295916297802.742863189-1886.74286318879
48291413293024.674408269-1611.67440826874
49291542296848.334233606-5306.33423360577
50284678290994.145947603-6316.14594760284
51276475280175.104689527-3700.10468952661
52272566277951.766404703-5385.76640470253
53264981269159.638423089-4178.63842308924
54263290256283.5573535257006.44264647464
55296806284221.70087404712584.2991259535
56303598287158.43550825616439.5644917441
57286994279530.3968399987463.60316000232
58276427274686.0500080231740.94999197675
59266424265984.301631484439.698368515892
60267153270422.542771325-3269.54277132535
61268381272153.010943145-3772.01094314508
62262522267932.885916883-5410.88591688278
63255542258341.802226414-2799.802226414
64253158258347.827533419-5189.82753341894
65243803244452.264518619-649.264518618657
66250741246000.7684188894740.23158111091
67280445271421.5386727459023.46132725504
68285257271902.35817173913354.6418282606
69270976270258.654420791717.345579209103
70261076268003.984539541-6927.98453954111
71255603269407.881071693-13804.8810716929
72260376280858.374503887-20482.3745038872
73263903291166.469727944-27263.4697279442
74264291296020.457051127-31729.4570511266
75263276301683.040574372-38407.0405743723
76262572302788.081879079-40216.0818790789
77256167294915.41574642-38748.4157464200
78264221300414.110919131-36193.1109191312
79293860325379.367963413-31519.3679634134


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.001059061341699880.002118122683399750.9989409386583
60.001449829918855380.002899659837710770.998550170081145
70.002086610061541780.004173220123083550.997913389938458
80.0004655548919805190.0009311097839610380.99953444510802
99.46716697733628e-050.0001893433395467260.999905328330227
100.0001368577374573640.0002737154749147280.999863142262543
114.55203051187467e-059.10406102374934e-050.999954479694881
123.76115313461762e-057.52230626923524e-050.999962388468654
135.46012289859357e-050.0001092024579718710.999945398771014
146.58218532680194e-050.0001316437065360390.999934178146732
155.198584794153e-050.000103971695883060.999948014152058
162.85845329174931e-055.71690658349862e-050.999971415467082
171.13517983215940e-052.27035966431881e-050.999988648201678
184.31662527544772e-068.63325055089544e-060.999995683374725
192.55175455045572e-065.10350910091144e-060.99999744824545
201.13542681204548e-062.27085362409096e-060.999998864573188
213.98805227287052e-077.97610454574105e-070.999999601194773
225.51324855726217e-071.10264971145243e-060.999999448675144
232.85046639457800e-075.70093278915601e-070.99999971495336
241.13238686614869e-072.26477373229739e-070.999999886761313
253.75236678560666e-087.50473357121332e-080.999999962476332
261.27998523221189e-082.55997046442377e-080.999999987200148
274.34118860975102e-098.68237721950205e-090.999999995658811
281.46468574481044e-092.92937148962088e-090.999999998535314
294.53960121638516e-109.07920243277033e-100.99999999954604
303.51422017058101e-107.02844034116203e-100.999999999648578
314.22026447693047e-108.44052895386093e-100.999999999577974
323.69801225255684e-107.39602450511368e-100.999999999630199
331.87075230914667e-103.74150461829333e-100.999999999812925
341.31345182032653e-102.62690364065306e-100.999999999868655
351.08911688628708e-102.17823377257417e-100.999999999891088
361.05167890966174e-102.10335781932348e-100.999999999894832
376.4199760897787e-111.28399521795574e-100.9999999999358
388.81589047201603e-111.76317809440321e-100.99999999991184
391.9336629854856e-103.8673259709712e-100.999999999806634
405.98224393771533e-101.19644878754307e-090.999999999401776
411.14467245512077e-092.28934491024154e-090.999999998855328
425.99989790152716e-101.19997958030543e-090.99999999940001
436.56476178096608e-101.31295235619322e-090.999999999343524
443.57944488802962e-097.15888977605925e-090.999999996420555
451.31233091873551e-082.62466183747101e-080.99999998687669
463.16469937741856e-086.32939875483713e-080.999999968353006
475.65872290768067e-081.13174458153613e-070.99999994341277
488.16467113889987e-081.63293422777997e-070.999999918353289
492.28391682311620e-074.56783364623241e-070.999999771608318
504.87887605569166e-079.7577521113833e-070.999999512112394
514.33036076479883e-078.66072152959767e-070.999999566963923
524.07270896677826e-078.14541793355652e-070.999999592729103
532.61618020628772e-075.23236041257544e-070.99999973838198
541.3640683204389e-072.7281366408778e-070.999999863593168
551.58048251817032e-063.16096503634065e-060.999998419517482
560.0002690049949575070.0005380099899150150.999730995005042
570.001203893226426330.002407786452852650.998796106773574
580.001527700390136590.003055400780273170.998472299609863
590.001050692465248930.002101384930497870.998949307534751
600.0008334593111012380.001666918622202480.999166540688899
610.00071154685308850.0014230937061770.999288453146912
620.0005192104416368710.001038420883273740.999480789558363
630.0002919107960910490.0005838215921820980.99970808920391
640.0001956600122466040.0003913200244932080.999804339987753
650.0002210677226038590.0004421354452077180.999778932277396
660.0001928285435927680.0003856570871855360.999807171456407
670.0007019430392384750.001403886078476950.999298056960761
680.04513586376915490.09027172753830970.954864136230845
690.1545350051787770.3090700103575540.845464994821223
700.2544544604441430.5089089208882850.745545539555857
710.3841754583356270.7683509166712540.615824541664373
720.7145355309607740.5709289380784510.285464469039226
730.9227209257092290.1545581485815410.0772790742907707
740.9839319997304230.03213600053915390.0160680002695769


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level630.9NOK
5% type I error level640.914285714285714NOK
10% type I error level650.928571428571429NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/18/t12585600915cablmxvvwwgozj/10untn1258559386.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t12585600915cablmxvvwwgozj/10untn1258559386.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/18/t12585600915cablmxvvwwgozj/1yn8v1258559386.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t12585600915cablmxvvwwgozj/1yn8v1258559386.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/18/t12585600915cablmxvvwwgozj/207pj1258559386.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t12585600915cablmxvvwwgozj/207pj1258559386.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/18/t12585600915cablmxvvwwgozj/3hbsx1258559386.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t12585600915cablmxvvwwgozj/3hbsx1258559386.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/18/t12585600915cablmxvvwwgozj/4j9va1258559386.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t12585600915cablmxvvwwgozj/4j9va1258559386.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/18/t12585600915cablmxvvwwgozj/5bjay1258559386.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t12585600915cablmxvvwwgozj/5bjay1258559386.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/18/t12585600915cablmxvvwwgozj/6rn0o1258559386.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t12585600915cablmxvvwwgozj/6rn0o1258559386.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/18/t12585600915cablmxvvwwgozj/7q1hh1258559386.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t12585600915cablmxvvwwgozj/7q1hh1258559386.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/18/t12585600915cablmxvvwwgozj/8jwmq1258559386.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t12585600915cablmxvvwwgozj/8jwmq1258559386.ps (open in new window)


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