Home » date » 2010 » Dec » 21 »

*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, 21 Dec 2010 22:04:23 +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/21/t1292968997i9bp4u914pu8ccx.htm/, Retrieved Tue, 21 Dec 2010 23:03:28 +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/21/t1292968997i9bp4u914pu8ccx.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 «
9 2 3 2 14 9 2 4 1 18 9 4 2 2 11 9 3 2 2 12 9 3 4 1 16 9 2 4 1 18 9 4 4 2 14 9 3 4 3 14 9 2 3 2 15 9 2 3 2 15 9 2 5 2 17 9 1 4 1 19 9 2 2 4 10 9 1 3 2 16 9 2 5 2 18 9 3 4 3 14 9 2 3 3 14 9 2 4 1 17 9 3 2 1 14 9 2 3 2 16 9 1 4 1 18 9 3 2 3 11 9 4 5 2 14 9 3 3 3 12 9 2 4 2 17 9 4 3 4 9 9 2 4 2 16 9 4 4 2 14 9 3 4 2 15 9 4 2 2 11 9 2 4 2 16 9 3 4 3 13 9 1 4 2 17 9 2 3 2 15 9 3 4 3 14 9 2 4 2 16 9 4 3 4 9 9 2 3 2 15 9 2 4 2 17 9 2 4 4 13 9 2 4 3 15 9 2 4 2 16 9 2 4 3 16 9 3 4 4 12 9 2 2 12 9 4 3 3 11 9 2 4 3 15 9 2 3 2 15 9 3 4 1 17 9 4 3 2 13 9 2 4 1 16 9 2 3 2 14 9 4 2 3 11 9 2 3 4 12 9 3 4 5 12 9 2 4 3 15 9 2 4 2 16 9 2 4 2 15 9 3 3 3 12 9 4 3 2 12 9 5 2 4 8 9 3 3 3 13 9 5 2 2 11 9 3 3 2 14 9 3 4 2 15 10 4 2 3 10
 
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
Warning: there are blank lines in the 'Data X' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.


Multiple Linear Regression - Estimated Regression Equation
PSS [t] = + 17.5056184987945 -0.171507752660072month[t] -1.15792639251861IDT[t] + 0.874466763783774TGYW[t] -0.284405176049270POP[t] -0.0459412607388270t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)17.50561849879452.8799826.078400
month-0.1715077526600720.233938-0.73310.4663320.233166
IDT-1.157926392518610.246396-4.69951.6e-058e-06
TGYW0.8744667637837740.2547373.43280.0010880.000544
POP-0.2844051760492700.148417-1.91630.0600990.03005
t-0.04594126073882700.017736-2.59030.0120180.006009


