Home » date » 2010 » Dec » 17 »

multiple regression incl lineaire 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: Fri, 17 Dec 2010 16:58:50 +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/Dec/17/t1292605035gvsrc82er52kyn4.htm/, Retrieved Fri, 17 Dec 2010 17:57:15 +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/Dec/17/t1292605035gvsrc82er52kyn4.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:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
14544.5 94.6 -3.0 14097.8 15116.3 95.9 -3.7 14776.8 17413.2 104.7 -4.7 16833.3 16181.5 102.8 -6.4 15385.5 15607.4 98.1 -7.5 15172.6 17160.9 113.9 -7.8 16858.9 14915.8 80.9 -7.7 14143.5 13768 95.7 -6.6 14731.8 17487.5 113.2 -4.2 16471.6 16198.1 105.9 -2.0 15214 17535.2 108.8 -0.7 17637.4 16571.8 102.3 0.1 17972.4 16198.9 99 0.9 16896.2 16554.2 100.7 2.1 16698 19554.2 115.5 3.5 19691.6 15903.8 100.7 4.9 15930.7 18003.8 109.9 5.7 17444.6 18329.6 114.6 6.2 17699.4 16260.7 85.4 6.5 15189.8 14851.9 100.5 6.5 15672.7 18174.1 114.8 6.3 17180.8 18406.6 116.5 6.2 17664.9 18466.5 112.9 6.4 17862.9 16016.5 102 6.3 16162.3 17428.5 106 5.8 17463.6 17167.2 105.3 5.1 16772.1 19630 118.8 5.1 19106.9 17183.6 106.1 5.8 16721.3 18344.7 109.3 6.7 18161.3 19301.4 117.2 7.1 18509.9 18147.5 92.5 6.7 17802.7 16192.9 104.2 5.5 16409.9 18374.4 112.5 4.2 17967.7 20515.2 122.4 3.0 20286.6 18957.2 113.3 2.2 19537.3 16471.5 100 2.0 18021.9 18746.8 110.7 1.8 20194.3 19009.5 112.8 1.8 19049.6 19211.2 109 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'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Multiple Linear Regression - Estimated Regression Equation
productie[t] = + 30.8115915919024 + 0.00348754152529101uitvoer[t] -0.167649538311852ondernemersvertrouwen[t] + 0.00103653952403590invoer[t] -0.159945387828218t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)30.81159159190248.0305483.83680.0002910.000146
uitvoer0.003487541525291010.0011183.12030.0027260.001363
ondernemersvertrouwen-0.1676495383118520.097799-1.71420.0914050.045702
invoer0.001036539524035900.0010760.96320.3391220.169561
t-0.1599453878282180.046721-3.42340.0010920.000546


