Home » date » 2009 » Dec » 18 »

Multiple Regression analysis 1a

*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:33:30 -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/t1261150458sxqn3rzvuoiqxwq.htm/, Retrieved Fri, 18 Dec 2009 16:34:30 +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/t1261150458sxqn3rzvuoiqxwq.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] = -227.016946529721 + 1.15710544765022TIP[t] + 2.26822918015897CONS[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)-227.01694652972124.040757-9.44300
TIP1.157105447650220.10535610.982900
CONS2.268229180158970.20827810.890400


Multiple Linear Regression - Regression Statistics
Multiple R0.887253325178803
R-squared0.787218463040842
Adjusted R-squared0.78086677537042
F-TEST (value)123.938471771309
F-TEST (DF numerator)2
F-TEST (DF denominator)67
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation8.2852376560788
Sum Squared Residuals4599.22592218631


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1100.5105.572167533305-5.07216753330467
2106.29103.6050882722992.68491172770106
3101.0998.6189651159252.47103488407495
4104.53104.877595698945-0.347595698945075
5122.74123.225609561466-0.485609561466289
6109.84113.065455348177-3.22545534817676
7101.99107.472573307355-5.4825733073546
8125.12123.4679089482431.65209105175661
9103.593.38378444087610.1162155591241
10102.8107.935106920646-5.13510692064554
11118.72127.74889053878-9.02889053878007
12119.01124.508686719590-5.49868671959027
13118.61116.7176128940021.89238710599813
14120.43113.2850724431527.14492755684772
15111.83111.0827301780140.747269821985967
16116.79113.7891287254443.00087127455642
17131.71125.2191827138536.49081728614704
18120.57122.952635487913-2.38263548791278
19117.83117.945203428187-0.115203428186952
20130.8136.635750753489-5.83575075348906
21107.4699.3812449448978.07875505510309
22112.09116.551770153723-4.46177015372339
23129.47136.551610277785-7.0816102777848
24119.72127.719141549311-7.99914154931116
25134.81131.7778983933463.03210160665393
26135.8124.43817131803211.3618286819677
27129.27120.7558170915968.5141829084039
28126.94123.8343286508793.10567134912058
29153.45140.7780309416912.67196905831
30121.86124.492115113126-2.63211511312550
31133.47135.931365444563-2.46136544456321
32135.34141.324396464916-5.98439646491607
33117.1108.2627507311808.83724926881955
34120.65126.029912784119-5.37991278411944
35132.49142.531156101914-10.0411561019145
36137.6144.407506195713-6.80750619571347
37138.69140.831666171014-2.14166617101402
38125.53128.446039709642-2.9160397096425
39133.09133.618836503482-0.528836503481527
40129.08134.033706447412-4.95370644741218
41145.94149.132937279254-3.19293727925366
42129.07135.231578307151-6.16157830715146
43139.69138.3899407363941.30005926360597
44142.09147.394980022021-5.30498002202125
45137.29119.76713172072817.5228682792725
46127.03133.237218582830-6.20721858283036
47137.25142.931922965534-5.68192296553354
48156.87155.4760169037471.39398309625294
49150.89146.6248469234484.2651530765523
50139.14132.3921413515816.7478586484192
51158.3145.70314360530312.5968563946967
52149150.083742140306-1.08374214030551
53158.36147.99604559725210.3639544027482
54168.06157.05993541525511.0000645847445
55153.38149.1821134624374.19788653756343
56173.86158.00308676212515.8569132378752
57162.47136.33762586198126.1323741380192
58145.17139.9634286417985.20657135820241
59168.89160.2466431304948.64335686950568
60166.64159.2913792233017.34862077669866
61140.07139.9769145905710.093085409429095
62128.84134.415911184579-5.57591118457857
63123.41131.073791335166-7.66379133516625
64120.3134.299892074044-13.9998920740444
65129.67144.212840163274-14.5428401632735
66118.1134.025714052437-15.9257140524374
67113.91130.888043395009-16.9780433950085
68131.09142.457107351523-11.3671073515228
69119.15119.153923270150-0.00392327015017413
70122.3127.083389932305-4.78338993230523


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
60.07208858300722750.1441771660144550.927911416992772
70.02486281656330690.04972563312661370.975137183436693
80.01459895879715020.02919791759430040.98540104120285
90.08062220126972290.1612444025394460.919377798730277
100.04849666125415350.0969933225083070.951503338745846
110.03061865589415680.06123731178831350.969381344105843
120.01518672822160940.03037345644321880.98481327177839
130.01382526994463790.02765053988927580.986174730055362
140.02412133186429650.04824266372859310.975878668135703
150.01257390872027520.02514781744055030.987426091279725
160.006995214626705870.01399042925341170.993004785373294
170.007420323089820850.01484064617964170.99257967691018
180.004408894206067030.008817788412134060.995591105793933
190.002262005878739140.004524011757478290.99773799412126
200.001240584971366340.002481169942732680.998759415028634
210.0006842947753228160.001368589550645630.999315705224677
220.0006376427217678630.001275285443535730.999362357278232
230.0003629955288241940.0007259910576483870.999637004471176
240.000310260337755950.00062052067551190.999689739662244
250.0003093365383681980.0006186730767363960.999690663461632
260.001388847358435990.002777694716871970.998611152641564
270.001540721663909220.003081443327818430.99845927833609
280.000864828844122580.001729657688245160.999135171155877
290.005568752340649830.01113750468129970.99443124765935
300.004022568308266330.008045136616532670.995977431691734
310.002417796519139730.004835593038279470.99758220348086
320.001728018413623720.003456036827247450.998271981586376
330.001815985181164570.003631970362329150.998184014818835
340.001627949689935160.003255899379870320.998372050310065
350.001847871985113360.003695743970226730.998152128014887
360.001326458945052690.002652917890105380.998673541054947
370.0007425506768164290.001485101353632860.999257449323184
380.0004380646807683970.0008761293615367930.999561935319232
390.0002248321432439080.0004496642864878160.999775167856756
400.0001436723890712300.0002873447781424590.999856327610929
418.8483609989468e-050.0001769672199789360.99991151639001
426.76118890980166e-050.0001352237781960330.999932388110902
433.63239943391035e-057.2647988678207e-050.999963676005661
443.04839265395739e-056.09678530791479e-050.99996951607346
450.0005405119738049030.001081023947609810.999459488026195
460.0004205324398409310.0008410648796818620.99957946756016
470.0003755532165794740.0007511064331589490.99962444678342
480.0005649318289604350.001129863657920870.99943506817104
490.0005095259815490540.001019051963098110.99949047401845
500.0002914355031786460.0005828710063572910.999708564496821
510.0004540596709550840.0009081193419101680.999545940329045
520.0004213666481423020.0008427332962846040.999578633351858
530.0003285050974233190.0006570101948466380.999671494902577
540.0003106778955242630.0006213557910485250.999689322104476
550.0001499642361651690.0002999284723303390.999850035763835
560.0002675339350897080.0005350678701794170.99973246606491
570.1159884406607680.2319768813215370.884011559339232
580.1300680408664880.2601360817329760.869931959133512
590.1337930883286750.2675861766573510.866206911671325
600.4240901675541870.8481803351083740.575909832445813
610.7572737907317170.4854524185365660.242726209268283
620.816308558056830.3673828838863400.183691441943170
630.8209130229694180.3581739540611630.179086977030582
640.8453856177568650.3092287644862710.154614382243135


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level380.64406779661017NOK
5% type I error level470.796610169491525NOK
10% type I error level490.830508474576271NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/18/t1261150458sxqn3rzvuoiqxwq/10cwdj1261150401.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/18/t1261150458sxqn3rzvuoiqxwq/10cwdj1261150401.ps (open in new window)


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


http://www.freestatistics.org/blog/date/2009/Dec/18/t1261150458sxqn3rzvuoiqxwq/2z8e01261150401.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/18/t1261150458sxqn3rzvuoiqxwq/2z8e01261150401.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/18/t1261150458sxqn3rzvuoiqxwq/3cj791261150401.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/18/t1261150458sxqn3rzvuoiqxwq/3cj791261150401.ps (open in new window)


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


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


http://www.freestatistics.org/blog/date/2009/Dec/18/t1261150458sxqn3rzvuoiqxwq/6b2cm1261150401.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/18/t1261150458sxqn3rzvuoiqxwq/6b2cm1261150401.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/18/t1261150458sxqn3rzvuoiqxwq/7vbw01261150401.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/18/t1261150458sxqn3rzvuoiqxwq/7vbw01261150401.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/18/t1261150458sxqn3rzvuoiqxwq/8ktir1261150401.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/18/t1261150458sxqn3rzvuoiqxwq/8ktir1261150401.ps (open in new window)


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