Home » date » 2010 » Nov » 30 »

Minitutorial Multiple Regression invoeren trend

*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, 30 Nov 2010 14:04:11 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Nov/30/t1291125868cqdl37tgi8b6yqd.htm/, Retrieved Tue, 30 Nov 2010 15:04:42 +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/2010/Nov/30/t1291125868cqdl37tgi8b6yqd.htm/},
    year = {2010},
}
@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 = {2010},
    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:
Workshop 4
 
Dataseries X:
» Textbox « » Textfile « » CSV «
30/11/2010 0 8 17 2 6 31/10/2010 -2 3 23 3 7 30/09/2010 -4 3 24 1 4 31/08/2010 -4 7 27 1 3 31/07/2010 -7 4 31 0 0 30/06/2010 -9 -4 40 1 6 31/05/2010 -13 -6 47 -1 3 30/04/2010 -8 8 43 2 1 31/03/2010 -13 2 60 2 6 28/02/2010 -15 -1 64 0 5 31/01/2010 -15 -2 65 1 7 31/12/2009 -15 0 65 1 4 30/11/2009 -10 10 55 3 3 31/10/2009 -12 3 57 3 6 30/09/2009 -11 6 57 1 6 31/08/2009 -11 7 57 1 5 31/07/2009 -17 -4 65 -2 2 30/06/2009 -18 -5 69 1 3 31/05/2009 -19 -7 70 1 -2 30/04/2009 -22 -10 71 -1 -4 31/03/2009 -24 -21 71 -4 0 28/02/2009 -24 -22 73 -2 1 31/01/2009 -20 -16 68 -1 4 31/12/2008 -25 -25 65 -5 -3 30/11/2008 -22 -22 57 -4 -3 31/10/2008 -17 -22 41 -5 0 30/09/2008 -9 -19 21 0 6 31/08/2008 -11 -21 21 -2 -1 31/07/2008 -13 -31 17 -4 0 30/06/2008 -11 -28 9 -6 -1 31/05/2008 -9 -23 11 -2 1 30/04/2008 -7 -17 6 -2 -4 31/03/2008 -3 -12 -2 -2 -1 29/02/2008 -3 -14 0 1 -1 31/01/2008 -6 -18 5 -2 0 31/12/2007 -4 -16 3 0 3 30/11/2007 -8 -22 7 -1 0 31/10/2007 -1 -9 4 2 8 30/09/2007 -2 -10 8 3 8 31 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 time6 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135
R Framework
error message
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.


Multiple Linear Regression - Estimated Regression Equation
CVI[t] = + 0.112887779893211 + 26.0887388895069Maand[t] + 0.250165293372729Econ.Sit.[t] -0.253625189537363Werkloos[t] + 0.283963060245982Fin.Sit.[t] + 0.221586511866371`Spaarverm. `[t] -0.00248839513129872t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)0.1128877798932110.1302510.86670.3899430.194971
Maand26.088738889506910.2734892.53940.0140160.007008
Econ.Sit.0.2501652933727290.00952226.272600
Werkloos-0.2536251895373630.001967-128.952100
Fin.Sit.0.2839630602459820.0393387.218500
`Spaarverm. `0.2215865118663710.01449815.284100
t-0.002488395131298720.004826-0.51560.6082160.304108