Multiple Linear Regression - Regression Statistics
Multiple R0.81693184425255
R-squared0.667377638153872
Adjusted R-squared0.646258758036657
F-TEST (value)31.6009956233369
F-TEST (DF numerator)4
F-TEST (DF denominator)63
p-value1.92068583260152e-14
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation5.9179008697521
Sum Squared Residuals2206.3576943654


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
194.696.4920694355582-1.89206943555816
295.999.14746530553-3.24746530553006
3104.7109.297347116634-4.59734711663445
4102.8103.626099124336-0.826099124336263
598.1101.427691374314-3.32769137431427
6113.9108.4838532069015.41614679309907
780.997.6626439632436-16.7626439632436
895.793.92508012253361.77491987746637
9113.2108.1380580099955.06194199000545
10105.9101.8088954897424.09110451025753
11108.8108.6061473581240.193852641875925
12102.3105.299425574733-2.99942557473304
1399102.589332485707-3.58933248570688
14100.7103.261889022176-2.56188902217642
15115.5116.432843575739-0.93284357573852
16100.799.40894575440481.29105424559523
17109.9108.0079351244761.89206487552386
18114.6109.1645162671565.43548373284383
1985.499.1376017666393-13.7376017666393
20100.594.5649528141385.93504718586194
21114.8107.5880530454937.21194695450745
22116.5108.7575147997117.74248520028854
23112.9108.9781780673453.92182193265509
2410298.52778178180953.47221821819055
25106104.7249186794761.27508132052402
26105.3103.0542662870372.24573371296330
27118.8113.9035506484144.89644935158579
28106.1102.6215603077563.47843969224429
29109.3107.8527317150741.44726828492608
30117.2111.3235951672465.87640483275421
3192.5106.473394677311-13.9733946773108
32104.298.25418782104585.9458121789542
33112.5107.5349799409884.96502005901153
34122.4117.4459743987644.95402560123569
35113.3111.2098798798222.09012012017791
36100100.843710435516-0.843710435516367
37110.7110.904276649861-0.204276649860744
38112.8110.4739816275632.32601837243742
39109.8112.306536612054-2.50653661205443
40117.3118.265597424151-0.965597424151192
41109.1112.196709264968-3.09670926496788
42115.9118.063900325064-2.16390032506397
4396115.215218868311-19.2152188683109
4499.899.67420615210520.125793847894769
45116.8118.078596451203-1.27859645120323
46115.7115.79216715038-0.0921671503800888
4799.499.2135240661810.186475933818985
4894.394.13820515573160.161794844268383
499191.8141308632122-0.814130863212235
5093.292.93041246929560.269587530704357
51103.197.4026804873285.69731951267202
5294.192.61482315491791.48517684508214
5391.889.3232696144532.47673038554706
54102.797.0028286369475.69717136305295
5582.691.8293165268406-9.22931652684064
5689.182.81611661841926.28388338158083
57104.597.72284623438326.77715376561684
58105.197.26264194807677.83735805192327
5995.195.4591140267216-0.359114026721552
6088.795.150416094328-6.45041609432809
6186.391.7328949952635-5.43289499526352
6291.893.120051539462-1.32005153946191
63111.5106.7819355908814.71806440911909
6499.799.03099210084350.669007899156513
6597.598.4989047590185-0.998904759018524
66111.7110.8095205620370.890479437962851
6786.2100.614043363794-14.4140433637936
6895.493.78307012131471.61692987868527


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
80.3482187298526980.6964374597053960.651781270147302
90.6750714465348810.6498571069302370.324928553465118
100.5420017656699670.9159964686600660.457998234330033
110.7636628102682720.4726743794634550.236337189731728
120.7770992406824830.4458015186350330.222900759317516
130.7220149963149450.555970007370110.277985003685055
140.6446663017112560.7106673965774870.355333698288744
150.5761982859912030.8476034280175930.423801714008797
160.5059332042148190.9881335915703620.494066795785181
170.4124774512314330.8249549024628650.587522548768567
180.3508998681058890.7017997362117780.649100131894111
190.6959278490374240.6081443019251520.304072150962576
200.7396631909828750.520673618034250.260336809017125
210.7400723598774070.5198552802451850.259927640122593
220.7193663339889260.5612673320221490.280633666011074
230.6497895275763730.7004209448472540.350210472423627
240.5771499370667430.8457001258665140.422850062933257
250.5079331131021850.984133773795630.492066886897815
260.4300938126421650.860187625284330.569906187357835
270.3705954032632290.7411908065264580.629404596736771
280.3042177959590670.6084355919181340.695782204040933
290.2534167978237070.5068335956474140.746583202176293
300.2287289776683150.4574579553366290.771271022331685
310.6704378281644250.659124343671150.329562171835575
320.6516329636882550.696734072623490.348367036311745
330.6185520993856390.7628958012287220.381447900614361
340.6179436680864170.7641126638271660.382056331913583
350.5833194998328520.8333610003342960.416680500167148
360.5171693466354330.9656613067291330.482830653364567
370.4591015404822010.9182030809644010.540898459517799
380.4975913490987210.9951826981974420.502408650901279
390.4592945276521850.918589055304370.540705472347815
400.4220776261031630.8441552522063260.577922373896837
410.4107541301023310.8215082602046630.589245869897669
420.4195680812023010.8391361624046030.580431918797699
430.7214068490387620.5571863019224770.278593150961239
440.6880656406978690.6238687186042630.311934359302131
450.6244413018959240.7511173962081510.375558698104076
460.5785132476962270.8429735046075460.421486752303773
470.5510906483170520.8978187033658960.448909351682948
480.5377601016076390.9244797967847210.462239898392361
490.5909584981890720.8180830036218550.409041501810928
500.5576097410823510.8847805178352970.442390258917649
510.5289423327451320.9421153345097360.471057667254868
520.4601457409632460.9202914819264910.539854259036755
530.3685254020993970.7370508041987930.631474597900603
540.2873971061539280.5747942123078570.712602893846072
550.4635297320443780.9270594640887560.536470267955622
560.3740636066629360.7481272133258730.625936393337064
570.2927485260273260.5854970520546520.707251473972674
580.3573314673982890.7146629347965780.642668532601711
590.4321022887101930.8642045774203850.567897711289807
600.3105287152526480.6210574305052960.689471284747352


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/Dec/17/t1292605035gvsrc82er52kyn4/10tqti1292605120.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/17/t1292605035gvsrc82er52kyn4/10tqti1292605120.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/17/t1292605035gvsrc82er52kyn4/147eo1292605120.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/17/t1292605035gvsrc82er52kyn4/147eo1292605120.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/17/t1292605035gvsrc82er52kyn4/2fywr1292605120.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/17/t1292605035gvsrc82er52kyn4/2fywr1292605120.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/17/t1292605035gvsrc82er52kyn4/3fywr1292605120.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/17/t1292605035gvsrc82er52kyn4/3fywr1292605120.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/17/t1292605035gvsrc82er52kyn4/48qvu1292605120.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/17/t1292605035gvsrc82er52kyn4/48qvu1292605120.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/17/t1292605035gvsrc82er52kyn4/58qvu1292605120.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/17/t1292605035gvsrc82er52kyn4/58qvu1292605120.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/17/t1292605035gvsrc82er52kyn4/68qvu1292605120.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/17/t1292605035gvsrc82er52kyn4/68qvu1292605120.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/17/t1292605035gvsrc82er52kyn4/71zcx1292605120.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/17/t1292605035gvsrc82er52kyn4/71zcx1292605120.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/17/t1292605035gvsrc82er52kyn4/81zcx1292605120.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/17/t1292605035gvsrc82er52kyn4/81zcx1292605120.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/17/t1292605035gvsrc82er52kyn4/9tqti1292605120.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/17/t1292605035gvsrc82er52kyn4/9tqti1292605120.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