Home » date » 2009 » Dec » 18 »

Multiple Regression analysis 2a

*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, 18 Dec 2009 08:36:53 -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/Dec/18/t12611506496c72urmw9uslzeu.htm/, Retrieved Fri, 18 Dec 2009 16:37:41 +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/Dec/18/t12611506496c72urmw9uslzeu.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 «
100.5 98.60 96.33 106.29 96.90 96.33 101.09 95.10 95.05 104.53 97.00 96.84 122.74 112.70 96.92 109.84 102.90 97.44 101.99 97.40 97.78 125.12 111.40 97.69 103.5 87.40 96.67 102.8 96.80 98.29 118.72 114.10 98.20 119.01 110.30 98.71 118.61 103.90 98.54 120.43 101.60 98.20 111.83 94.60 100.80 116.79 95.90 101.33 131.71 104.70 101.88 120.57 102.80 101.85 117.83 98.10 102.04 130.8 113.90 102.22 107.46 80.90 102.63 112.09 95.70 102.65 129.47 113.20 102.54 119.72 105.90 102.37 134.81 108.80 102.68 135.8 102.30 102.76 129.27 99.00 102.82 126.94 100.70 103.31 153.45 115.50 103.23 121.86 100.70 103.60 133.47 109.90 103.95 135.34 114.60 103.93 117.1 85.40 104.25 120.65 100.50 104.38 132.49 114.80 104.36 137.6 116.50 104.32 138.69 112.90 104.58 125.53 102.00 104.68 133.09 106.00 104.92 129.08 105.30 105.46 145.94 118.80 105.23 129.07 106.10 105.58 139.69 109.30 105.34 142.09 117.20 105.28 137.29 92.50 105.70 127.03 104.20 105.67 137.25 112.50 105.71 156.87 122.40 106.19 150. 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 time8 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
Invoer[t] = -302.163143368612 + 1.83960425125152TIP[t] + 2.21964812237739CONS[t] + 8.06502158287286M1[t] + 15.4927591059766M2[t] + 15.0387109696017M3[t] + 9.03916944167505M4[t] + 6.51428846995665M5[t] + 6.05042410409308M6[t] + 6.96847684173931M7[t] + 1.55787249898175M8[t] + 32.3395943901429M9[t] + 10.1387969509638M10[t] -2.41633725563274M11[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)-302.16314336861222.031303-13.715200
TIP1.839604251251520.13502313.624400
CONS2.219648122377390.16067613.814500
M18.065021582872863.973992.02950.0471750.023587
M215.49275910597664.3014713.60170.0006720.000336
M315.03871096960174.3088383.49020.0009480.000474
M49.039169441675054.2266852.13860.0368440.018422
M56.514288469956653.8509331.69160.0962780.048139
M66.050424104093084.0644281.48860.1421950.071098
M76.968476841739314.1328731.68610.0973390.04867
M81.557872498981753.8302580.40670.6857580.342879
M932.33959439014295.2605926.147500
M1010.13879695096384.431352.2880.0259370.012968
M11-2.416337255632743.993694-0.6050.5475980.273799


