Home » date » 2008 » Nov » 22 »

Multiple lineair regression

*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: Sat, 22 Nov 2008 03:58:57 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/Nov/22/t122735216091ky2rd2hiatmom.htm/, Retrieved Sat, 22 Nov 2008 11:09:20 +0000
 
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/2008/Nov/22/t122735216091ky2rd2hiatmom.htm/},
    year = {2008},
}
@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 = {2008},
    note = {{ISBN} 3-900051-07-0},
    url = {http://www.R-project.org},
}
 
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
 
Feedback Forum:

Post a new message
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
eigen dataset
 
Dataseries X:
» Textbox « » Textfile « » CSV «
6,06 0 5,983 0 6,11 0 6,143 0 6,093 0 6,148 0 6,464 0 6,532 0 6,321 0 6,23 0 6,176 0 6,338 0 6,462 0 6,401 0 6,46 0 6,519 0 6,542 0 6,637 0 7,114 0 7,579 0 7,408 0 8,243 0 8,243 0 8,434 0 8,576 0 8,58 0 8,645 0 8,66 0 8,72 0 8,787 0 9,162 0 9,144 0 8,806 0 8,778 0 8,66 0 8,826 0 8,609 1 8,628 1 8,619 1 8,775 1 8,84 1 8,745 1 9,092 1 8,934 1 8,749 1 8,298 1 8,067 1 7,969 1 7,999 0 7,865 0 7,746 0 7,633 0 7,458 0 7,391 0 7,856 0 7,72 0 7,297 0 7,123 0 7,004 0 7,151 0
 
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 time7 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001


Multiple Linear Regression - Estimated Regression Equation
Textiel[t] = + 7.42139583333333 + 1.18902083333333dummy[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)7.421395833333330.13454955.157600
dummy1.189020833333330.3008613.95210.0002130.000106


