Home » date » 2009 » Dec » 15 »

Multiple Regression analysis 3

*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, 15 Dec 2009 12:20: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/Dec/15/t1260904891dv0f3hy0rs3r2py.htm/, Retrieved Tue, 15 Dec 2009 20:21:45 +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/15/t1260904891dv0f3hy0rs3r2py.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 «
103.34 98.60 96.33 102.60 96.90 96.33 100.69 95.10 95.05 105.67 97.00 96.84 123.61 112.70 96.92 113.08 102.90 97.44 106.46 97.40 97.78 123.38 111.40 97.69 109.87 87.40 96.67 95.74 96.80 98.29 123.06 114.10 98.20 123.39 110.30 98.71 120.28 103.90 98.54 115.33 101.60 98.20 110.40 94.60 100.80 114.49 95.90 101.33 132.03 104.70 101.88 123.16 102.80 101.85 118.82 98.10 102.04 128.32 113.90 102.22 112.24 80.90 102.63 104.53 95.70 102.65 132.57 113.20 102.54 122.52 105.90 102.37 131.80 108.80 102.68 124.55 102.30 102.76 120.96 99.00 102.82 122.60 100.70 103.31 145.52 115.50 103.23 118.57 100.70 103.60 134.25 109.90 103.95 136.70 114.60 103.93 121.37 85.40 104.25 111.63 100.50 104.38 134.42 114.80 104.36 137.65 116.50 104.32 137.86 112.90 104.58 119.77 102.00 104.68 130.69 106.00 104.92 128.28 105.30 105.46 147.45 118.80 105.23 128.42 106.10 105.58 136.90 109.30 105.34 143.95 117.20 105.28 135.64 92.50 105.70 122.48 104.20 105.67 136.83 112.50 105.71 153.04 122.40 106.19 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
Uitvoer[t] = -331.141725919584 + 1.70620646635698TIP[t] + 2.72941331902169cons[t] + 3.85690559007311M1[t] + 5.18062213837092M2[t] + 7.79403001839284M3[t] + 5.82862661097081M4[t] + 3.69147814714131M5[t] + 4.56365482328583M6[t] + 6.54365000251388M7[t] + 1.06346039581490M8[t] + 32.5649038799904M9[t] + 3.02441373941592M10[t] -1.30786415664453M11[t] -0.303331431381686t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)-331.14172591958463.565908-5.20943e-061e-06
TIP1.706206466356980.10640216.035500
cons2.729413319021690.6504764.1961e-045e-05
M13.856905590073113.1315851.23160.2233330.111667
M25.180622138370923.3912121.52770.1323280.066164
M37.794030018392843.3954922.29540.0255480.012774
M45.828626610970813.3448861.74250.0870020.043501
M53.691478147141313.0396821.21440.2297720.114886
M64.563654823285833.2081121.42250.1605180.080259
M76.543650002513883.260362.0070.0496710.024836
M81.063460395814903.0183280.35230.7259340.362967
M932.56490387999044.1460767.854400
M103.024413739415923.4925580.8660.3902740.195137
M11-1.307864156644533.147305-0.41560.6793560.339678
t-0.3033314313816860.153034-1.98210.0524710.026236


