Home » date » 2009 » Dec » 15 »

Multiple Regression analysis 2

*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:17:15 -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/t12609047295e486ybasnfmbj2.htm/, Retrieved Tue, 15 Dec 2009 20:19:04 +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/t12609047295e486ybasnfmbj2.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 time4 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
Uitvoer[t] = -209.936846753641 + 1.70732899709278TIP[t] + 1.46475451772423cons[t] + 3.84262135112876M1[t] + 4.97584082203382M2[t] + 7.75818751841094M3[t] + 6.43846429337343M4[t] + 4.03950933406176M5[t] + 4.92791824996914M6[t] + 6.84642000424656M7[t] + 1.04533165595581M8[t] + 32.4213266482419M9[t] + 2.89906337160993M10[t] -1.23736464838987M11[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)-209.93684675364117.809277-11.788100
TIP1.707328997092780.10914715.642400
cons1.464754517724230.12988411.277400
M13.842621351128763.2124241.19620.2366680.118334
M24.975840822033823.4771481.4310.1579840.078992
M37.758187518410943.4831032.22740.0299590.014979
M46.438464293373433.4166931.88440.0647030.032352
M54.039509334061763.112951.29760.1997290.099864
M64.927918249969143.2855311.49990.1392610.069631
M76.846420004246563.3408592.04930.0451280.022564
M81.045331655955813.0962370.33760.7369170.368458
M932.42132664824194.2524647.624100
M102.899063371609933.5821360.80930.4217620.210881
M11-1.237364648389873.228352-0.38330.7029630.351481