Multiple Linear Regression - Regression Statistics
Multiple R0.460606011517861
R-squared0.212157897846391
Adjusted R-squared0.198574413326502
F-TEST (value)15.6188125024721
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value0.000212839494328709
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.932182777658247
Sum Squared Residuals50.3999543958334


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
16.067.42139583333334-1.36139583333334
25.9837.42139583333333-1.43839583333333
36.117.42139583333333-1.31139583333333
46.1437.42139583333333-1.27839583333333
56.0937.42139583333333-1.32839583333333
66.1487.42139583333333-1.27339583333333
76.4647.42139583333333-0.957395833333333
86.5327.42139583333333-0.889395833333333
96.3217.42139583333333-1.10039583333333
106.237.42139583333333-1.19139583333333
116.1767.42139583333333-1.24539583333333
126.3387.42139583333333-1.08339583333333
136.4627.42139583333333-0.959395833333333
146.4017.42139583333333-1.02039583333333
156.467.42139583333333-0.961395833333333
166.5197.42139583333333-0.902395833333333
176.5427.42139583333333-0.879395833333333
186.6377.42139583333333-0.784395833333334
197.1147.42139583333333-0.307395833333333
207.5797.421395833333330.157604166666667
217.4087.42139583333333-0.0133958333333328
228.2437.421395833333330.821604166666667
238.2437.421395833333330.821604166666667
248.4347.421395833333331.01260416666667
258.5767.421395833333331.15460416666667
268.587.421395833333331.15860416666667
278.6457.421395833333331.22360416666667
288.667.421395833333331.23860416666667
298.727.421395833333331.29860416666667
308.7877.421395833333331.36560416666667
319.1627.421395833333331.74060416666667
329.1447.421395833333331.72260416666667
338.8067.421395833333331.38460416666667
348.7787.421395833333331.35660416666667
358.667.421395833333331.23860416666667
368.8267.421395833333331.40460416666667
378.6098.61041666666667-0.00141666666666670
388.6288.610416666666670.0175833333333334
398.6198.610416666666670.00858333333333309
408.7758.610416666666670.164583333333334
418.848.610416666666670.229583333333333
428.7458.610416666666670.134583333333333
439.0928.610416666666670.481583333333334
448.9348.610416666666670.323583333333333
458.7498.610416666666670.138583333333334
468.2988.61041666666667-0.312416666666667
478.0678.61041666666667-0.543416666666666
487.9698.61041666666667-0.641416666666666
497.9997.421395833333330.577604166666666
507.8657.421395833333330.443604166666667
517.7467.421395833333330.324604166666667
527.6337.421395833333330.211604166666667
537.4587.421395833333330.036604166666667
547.3917.42139583333333-0.0303958333333332
557.8567.421395833333330.434604166666667
567.727.421395833333330.298604166666667
577.2977.42139583333333-0.124395833333333
587.1237.42139583333333-0.298395833333333
597.0047.42139583333333-0.417395833333334
607.1517.42139583333333-0.270395833333333


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.0007293033207814050.001458606641562810.999270696679219
68.53225654734756e-050.0001706451309469510.999914677434527
70.0008616456750073570.001723291350014710.999138354324993
80.001106611669795440.002213223339590870.998893388330205
90.0003483022335637040.0006966044671274090.999651697766436
109.83775596114345e-050.0001967551192228690.999901622440389
112.99110501428187e-055.98221002856375e-050.999970088949857
121.15244890995809e-052.30489781991619e-050.9999884755109
138.43667213359124e-061.68733442671825e-050.999991563327866
144.64397457909453e-069.28794915818906e-060.99999535602542
153.6542585501047e-067.3085171002094e-060.99999634574145
164.25735022231233e-068.51470044462466e-060.999995742649778
176.11560539018928e-061.22312107803786e-050.99999388439461
181.61278511562244e-053.22557023124489e-050.999983872148844
190.0007478727077496010.001495745415499200.99925212729225
200.03161665662543520.06323331325087040.968383343374565
210.09520081239885370.1904016247977070.904799187601146
220.4775584874251370.9551169748502740.522441512574863
230.7352408268986290.5295183462027430.264759173101371
240.8852062390308580.2295875219382840.114793760969142
250.9529449407671460.09411011846570770.0470550592328538
260.9770469015607870.04590619687842550.0229530984392128
270.9881450009030070.02370999819398520.0118549990969926
280.9931469506268060.01370609874638890.00685304937319445
290.9960321540007470.00793569199850640.0039678459992532
300.9978306085854780.004338782829044720.00216939141452236
310.9995636293450240.0008727413099510980.000436370654975549
320.9999358349003970.0001283301992066266.41650996033129e-05
330.9999783520505814.32958988379212e-052.16479494189606e-05
340.9999945147309151.09705381700253e-055.48526908501263e-06
350.9999986909148482.61817030399621e-061.30908515199810e-06
360.999999976325194.73496198879978e-082.36748099439989e-08
370.999999913900361.72199279158234e-078.60996395791169e-08
380.9999996985896456.02820710594317e-073.01410355297158e-07
390.9999989827476252.03450475011009e-061.01725237505504e-06
400.9999970195019845.96099603097202e-062.98049801548601e-06
410.9999925429783821.49140432357085e-057.45702161785424e-06
420.999979907879194.01842416212849e-052.00921208106425e-05
430.9999826301227583.47397544844124e-051.73698772422062e-05
440.9999845531156663.08937686680909e-051.54468843340455e-05
450.999985622373722.87552525604619e-051.43776262802310e-05
460.999960785215547.84295689187456e-053.92147844593728e-05
470.9998735346335120.0002529307329756910.000126465366487845
480.9996026790430150.000794641913969350.000397320956984675
490.9995327708304480.0009344583391042480.000467229169552124
500.9992441074092450.001511785181510070.000755892590755034
510.9983890580873960.003221883825207890.00161094191260395
520.995727388355880.008545223288239740.00427261164411987
530.9862795090417280.02744098191654350.0137204909582718
540.9583407687863720.08331846242725570.0416592312136279
550.9542681248577460.09146375028450820.0457318751422541


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level390.764705882352941NOK
5% type I error level430.84313725490196NOK
10% type I error level470.92156862745098NOK
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/22/t122735216091ky2rd2hiatmom/10g5vx1227351525.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/22/t122735216091ky2rd2hiatmom/10g5vx1227351525.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/22/t122735216091ky2rd2hiatmom/1ajzd1227351524.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/22/t122735216091ky2rd2hiatmom/1ajzd1227351524.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/22/t122735216091ky2rd2hiatmom/2t87q1227351524.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/22/t122735216091ky2rd2hiatmom/2t87q1227351524.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/22/t122735216091ky2rd2hiatmom/35xsi1227351524.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/22/t122735216091ky2rd2hiatmom/35xsi1227351524.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/22/t122735216091ky2rd2hiatmom/4lbja1227351524.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/22/t122735216091ky2rd2hiatmom/4lbja1227351524.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/22/t122735216091ky2rd2hiatmom/5q82g1227351524.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/22/t122735216091ky2rd2hiatmom/5q82g1227351524.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/22/t122735216091ky2rd2hiatmom/6r7p71227351524.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/22/t122735216091ky2rd2hiatmom/6r7p71227351524.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/22/t122735216091ky2rd2hiatmom/7tayq1227351524.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/22/t122735216091ky2rd2hiatmom/7tayq1227351524.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/22/t122735216091ky2rd2hiatmom/8otqj1227351525.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/22/t122735216091ky2rd2hiatmom/8otqj1227351525.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/22/t122735216091ky2rd2hiatmom/9yoj91227351525.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/22/t122735216091ky2rd2hiatmom/9yoj91227351525.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