Multiple Linear Regression - Regression Statistics
Multiple R0.95760825351636
R-squared0.917013567202651
Adjusted R-squared0.895889747945144
F-TEST (value)43.4113526547414
F-TEST (DF numerator)14
F-TEST (DF denominator)55
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation4.97581886189116
Sum Squared Residuals1361.73253404935


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1103.34103.568190843264-0.228190843264361
2102.6101.6880249673740.91197503262612
3100.6997.43328072822373.25671927177627
4105.67103.2919880165472.37801198345282
5123.61127.857302708662-4.24730270866233
6113.08113.124619509018-0.0446195090180273
7106.46106.3451482203680.114851779631616
8123.38124.202870512573-0.822870512573496
9109.87111.668025787398-1.79802578739766
1095.74102.284194576012-6.54419457601227
11123.06126.920309917834-3.86030991783389
12123.39122.8332588636410.556741136358738
13120.28115.0031113734145.27688862658563
14115.33111.1712210892424.15877891075796
15110.4108.6343269028401.76567309716022
16114.49110.0302495293824.45975047061833
17132.03124.1055638635747.92443613642618
18123.16121.3507344226881.80926557731227
19118.82115.5268163092703.29318369072957
20128.32137.192651837054-8.87265183705398
21112.24113.205009960866-0.965009960866337
22104.53108.667632357374-4.1376323573739
23132.57133.590400726087-1.02040072608656
24122.52121.6756259827100.844374017290252
25131.8131.0233170227330.776682977266889
26124.55121.1717131738513.37828682614939
27120.96118.0150730826542.94492691734592
28122.6119.9843017629782.61569823702211
29145.52142.5773245043282.94267549567173
30118.57118.904196975046-0.334196975045814
31134.25137.233254875034-2.98325487503400
32136.7139.414315962451-2.71431596245073
33121.37121.664611459708-0.294611459707659
34111.63117.939331261215-6.30933126121467
35134.42137.647886136297-3.22788613629694
36137.65141.443793321606-3.79379332160575
37137.86139.564671664358-1.70467166435770
38119.77122.260347629885-2.49034762988494
39130.69132.050309140518-1.36030914051828
40128.28130.061112967536-1.78111296753637
41147.45150.026655304769-2.57665530476947
42128.42129.881973088456-1.46197308845622
43136.9136.3634383320800.53656166792029
44143.95143.8951835790780.0548164209220768
45135.64134.0963495068431.54365049315655
46122.48124.133261191693-1.65326119169326
47136.83133.7683420677753.0616579322251
48153.04152.9744372031020.0655627968976957
49142.71143.021298374021-0.311298374021242
50123.46122.7411382810910.718861718909416
51144.37144.426683380549-0.0566833805493852
52146.15148.088277575454-1.93827757545398
53147.61142.1941204057755.41587959422493
54158.51156.0235144124492.48648558755102
55147.4145.6471685926731.75283140732651
56165.05152.61220511980912.4377948801906
57154.64151.4944564835123.14554351648763
58126.2127.206218955245-1.00621895524530
59157.36152.3130611520085.0469388479923
60154.15151.8228846289412.32711537105907
61123.21127.019410722209-3.80941072220923
62113.07119.747554858558-6.67755485855797
63110.45117.000326765215-6.55032676521474
64113.57119.304070148103-5.7340701481029
65122.44131.899033212891-9.45903321289104
66114.93117.384961592343-2.45496159234323
67111.85114.564173670574-2.71417367057397
68126.04126.122772989034-0.0827729890344382
69121.34122.971546801673-1.63154680167253
70124.36104.70936165846119.6506383415394


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
180.02736296706898680.05472593413797370.972637032931013
190.007843156595933290.01568631319186660.992156843404067
200.02876702290575610.05753404581151230.971232977094244
210.01982510954846050.03965021909692090.98017489045154
220.007962018565098780.01592403713019760.992037981434901
230.002781986162068570.005563972324137130.997218013837931
240.02051620845411870.04103241690823740.979483791545881
250.00969268580796530.01938537161593060.990307314192035
260.005062094440382940.01012418888076590.994937905559617
270.003093621080503590.006187242161007190.996906378919496
280.003614487523202010.007228975046404020.996385512476798
290.002115721560577450.004231443121154910.997884278439423
300.007855268917516720.01571053783503340.992144731082483
310.00409704456086830.00819408912173660.995902955439132
320.002010226459327510.004020452918655020.997989773540672
330.001167204412687850.002334408825375690.998832795587312
340.0008979913720709320.001795982744141860.99910200862793
350.0006041230849273660.001208246169854730.999395876915073
360.0003484115091731180.0006968230183462360.999651588490827
370.0001620908380772770.0003241816761545540.999837909161923
380.0003241404816877940.0006482809633755880.999675859518312
390.0001508809233972540.0003017618467945080.999849119076603
409.4530091195643e-050.0001890601823912860.999905469908804
414.29784748029952e-058.59569496059904e-050.999957021525197
421.68367976950450e-053.36735953900901e-050.999983163202305
439.16821561034247e-061.83364312206849e-050.99999083178439
449.71114826857995e-061.94222965371599e-050.999990288851731
457.81581813158614e-061.56316362631723e-050.999992184181868
463.50518976564998e-057.01037953129996e-050.999964948102343
471.48857957188906e-052.97715914377812e-050.999985114204281
481.86160176362112e-053.72320352724223e-050.999981383982364
497.97374001049162e-061.59474800209832e-050.99999202625999
503.96208025974011e-067.92416051948022e-060.99999603791974
511.1844501559729e-062.3689003119458e-060.999998815549844
525.85313431602017e-071.17062686320403e-060.999999414686568


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level260.742857142857143NOK
5% type I error level330.942857142857143NOK
10% type I error level351NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/15/t1260904891dv0f3hy0rs3r2py/10t7y71260904841.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t1260904891dv0f3hy0rs3r2py/10t7y71260904841.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t1260904891dv0f3hy0rs3r2py/1crex1260904841.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t1260904891dv0f3hy0rs3r2py/1crex1260904841.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t1260904891dv0f3hy0rs3r2py/2jso11260904841.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t1260904891dv0f3hy0rs3r2py/2jso11260904841.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t1260904891dv0f3hy0rs3r2py/3jszx1260904841.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t1260904891dv0f3hy0rs3r2py/3jszx1260904841.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t1260904891dv0f3hy0rs3r2py/47odk1260904841.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t1260904891dv0f3hy0rs3r2py/47odk1260904841.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t1260904891dv0f3hy0rs3r2py/5195q1260904841.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t1260904891dv0f3hy0rs3r2py/5195q1260904841.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t1260904891dv0f3hy0rs3r2py/6qtf41260904841.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t1260904891dv0f3hy0rs3r2py/6qtf41260904841.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t1260904891dv0f3hy0rs3r2py/7abda1260904841.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t1260904891dv0f3hy0rs3r2py/7abda1260904841.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t1260904891dv0f3hy0rs3r2py/89xjy1260904841.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t1260904891dv0f3hy0rs3r2py/89xjy1260904841.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t1260904891dv0f3hy0rs3r2py/9e40k1260904841.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t1260904891dv0f3hy0rs3r2py/9e40k1260904841.ps (open in new window)


 
Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
 