Multiple Linear Regression - Regression Statistics
Multiple R0.946943282382516
R-squared0.896701580049374
Adjusted R-squared0.872721589703693
F-TEST (value)37.3937423294616
F-TEST (DF numerator)13
F-TEST (DF denominator)56
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation6.31434383351252
Sum Squared Residuals2232.77253067778


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1100.5101.105561016276-0.605561016275506
2106.29105.4059713122510.884028687748686
3101.0998.79948592698062.29051407301938
4104.53100.2683626154874.26163738451258
5122.74126.802840238208-4.06284023820815
6109.84109.4650712337160.374928766284138
7101.99101.0199809510870.97001904891297
8125.12121.1640677948373.95593220516314
9103.5105.531246571137-2.03124657113652
10102.8104.218559051973-1.41855905197311
11118.72123.288810061014-4.56881006101394
12119.01119.846671704303-0.836671704303348
13118.61115.7608858983622.84911410163768
14120.43118.2028532819792.22714671802079
15111.83110.6426605050251.18733949497514
16116.79108.2110180085858.5789819914148
17131.71123.0954609151888.61453908481223
18120.57119.0697590282751.50024097172502
19117.83111.7634049282916.06659507170924
20130.8135.818084417335-5.01808441733522
21107.46106.8029217473710.657078252629171
22112.09111.8726601891620.217339810838169
23129.47131.266439086005-1.79643908600546
24119.72119.876325126698-0.156325126697903
25134.81133.9642899561370.845710043862845
26135.8129.6121716958966.18782830410384
27129.27123.2206084177346.04939158226612
28126.94121.4360216969005.50397830310024
29153.45145.9597117939147.49028820608625
30121.86119.0909743148072.76902568519279
31133.47137.710263006800-4.24026300679957
32135.34140.901405682477-5.56140568247663
33117.1118.676970836254-1.57697083625407
34120.65124.542751846882-3.892751846882
35132.49138.249565470735-5.7595654707347
36137.6143.7044440286-6.10444402859994
37138.69145.723998818785-7.03399881878544
38125.53133.322014815485-7.7920148154853
39133.09140.759099233487-7.6690992334871
40129.08134.670444715768-5.59044471576811
41145.94156.469702067799-10.5297020677985
42129.07133.419740553873-4.34974055387267
43139.69139.691811346153-0.00181134615321338
44142.09148.68090170094-6.59090170094006
45137.29134.9566507975872.33334920241290
46127.03134.212633654379-7.18263365437949
47137.25137.0150006580660.234999341934333
48156.87158.708851099830-1.83885109982966
49150.89151.676013606873-0.786013606872927
50139.14135.7690351307443.37096486925616
51158.3155.9088082129352.39119178706502
52149155.681332997881-6.68133299788106
53158.36148.9916246270589.36837537294172
54168.06162.7021323263855.35786767361468
55153.38150.1113803706573.268619629343
56173.86158.14233714780815.7176628521917
57162.47153.6477233124918.8222766875094
58145.17137.6827416664597.48725833354104
59168.89157.00018472418011.8898152758198
60166.64157.7037080405698.93629195943086
61140.07135.3392507035674.73074929643335
62128.84133.717953763644-4.87795376364418
63123.41127.659337703839-4.24933770383856
64120.3126.372819965378-6.07281996537845
65129.67140.550660357833-10.8806603578335
66118.1123.752322542944-5.65232254294396
67113.91119.973159397012-6.06315939701242
68131.09133.593203256603-2.50320325660291
69119.15127.354486735161-8.20448673516088
70122.3117.5106535911454.7893464088554


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.1639839132201580.3279678264403160.836016086779842
180.07670249258232990.1534049851646600.92329750741767
190.03732020115415130.07464040230830260.962679798845849
200.08691148061274330.1738229612254870.913088519387257
210.05327145608819570.1065429121763910.946728543911804
220.02570621032905760.05141242065811520.974293789670942
230.01164976936191820.02329953872383640.988350230638082
240.006047761062601690.01209552212520340.993952238937398
250.002778683029396640.005557366058793270.997221316970603
260.002129582601040850.00425916520208170.99787041739896
270.002010490219143160.004020980438286330.997989509780857
280.002576137162081740.005152274324163490.997423862837918
290.006231137692354750.01246227538470950.993768862307645
300.00819133730745430.01638267461490860.991808662692546
310.009015408678219640.01803081735643930.99098459132178
320.009745121653591410.01949024330718280.990254878346409
330.008752526259578270.01750505251915650.991247473740422
340.005523450777009690.01104690155401940.99447654922299
350.003960835553676960.007921671107353910.996039164446323
360.002348552498233480.004697104996466960.997651447501767
370.002245279883930820.004490559767861640.99775472011607
380.009479985940176470.01895997188035290.990520014059824
390.008103746182893320.01620749236578660.991896253817107
400.01239331407301210.02478662814602430.987606685926988
410.02310843818865490.04621687637730970.976891561811345
420.01618517191239880.03237034382479750.983814828087601
430.01436901768759910.02873803537519830.9856309823124
440.01217187363803980.02434374727607960.98782812636196
450.02983913742876230.05967827485752450.970160862571238
460.03162709693893770.06325419387787550.968372903061062
470.01951182327698640.03902364655397280.980488176723014
480.01943172901317930.03886345802635870.98056827098682
490.02215888279271990.04431776558543980.97784111720728
500.02285091000680350.0457018200136070.977149089993196
510.01599185980878250.0319837196175650.984008140191218
520.03030063871204260.06060127742408520.969699361287957
530.4246282243384410.8492564486768820.575371775661559


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level70.189189189189189NOK
5% type I error level270.72972972972973NOK
10% type I error level320.864864864864865NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/18/t12611506496c72urmw9uslzeu/10594f1261150602.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/18/t12611506496c72urmw9uslzeu/10594f1261150602.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/18/t12611506496c72urmw9uslzeu/1oqgi1261150602.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/18/t12611506496c72urmw9uslzeu/1oqgi1261150602.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/18/t12611506496c72urmw9uslzeu/23sqx1261150602.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/18/t12611506496c72urmw9uslzeu/23sqx1261150602.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/18/t12611506496c72urmw9uslzeu/38sy91261150602.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/18/t12611506496c72urmw9uslzeu/38sy91261150602.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/18/t12611506496c72urmw9uslzeu/4ik6h1261150602.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/18/t12611506496c72urmw9uslzeu/4ik6h1261150602.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/18/t12611506496c72urmw9uslzeu/5rtie1261150602.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/18/t12611506496c72urmw9uslzeu/5rtie1261150602.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/18/t12611506496c72urmw9uslzeu/69b2o1261150602.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/18/t12611506496c72urmw9uslzeu/69b2o1261150602.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/18/t12611506496c72urmw9uslzeu/78lj31261150602.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/18/t12611506496c72urmw9uslzeu/78lj31261150602.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/18/t12611506496c72urmw9uslzeu/88hdg1261150602.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/18/t12611506496c72urmw9uslzeu/88hdg1261150602.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/18/t12611506496c72urmw9uslzeu/9vtgx1261150602.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/18/t12611506496c72urmw9uslzeu/9vtgx1261150602.ps (open in new window)


 
Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = No Linear Trend ;
 
Parameters (R input):
par1 = 1 ; par2 = Include Monthly 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