Multiple Linear Regression - Regression Statistics
Multiple R0.999268451452004
R-squared0.998537438067286
Adjusted R-squared0.998374931185873
F-TEST (value)6144.58556700532
F-TEST (DF numerator)6
F-TEST (DF denominator)54
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.298237209437717
Sum Squared Residuals4.80305338703263


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
10-0.2670627384712580.267062738471258
2-2-2.531741362346590.531741362346592
3-4-4.017512059619980.0175120596199833
4-4-3.99477081435981-0.00522918564018951
5-7-6.70379337870002-0.29620662129998
6-9-9.369331854014170.369331854014165
7-13-12.8646374522423-0.135362547757653
8-8-7.92472151129115-0.0752784887088516
9-13-12.5951221585565-0.404877841443459
10-15-15.10452842667130.104528426671263
11-15-14.6630201953003-0.336979804699709
12-15-15.19875418096880.198754180968771
13-10-9.81512895108416-0.184871048915843
14-12-11.4064250320034-0.593574967996582
15-11-11.22331361653410.223313616534104
16-11-11.19018918325420.190189183254206
17-17-17.48295739677920.482957396779183
18-18-17.6692156178298-0.330784382170161
19-19-19.51800922927890.518009229278944
20-22-21.5188361257189-0.481163874281108
21-24-24.20189240510510.201892405105070
22-24-24.12466875358510.124668753585052
23-20-20.18855598824240.188555988242437
24-25-24.7376144947333-0.262385505266719
25-22-21.6747723150419-0.325227684958059
26-17-17.23361858046170.233618580461749
27-9-8.66074137233554-0.339258627664461
28-11-11.27555450785260.275554507852613
29-13-13.10434246584440.104342465844365
30-11-11.10942186843380.109421868433836
31-9-8.7737180312451-0.226281968754900
32-7-7.098131157986080.0981311579860777
33-3-3.119220234793830.119220234793828
34-3-3.223265415651640.223265415651644
35-6-5.91046900338362-0.089530996616384
36-4-4.041874748891460.0418747488914551
37-8-7.50670720829633-0.493292791703674
38-1-0.866744910674749-0.133255089325251
39-2-1.84690322662507-0.153096773374927
40-2-2.379938815121270.379938815121274
41-1-0.85774135905496-0.142258640945040
4211.35366702850198-0.353667028501977
4321.843748072042150.156251927957854
4421.853922651816420.146077348183579
45-1-0.62475164913857-0.37524835086143
4610.9300931332536540.069906866746346
47-1-0.972088642562461-0.0279113574375386
48-8-8.042193597551180.0421935975511818
4910.7381378208915220.261862179108478
5022.35221991790006-0.352219917900064
51-2-1.7434524848397-0.256547515160301
52-2-1.63926210213684-0.360737897863158
53-2-2.001591808589460.00159180858946454
54-2-2.271932751929730.27193275192973
55-6-5.72824882259733-0.271751177402674
56-4-3.72026903362548-0.279730966374522
57-5-5.429246576590960.429246576590963
58-2-2.352626896986650.352626896986646
59-1-0.997512943741537-0.00248705625846306
60-5-5.129812044128660.129812044128662
61-9-9.42383112160230.423831121602302


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
100.1723910222800150.344782044560030.827608977719985
110.4780337533666050.956067506733210.521966246633395
120.3487327650772110.6974655301544220.651267234922789
130.3673472134681270.7346944269362540.632652786531873
140.6013205597484230.7973588805031530.398679440251577
150.6216599729831070.7566800540337860.378340027016893
160.5560448626980560.8879102746038880.443955137301944
170.6633983788838330.6732032422323340.336601621116167
180.5899097855249310.8201804289501370.410090214475069
190.8999769936144950.2000460127710110.100023006385506
200.947047474826440.1059050503471200.0529525251735599
210.9248762408313860.1502475183372290.0751237591686143
220.8907124952425810.2185750095148380.109287504757419
230.8684296931306180.2631406137387650.131570306869382
240.9063305406139050.1873389187721900.0936694593860952
250.9445509718139360.1108980563721290.0554490281860645
260.9174430641404080.1651138717191840.0825569358595918
270.9262598205150120.1474803589699760.0737401794849882
280.9201611832425290.1596776335149430.0798388167574714
290.8881139195366460.2237721609267080.111886080463354
300.8692851310979110.2614297378041780.130714868902089
310.8348073699438650.3303852601122710.165192630056136
320.790317837065580.4193643258688380.209682162934419
330.7722712101465670.4554575797068660.227728789853433
340.7477385145638610.5045229708722780.252261485436139
350.6979636699468690.6040726601062610.302036330053131
360.6741675039464570.6516649921070860.325832496053543
370.7241073704979690.5517852590040620.275892629502031
380.6459265658470620.7081468683058760.354073434152938
390.5926226637635860.8147546724728290.407377336236414
400.8482854241247170.3034291517505650.151714575875283
410.7985029264161810.4029941471676380.201497073583819
420.7620171693104010.4759656613791980.237982830689599
430.8023370568067060.3953258863865880.197662943193294
440.757498255169230.4850034896615420.242501744830771
450.6831798841817210.6336402316365590.316820115818279
460.7661982840069760.4676034319860480.233801715993024
470.6722209753852350.655558049229530.327779024614765
480.5977943029161770.8044113941676470.402205697083823
490.5394246486778480.9211507026443050.460575351322152
500.4662664286646130.9325328573292270.533733571335387
510.4892698163323150.978539632664630.510730183667685


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level00OK
10% type I error level00OK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Nov/30/t1291125868cqdl37tgi8b6yqd/10pshf1291125844.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t1291125868cqdl37tgi8b6yqd/10pshf1291125844.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/30/t1291125868cqdl37tgi8b6yqd/1i9231291125844.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t1291125868cqdl37tgi8b6yqd/1i9231291125844.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/30/t1291125868cqdl37tgi8b6yqd/2i9231291125844.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t1291125868cqdl37tgi8b6yqd/2i9231291125844.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/30/t1291125868cqdl37tgi8b6yqd/3bjjo1291125844.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t1291125868cqdl37tgi8b6yqd/3bjjo1291125844.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/30/t1291125868cqdl37tgi8b6yqd/4bjjo1291125844.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t1291125868cqdl37tgi8b6yqd/4bjjo1291125844.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/30/t1291125868cqdl37tgi8b6yqd/5bjjo1291125844.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t1291125868cqdl37tgi8b6yqd/5bjjo1291125844.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/30/t1291125868cqdl37tgi8b6yqd/6ma0r1291125844.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t1291125868cqdl37tgi8b6yqd/6ma0r1291125844.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/30/t1291125868cqdl37tgi8b6yqd/7w10c1291125844.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t1291125868cqdl37tgi8b6yqd/7w10c1291125844.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/30/t1291125868cqdl37tgi8b6yqd/8w10c1291125844.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t1291125868cqdl37tgi8b6yqd/8w10c1291125844.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/30/t1291125868cqdl37tgi8b6yqd/9pshf1291125844.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t1291125868cqdl37tgi8b6yqd/9pshf1291125844.ps (open in new window)


 
Parameters (Session):
par1 = 2 ; par2 = Do not include Seasonal Dummies ; par3 = Linear Trend ;
 
Parameters (R input):
par1 = 2 ; par2 = Do not include Seasonal 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