Parameters (R input):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
 
R code (references can be found in the software module):
library(lattice)
library(lmtest)
n25 <- 25 #minimum number of obs. for Goldfeld-Quandt test
par1 <- as.numeric(par1)
x <- t(y)
k <- length(x[1,])
n <- length(x[,1])
x1 <- cbind(x[,par1], x[,1:k!=par1])
mycolnames <- c(colnames(x)[par1], colnames(x)[1:k!=par1])
colnames(x1) <- mycolnames #colnames(x)[par1]
x <- x1
if (par3 == 'First Differences'){
x2 <- array(0, dim=c(n-1,k), dimnames=list(1:(n-1), paste('(1-B)',colnames(x),sep='')))
for (i in 1:n-1) {
for (j in 1:k) {
x2[i,j] <- x[i+1,j] - x[i,j]
}
}
x <- x2
}
if (par2 == 'Include Monthly Dummies'){
x2 <- array(0, dim=c(n,11), dimnames=list(1:n, paste('M', seq(1:11), sep ='')))
for (i in 1:11){
x2[seq(i,n,12),i] <- 1
}
x <- cbind(x, x2)
}
if (par2 == 'Include Quarterly Dummies'){
x2 <- array(0, dim=c(n,3), dimnames=list(1:n, paste('Q', seq(1:3), sep ='')))
for (i in 1:3){
x2[seq(i,n,4),i] <- 1
}
x <- cbind(x, x2)
}
k <- length(x[1,])
if (par3 == 'Linear Trend'){
x <- cbind(x, c(1:n))
colnames(x)[k+1] <- 't'
}
x
k <- length(x[1,])
df <- as.data.frame(x)
(mylm <- lm(df))
(mysum <- summary(mylm))
if (n > n25) {
kp3 <- k + 3
nmkm3 <- n - k - 3
gqarr <- array(NA, dim=c(nmkm3-kp3+1,3))
numgqtests <- 0
numsignificant1 <- 0
numsignificant5 <- 0
numsignificant10 <- 0
for (mypoint in kp3:nmkm3) {
j <- 0
numgqtests <- numgqtests + 1
for (myalt in c('greater', 'two.sided', 'less')) {
j <- j + 1
gqarr[mypoint-kp3+1,j] <- gqtest(mylm, point=mypoint, alternative=myalt)$p.value
}
if (gqarr[mypoint-kp3+1,2] < 0.01) numsignificant1 <- numsignificant1 + 1
if (gqarr[mypoint-kp3+1,2] < 0.05) numsignificant5 <- numsignificant5 + 1
if (gqarr[mypoint-kp3+1,2] < 0.10) numsignificant10 <- numsignificant10 + 1
}
gqarr
}
bitmap(file='test0.png')
plot(x[,1], type='l', main='Actuals and Interpolation', ylab='value of Actuals and Interpolation (dots)', xlab='time or index')
points(x[,1]-mysum$resid)
grid()
dev.off()
bitmap(file='test1.png')
plot(mysum$resid, type='b', pch=19, main='Residuals', ylab='value of Residuals', xlab='time or index')
grid()
dev.off()
bitmap(file='test2.png')
hist(mysum$resid, main='Residual Histogram', xlab='values of Residuals')
grid()
dev.off()
bitmap(file='test3.png')
densityplot(~mysum$resid,col='black',main='Residual Density Plot', xlab='values of Residuals')
dev.off()
bitmap(file='test4.png')
qqnorm(mysum$resid, main='Residual Normal Q-Q Plot')
qqline(mysum$resid)
grid()
dev.off()
(myerror <- as.ts(mysum$resid))
bitmap(file='test5.png')
dum <- cbind(lag(myerror,k=1),myerror)
dum
dum1 <- dum[2:length(myerror),]
dum1
z <- as.data.frame(dum1)
z
plot(z,main=paste('Residual Lag plot, lowess, and regression line'), ylab='values of Residuals', xlab='lagged values of Residuals')
lines(lowess(z))
abline(lm(z))
grid()
dev.off()
bitmap(file='test6.png')
acf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Autocorrelation Function')
grid()
dev.off()
bitmap(file='test7.png')
pacf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Partial Autocorrelation Function')
grid()
dev.off()
bitmap(file='test8.png')
opar <- par(mfrow = c(2,2), oma = c(0, 0, 1.1, 0))
plot(mylm, las = 1, sub='Residual Diagnostics')
par(opar)
dev.off()
if (n > n25) {
bitmap(file='test9.png')
plot(kp3:nmkm3,gqarr[,2], main='Goldfeld-Quandt test',ylab='2-sided p-value',xlab='breakpoint')
grid()
dev.off()
}
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Estimated Regression Equation', 1, TRUE)
a<-table.row.end(a)
myeq <- colnames(x)[1]
myeq <- paste(myeq, '[t] = ', sep='')
for (i in 1:k){
if (mysum$coefficients[i,1] > 0) myeq <- paste(myeq, '+', '')
myeq <- paste(myeq, mysum$coefficients[i,1], sep=' ')
if (rownames(mysum$coefficients)[i] != '(Intercept)') {
myeq <- paste(myeq, rownames(mysum$coefficients)[i], sep='')
if (rownames(mysum$coefficients)[i] != 't') myeq <- paste(myeq, '[t]', sep='')
}
}
myeq <- paste(myeq, ' + e[t]')
a<-table.row.start(a)
a<-table.element(a, myeq)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable1.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,hyperlink('http://www.xycoon.com/ols1.htm','Multiple Linear Regression - Ordinary Least Squares',''), 6, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Variable',header=TRUE)
a<-table.element(a,'Parameter',header=TRUE)
a<-table.element(a,'S.D.',header=TRUE)
a<-table.element(a,'T-STAT<br />H0: parameter = 0',header=TRUE)
a<-table.element(a,'2-tail p-value',header=TRUE)
a<-table.element(a,'1-tail p-value',header=TRUE)
a<-table.row.end(a)
for (i in 1:k){
a<-table.row.start(a)
a<-table.element(a,rownames(mysum$coefficients)[i],header=TRUE)
a<-table.element(a,mysum$coefficients[i,1])
a<-table.element(a, round(mysum$coefficients[i,2],6))
a<-table.element(a, round(mysum$coefficients[i,3],4))
a<-table.element(a, round(mysum$coefficients[i,4],6))
a<-table.element(a, round(mysum$coefficients[i,4]/2,6))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable2.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Regression Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple R',1,TRUE)
a<-table.element(a, sqrt(mysum$r.squared))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'R-squared',1,TRUE)
a<-table.element(a, mysum$r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Adjusted R-squared',1,TRUE)
a<-table.element(a, mysum$adj.r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (value)',1,TRUE)
a<-table.element(a, mysum$fstatistic[1])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF numerator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[2])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF denominator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[3])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'p-value',1,TRUE)
a<-table.element(a, 1-pf(mysum$fstatistic[1],mysum$fstatistic[2],mysum$fstatistic[3]))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Residual Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Residual Standard Deviation',1,TRUE)
a<-table.element(a, mysum$sigma)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Sum Squared Residuals',1,TRUE)
a<-table.element(a, sum(myerror*myerror))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable3.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Actuals, Interpolation, and Residuals', 4, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Time or Index', 1, TRUE)
a<-table.element(a, 'Actuals', 1, TRUE)
a<-table.element(a, 'Interpolation<br />Forecast', 1, TRUE)
a<-table.element(a, 'Residuals<br />Prediction Error', 1, TRUE)
a<-table.row.end(a)
for (i in 1:n) {
a<-table.row.start(a)
a<-table.element(a,i, 1, TRUE)
a<-table.element(a,x[i])
a<-table.element(a,x[i]-mysum$resid[i])
a<-table.element(a,mysum$resid[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable4.tab')
if (n > n25) {
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'p-values',header=TRUE)
a<-table.element(a,'Alternative Hypothesis',3,header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'breakpoint index',header=TRUE)
a<-table.element(a,'greater',header=TRUE)
a<-table.element(a,'2-sided',header=TRUE)
a<-table.element(a,'less',header=TRUE)
a<-table.row.end(a)
for (mypoint in kp3:nmkm3) {
a<-table.row.start(a)
a<-table.element(a,mypoint,header=TRUE)
a<-table.element(a,gqarr[mypoint-kp3+1,1])
a<-table.element(a,gqarr[mypoint-kp3+1,2])
a<-table.element(a,gqarr[mypoint-kp3+1,3])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable5.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Description',header=TRUE)
a<-table.element(a,'# significant tests',header=TRUE)
a<-table.element(a,'% significant tests',header=TRUE)
a<-table.element(a,'OK/NOK',header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'1% type I error level',header=TRUE)
a<-table.element(a,numsignificant1)
a<-table.element(a,numsignificant1/numgqtests)
if (numsignificant1/numgqtests < 0.01) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'5% type I error level',header=TRUE)
a<-table.element(a,numsignificant5)
a<-table.element(a,numsignificant5/numgqtests)
if (numsignificant5/numgqtests < 0.05) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'10% type I error level',header=TRUE)
a<-table.element(a,numsignificant10)
a<-table.element(a,numsignificant10/numgqtests)
if (numsignificant10/numgqtests < 0.1) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable6.tab')
}
 





Copyright

Creative Commons License

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.

Software written by Ed van Stee & Patrick Wessa


Disclaimer

Information provided on this web site is provided "AS IS" without warranty of any kind, either express or implied, including, without limitation, warranties of merchantability, fitness for a particular purpose, and noninfringement. We use reasonable efforts to include accurate and timely information and periodically update the information, and software without notice. However, we make no warranties or representations as to the accuracy or completeness of such information (or software), and we assume no liability or responsibility for errors or omissions in the content of this web site, or any software bugs in online applications. Your use of this web site is AT YOUR OWN RISK. Under no circumstances and under no legal theory shall we be liable to you or any other person for any direct, indirect, special, incidental, exemplary, or consequential damages arising from your access to, or use of, this web site.


Privacy Policy

We may request personal information to be submitted to our servers in order to be able to:

  • personalize online software applications according to your needs
  • enforce strict security rules with respect to the data that you upload (e.g. statistical data)
  • manage user sessions of online applications
  • alert you about important changes or upgrades in resources or applications

We NEVER allow other companies to directly offer registered users information about their products and services. Banner references and hyperlinks of third parties NEVER contain any personal data of the visitor.

We do NOT sell, nor transmit by any means, personal information, nor statistical data series uploaded by you to third parties.

We carefully protect your data from loss, misuse, alteration, and destruction. However, at any time, and under any circumstance you are solely responsible for managing your passwords, and keeping them secret.

We store a unique ANONYMOUS USER ID in the form of a small 'Cookie' on your computer. This allows us to track your progress when using this website which is necessary to create state-dependent features. The cookie is used for NO OTHER PURPOSE. At any time you may opt to disallow cookies from this website - this will not affect other features of this website.

We examine cookies that are used by third-parties (banner and online ads) very closely: abuse from third-parties automatically results in termination of the advertising contract without refund. We have very good reason to believe that the cookies that are produced by third parties (banner ads) do NOT cause any privacy or security risk.

FreeStatistics.org is safe. There is no need to download any software to use the applications and services contained in this website. Hence, your system's security is not compromised by their use, and your personal data - other than data you submit in the account application form, and the user-agent information that is transmitted by your browser - is never transmitted to our servers.

As a general rule, we do not log on-line behavior of individuals (other than normal logging of webserver 'hits'). However, in cases of abuse, hacking, unauthorized access, Denial of Service attacks, illegal copying, hotlinking, non-compliance with international webstandards (such as robots.txt), or any other harmful behavior, our system engineers are empowered to log, track, identify, publish, and ban misbehaving individuals - even if this leads to ban entire blocks of IP addresses, or disclosing user's identity.


FreeStatistics.org is powered by