Multiple Linear Regression - Regression Statistics
Multiple R0.895825388051245
R-squared0.802503125877163
Adjusted R-squared0.786045053033593
F-TEST (value)48.7604553403532
F-TEST (DF numerator)5
F-TEST (DF denominator)60
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1.53745837144318
Sum Squared Residuals141.826694635242


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
11415.6548446183307-1.65484461833068
21816.76777529742481.23222470257518
31112.3726425480320-1.37264254803196
41213.4846276798118-1.48462767981175
51615.47202512268970.527974877310258
61816.58401025446951.41598974553048
71413.93781103264420.0621889673557953
81414.7653909883747-0.765390988374717
91515.28731453242-0.287314532419996
101515.2413732716812-0.241373271681169
111716.94436553850990.0556344614901125
121917.46628908255521.53371091744483
131013.6602723735824-3.66027237358237
141616.2155346212445-0.215534621244469
151816.76060049555461.23939950444542
161414.3978609024641-0.397860902464101
171414.6353792704601-0.635379270460109
181716.03271512560360.967284874396405
191413.07991394477860.920086055221387
201614.78196066429291.21803933570710
211817.05281773590570.947182264094277
221112.3732798104636-1.37327981046359
231414.0772176246067-0.0772176246067448
241213.1558640527697-1.15586405276971
251715.42672112438251.57327887561746
26911.6216499627242-2.62164996272418
271615.33483860290490.665161397095118
281412.97304455712881.02695544287116
291514.08502968890860.914970311091381
301111.1322285080836-0.132228508083636
311615.15107355994960.848926440050427
321313.6628007306429-0.662800730642868
331716.21711743099050.782882569009472
341514.13878301394930.86121698605068
351413.52497694842640.475023051573613
361614.92136725625541.07863274374456
37911.1162960945971-2.11629609459708
381513.9550179709941.04498202900599
391714.78354347403902.21645652596104
401314.1687918612016-1.16879186120159
411514.40725577651200.592744223487967
421614.64571969182251.35428030817752
431614.31537325503441.68462674496562
441212.8271004257277-0.827100425727673
4599.91491062154575-0.914910621545748
46910.7274536714217-1.72745367142172
4798.728980819287350.271019180712648
4898.966499187283360.0335008127166395
4996.147846665483542.85215333451646
5099.1004115125841-0.100411512584100
5196.511877072715232.48812292728477
5299.06713932037732-0.0671393203773225
53911.5637912387685-2.56379123876854
54911.2930006785658-2.29300067856575
55910.7920920364320-1.79209203643202
5698.31550947263790.684490527362092
5797.110696272066041.88930372793396
5897.349160187376481.65083981262352
59910.0173198584278-1.01731985842777
6098.92540408124510.0745959187549002
61912.7524356921294-3.75243569212943
6299.59509090016202-0.595090900162022
63910.0584041149364-1.05840411493642
6498.344336438851330.655663561148675
65106.856063609544623.14393639045538
66911.2509600252131-2.25096002521306


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
90.05085537846432850.1017107569286570.949144621535672
100.01422307100187260.02844614200374520.985776928998127
110.01427934455021260.02855868910042520.985720655449787
120.004556481518192640.009112963036385290.995443518481807
130.002657375984909320.005314751969818630.99734262401509
140.0008071271030666390.001614254206133280.999192872896933
150.0002596934929026690.0005193869858053370.999740306507097
167.6947538608062e-050.0001538950772161240.999923052461392
173.46611313405889e-056.93222626811778e-050.99996533886866
188.06905416258585e-050.0001613810832517170.999919309458374
192.66415559411347e-055.32831118822694e-050.99997335844406
203.36145325744142e-056.72290651488284e-050.999966385467426
215.01806712810299e-050.0001003613425620600.999949819328719
222.76827459556973e-055.53654919113945e-050.999972317254044
237.16250412062143e-050.0001432500824124290.999928374958794
243.91666940771069e-057.83333881542137e-050.999960833305923
253.30701734512486e-056.61403469024972e-050.999966929826549
267.13859699099065e-050.0001427719398198130.99992861403009
272.95726178109381e-055.91452356218762e-050.99997042738219
281.30211043228389e-052.60422086456779e-050.999986978895677
294.94348378870591e-069.88696757741182e-060.999995056516211
305.72630980663814e-061.14526196132763e-050.999994273690193
312.3796695950299e-064.7593391900598e-060.999997620330405
321.43550374544619e-062.87100749089237e-060.999998564496255
338.93272368580986e-071.78654473716197e-060.999999106727631
343.28548655882999e-076.57097311765999e-070.999999671451344
351.70580524162967e-073.41161048325934e-070.999999829419476
368.23142123841147e-081.64628424768229e-070.999999917685788
370.0003259600226496340.0006519200452992690.99967403997735
380.0002457200117230650.0004914400234461310.999754279988277
390.0009334678457722290.001866935691544460.999066532154228
400.0005513273733603880.001102654746720780.99944867262664
410.0004250377624872420.0008500755249744830.999574962237513
420.001062767495908590.002125534991817190.998937232504091
430.9759583490671430.04808330186571440.0240416509328572
440.9999240476355910.0001519047288175677.59523644087836e-05
450.9999998389955213.22008957078702e-071.61004478539351e-07
460.9999994100548881.17989022348582e-065.8994511174291e-07
470.9999987662382962.46752340808809e-061.23376170404404e-06
480.9999962328255737.53434885313891e-063.76717442656946e-06
490.999998473082273.05383545943858e-061.52691772971929e-06
500.9999924730637631.50538724747329e-057.52693623736643e-06
510.9999754942969554.90114060891385e-052.45057030445693e-05
520.9999220339886230.0001559320227544897.79660113772447e-05
530.9999464776971510.0001070446056971365.3522302848568e-05
540.9999909298233951.81403532099344e-059.07017660496722e-06
550.999985874896812.82502063807626e-051.41251031903813e-05
560.9998315108216970.0003369783566057440.000168489178302872
570.9983154522033470.003369095593305870.00168454779665293


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level450.918367346938776NOK
5% type I error level480.979591836734694NOK
10% type I error level480.979591836734694NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292968997i9bp4u914pu8ccx/100ooa1292969056.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292968997i9bp4u914pu8ccx/100ooa1292969056.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t1292968997i9bp4u914pu8ccx/1bnry1292969056.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292968997i9bp4u914pu8ccx/1bnry1292969056.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t1292968997i9bp4u914pu8ccx/2me811292969056.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292968997i9bp4u914pu8ccx/2me811292969056.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t1292968997i9bp4u914pu8ccx/3me811292969056.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292968997i9bp4u914pu8ccx/3me811292969056.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t1292968997i9bp4u914pu8ccx/4e6p41292969056.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292968997i9bp4u914pu8ccx/4e6p41292969056.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t1292968997i9bp4u914pu8ccx/5e6p41292969056.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292968997i9bp4u914pu8ccx/5e6p41292969056.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t1292968997i9bp4u914pu8ccx/6e6p41292969056.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292968997i9bp4u914pu8ccx/6e6p41292969056.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t1292968997i9bp4u914pu8ccx/77xo71292969056.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292968997i9bp4u914pu8ccx/77xo71292969056.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t1292968997i9bp4u914pu8ccx/80ooa1292969056.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292968997i9bp4u914pu8ccx/80ooa1292969056.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t1292968997i9bp4u914pu8ccx/90ooa1292969056.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292968997i9bp4u914pu8ccx/90ooa1292969056.ps (open in new window)


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