Multiple Linear Regression - Regression Statistics
Multiple R0.954508054745504
R-squared0.911085626574047
Adjusted R-squared0.890444789885879
F-TEST (value)44.1399561625484
F-TEST (DF numerator)13
F-TEST (DF denominator)56
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation5.10427813315091
Sum Squared Residuals1459.00469459150


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1103.34103.348216403211-0.0082164032108234
2102.6101.5789765790581.02102342094163
3100.6999.41324529798141.27675470201855
4105.67103.9593577541471.71064224585335
5123.61128.482648410610-4.87264841060958
6113.08113.400905504224-0.320905504224309
7106.46106.4271143105180.0328856894823335
8123.38124.396804014931-1.01680401493068
9109.87113.302853468911-3.43285346891128
1095.74102.202385083665-6.46238508366476
11123.06127.470920806775-4.41092080677485
12123.39122.9674600702520.422539929748496
13120.28115.6341675719734.64583242802663
14115.33112.3425138135392.98748618646123
15110.4106.9819192763493.41808072365058
16114.49108.6580436419265.83195635807359
17132.03122.0891988417809.94080115822048
18123.16119.6897400276793.47025997232112
19118.82113.8620988539884.95790114601216
20128.32135.300464472953-6.9804644729534
21112.24110.9351519134451.30484808655536
22104.53106.710652884140-2.18065288414032
23132.57132.2913593163150.278640683685455
24122.52120.8162140179141.70378598208601
25131.8130.0641633611061.73583663889371
26124.55120.2169247123264.33307528767377
27120.96117.4529709893613.50702901063938
28122.6119.7534367730662.84656322693426
29145.52142.5057706093093.01422939069074
30118.57118.667669539801-0.0976695398014662
31134.25136.806262148536-2.55626214853594
32136.7139.000324996227-2.30032499622679
33121.37120.9910347190750.378965280924589
34111.63117.439857385849-5.80985738584858
35134.42137.688938933921-3.26893893392108
36137.65141.770172696660-4.12017269665968
37137.86139.847245832863-1.98724583286274
38119.77122.517054687229-2.74705468722893
39130.69132.480258456231-1.79025845623098
40128.28130.756372372800-2.4763723727996
41147.45151.069465335164-3.61946533516393
42128.42130.787460069196-2.36746006919646
43136.9137.817873529917-0.917873529916937
44143.95145.416798987596-1.46679898759574
45135.64135.2369646491340.403035350865702
46122.48125.646508002956-3.16650800295614
47136.83135.7395008395351.09049916046463
48153.04154.582504727651-1.54250472765144
49142.71143.972350548352-1.2623505483518
50123.46123.1451191619620.314880838037761
51144.37144.796435479499-0.426435479499037
52146.15148.321792033599-2.17179203359921
53147.61141.6943503388215.91564966117904
54158.51155.6367350009372.87326499906265
55147.4144.5951146866382.80488531336185
56165.05151.01906041602314.0309395839775
57154.64149.2980610767975.34193892320321
58126.2125.7656314530910.434368546908863
59157.36151.0492801034546.31071989654584
60154.15150.6136484875233.53635151247661
61123.21126.333856282495-3.12385628249497
62113.07118.979411045885-5.90941104588546
63110.45116.435170500578-5.9851705005785
64113.57119.310997424462-5.7409974244624
65122.44132.818566464317-10.3785664643168
66114.93118.487489858162-3.55748985816153
67111.85116.171536470403-4.32153647040346
68126.04128.306547112271-2.26654711227089
69121.34125.335934172638-3.99593417263758
70124.36107.17496519029917.1850348097009


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.2858958771460330.5717917542920650.714104122853967
180.1570926009221010.3141852018442010.8429073990779
190.0822510883598250.164502176719650.917748911640175
200.1832481687132560.3664963374265110.816751831286744
210.1344979538794580.2689959077589160.865502046120542
220.07804341857089310.1560868371417860.921956581429107
230.04242904721166580.08485809442333150.957570952788334
240.03029014368006740.06058028736013480.969709856319933
250.01639602619899070.03279205239798130.98360397380101
260.009826184350203050.01965236870040610.990173815649797
270.00646416760834460.01292833521668920.993535832391655
280.005213110716255340.01042622143251070.994786889283745
290.003656596003880160.007313192007760320.99634340399612
300.005553261865451390.01110652373090280.994446738134549
310.002905555742460250.005811111484920500.99709444425754
320.001417499773449740.002834999546899480.99858250022655
330.0008224013765813220.001644802753162640.999177598623419
340.0006373080328964760.001274616065792950.999362691967103
350.0004268130352583390.0008536260705166780.999573186964742
360.0002437836823645770.0004875673647291530.999756216317635
370.0001169147871634470.0002338295743268930.999883085212837
380.0003697632817178080.0007395265634356160.999630236718282
390.0001851191641799390.0003702383283598770.99981488083582
400.0001497370271480960.0002994740542961930.999850262972852
418.73834682991561e-050.0001747669365983120.9999126165317
424.62164317165252e-059.24328634330505e-050.999953783568283
432.01383786536878e-054.02767573073756e-050.999979861621346
441.35242148484791e-052.70484296969582e-050.999986475785152
451.01902340829507e-052.03804681659013e-050.999989809765917
463.72435365625322e-057.44870731250644e-050.999962756463437
471.41410888181369e-052.82821776362738e-050.999985858911182
481.40811641983079e-052.81623283966159e-050.999985918835802
496.26365696234096e-061.25273139246819e-050.999993736343038
503.24862273949219e-066.49724547898437e-060.99999675137726
511.11947960245031e-062.23895920490061e-060.999998880520398
527.86659273637073e-071.57331854727415e-060.999999213340726
531.25818192145017e-062.51636384290035e-060.999998741818079


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level240.648648648648649NOK
5% type I error level290.783783783783784NOK
10% type I error level310.837837837837838NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/15/t12609047295e486ybasnfmbj2/10cs5k1260904629.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t12609047295e486ybasnfmbj2/10cs5k1260904629.ps (open in new window)


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


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


http://www.freestatistics.org/blog/date/2009/Dec/15/t12609047295e486ybasnfmbj2/37n3r1260904629.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t12609047295e486ybasnfmbj2/37n3r1260904629.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t12609047295e486ybasnfmbj2/4q7yw1260904629.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t12609047295e486ybasnfmbj2/4q7yw1260904629.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t12609047295e486ybasnfmbj2/5cq281260904629.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t12609047295e486ybasnfmbj2/5cq281260904629.ps (open in new window)


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


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


http://www.freestatistics.org/blog/date/2009/Dec/15/t12609047295e486ybasnfmbj2/8bo6a1260904629.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t12609047295e486ybasnfmbj2/8bo6a1260904629.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t12609047295e486ybasnfmbj2/9ly8u1260904629.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t12609047295e486ybasnfmbj2/9ly8u1260904629.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