Home » date » 2009 » Dec » 15 »

Multiple Regression analysis (2 time lags)

*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, 15 Dec 2009 12:28:15 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Dec/15/t12609053793ifp3hrr6dz43jz.htm/, Retrieved Tue, 15 Dec 2009 20:29:54 +0100
 
BibTeX entries for LaTeX users:
@Manual{KEY,
    author = {{YOUR NAME}},
    publisher = {Office for Research Development and Education},
    title = {Statistical Computations at FreeStatistics.org, URL http://www.freestatistics.org/blog/date/2009/Dec/15/t12609053793ifp3hrr6dz43jz.htm/},
    year = {2009},
}
@Manual{R,
    title = {R: A Language and Environment for Statistical Computing},
    author = {{R Development Core Team}},
    organization = {R Foundation for Statistical Computing},
    address = {Vienna, Austria},
    year = {2009},
    note = {{ISBN} 3-900051-07-0},
    url = {http://www.R-project.org},
}
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
105.67 96.90 96.33 123.61 95.10 96.33 113.08 97.00 95.05 106.46 112.70 96.84 123.38 102.90 96.92 109.87 97.40 97.44 95.74 111.40 97.78 123.06 87.40 97.69 123.39 96.80 96.67 120.28 114.10 98.29 115.33 110.30 98.20 110.40 103.90 98.71 114.49 101.60 98.54 132.03 94.60 98.20 123.16 95.90 100.80 118.82 104.70 101.33 128.32 102.80 101.88 112.24 98.10 101.85 104.53 113.90 102.04 132.57 80.90 102.22 122.52 95.70 102.63 131.80 113.20 102.65 124.55 105.90 102.54 120.96 108.80 102.37 122.60 102.30 102.68 145.52 99.00 102.76 118.57 100.70 102.82 134.25 115.50 103.31 136.70 100.70 103.23 121.37 109.90 103.60 111.63 114.60 103.95 134.42 85.40 103.93 137.65 100.50 104.25 137.86 114.80 104.38 119.77 116.50 104.36 130.69 112.90 104.32 128.28 102.00 104.58 147.45 106.00 104.68 128.42 105.30 104.92 136.90 118.80 105.46 143.95 106.10 105.23 135.64 109.30 105.58 122.48 117.20 105.34 136.83 92.50 105.28 153.04 104.20 105.70 142.71 112.50 105.67 123.46 122.40 105.71 144.37 113.30 106.1 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 time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
Uitvoer[t] = -41.7635583530285 + 1.39214975483713TIP[t] + 0.0611793827341157cons[t] + 11.0612384622747M1[t] + 25.6224237457095M2[t] + 13.0495707174011M3[t] -1.25943975198516M4[t] + 19.2286263713111M5[t] + 9.50320871169308M6[t] -19.6451676889559M7[t] + 41.2540745646001M8[t] + 27.0430471556376M9[t] -0.91340532957285M10[t] -12.9295824939500M11[t] + 0.246133906068330t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)-41.7635583530285140.650485-0.29690.7677250.383862
TIP1.392149754837130.2214496.286600
cons0.06117938273411571.3935560.04390.9651540.482577
M111.06123846227475.8933951.87690.066260.03313
M225.62242374570955.9207314.32767e-053.5e-05
M313.04957071740115.8168382.24340.0292420.014621
M4-1.259439751985165.719368-0.22020.826590.413295
M519.22862637131115.6770393.38710.0013680.000684
M69.503208711693085.7260451.65960.1031230.051562
M7-19.64516768895596.162256-3.1880.0024480.001224
M841.25407456460017.1847155.74191e-060
M927.04304715563766.1278124.41325.3e-052.6e-05
M10-0.913405329572856.087566-0.150.8813210.440661
M11-12.92958249395006.049551-2.13730.0373920.018696
t0.2461339060683300.341750.72020.474680.23734


Multiple Linear Regression - Regression Statistics
Multiple R0.834961366215876
R-squared0.697160483073082
Adjusted R-squared0.614028066661771
F-TEST (value)8.38614481772993
F-TEST (DF numerator)14
F-TEST (DF denominator)51
p-value6.12966200019827e-09
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation9.2784167987223
Sum Squared Residuals4390.53993283141


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1105.67110.336535197810-4.66653519780981
2123.61122.6379848286060.972015171393703
3113.08112.8780406306570.201959369342846
4106.46120.781426313376-14.3214263133763
5123.38127.877453095956-4.49745309595576
6109.87110.773158969824-0.903158969823521
795.74101.381814033092-5.64181403309236
8123.06129.110089932179-6.05008993217936
9123.39128.169001154365-4.77900115436542
10120.28124.641983933935-4.36198393393502
11115.33107.5762654627997.75373453720092
12110.4111.873424917054-1.47342491705413
13114.49119.968452354207-5.4784523542069
14132.03125.0099222697207.02007773027952
15123.16114.6520642238778.50793577612254
16118.82112.8725305759755.94746942402463
17128.32130.995294731653-2.6752947316532
18112.24114.971071748887-2.73107174888694
19104.53108.076419463452-3.54641946345249
20132.57123.2918660023449.27813399765648
21122.52129.95587241796-7.43587241795991
22131.8126.6093981361225.19060186387768
23124.55104.66993193540219.8800680645983
24120.96121.872482129383-0.912482129382903
25122.6124.149846699932-1.5498466999321
26145.52134.36796604909111.1520339509086
27118.57124.411572273039-5.84157227303858
28134.25130.982489978853.26751002115008
29136.7131.1079792860065.59202071399375
30121.37134.459109648570-13.0891096485698
31111.63112.121383785681-0.491383785680599
32134.42132.6147635164061.80523648359408
33137.65139.690908714027-2.04090871402737
34137.86131.8962849488125.9637150511883
35119.77122.491672686071-2.72167268607139
36130.69130.6532027933670.0367972066333527
37128.28126.8020494734961.47795052650425
38147.45147.1840856206210.265914379379180
39128.42133.897544721851-5.477544721851
40136.9138.661726715511-1.76172671551075
41143.95141.7015536004152.24844639958504
42135.64136.698561846301-1.05856184630102
43122.48118.7796193630783.70038063692247
44136.83145.535225815261-8.70522581526054
45153.04147.8841797847095.15582021529079
46142.71131.72686878923310.9831312107667
47123.46133.741555279122-10.2815552791215
48144.37134.27807501383410.0919249861658
49146.15127.11512838606719.0348716139334
50147.61156.849651437521-9.23965143752145
51158.51147.47153034736011.0384696526396
52147.4129.28481878868218.1151812113176
53165.05160.4974614027934.55253859720668
54154.64139.61295015464415.0270498453561
55126.2120.2207633546975.97923664530297
56157.36153.6880547338113.67194526618934
57154.15145.0500379289389.0999620710619
58123.21140.985464191898-17.7754641918977
59113.07127.700574636606-14.6305746366063
60110.45118.192815146362-7.74281514636206
61113.57122.387987888489-8.81798788848885
62122.44132.610389794440-10.1703897944395
63114.93123.359247803215-8.42924780321539
64111.85123.097007627605-11.2470076276053
65126.04131.260257883177-5.22025788317651
66121.34118.5851476317752.75485236822519


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
180.02310352010704650.0462070402140930.976896479892953
190.006497080279164460.01299416055832890.993502919720836
200.001378113476917890.002756226953835790.998621886523082
210.001722067610446300.003444135220892590.998277932389554
220.00073946190442450.0014789238088490.999260538095575
230.0004013060107548840.0008026120215097670.999598693989245
240.0001886331069300850.0003772662138601710.99981136689307
254.96477799116417e-059.92955598232834e-050.999950352220088
267.41820691158854e-050.0001483641382317710.999925817930884
270.0009731326550903950.001946265310180790.99902686734491
280.001515784784851050.003031569569702090.998484215215149
290.0008425074524606540.001685014904921310.99915749254754
300.0008229451005257950.001645890201051590.999177054899474
310.0003582657500313020.0007165315000626050.999641734249969
320.0002620157364961770.0005240314729923530.999737984263504
330.000143703739675480.000287407479350960.999856296260325
346.23364720439406e-050.0001246729440878810.999937663527956
350.0002275756684501010.0004551513369002020.99977242433155
360.0001131961193254580.0002263922386509160.999886803880675
374.7452268751705e-059.490453750341e-050.999952547731248
382.0611163373137e-054.1222326746274e-050.999979388836627
391.14866714176032e-052.29733428352064e-050.999988513328582
408.78317949079055e-061.75663589815811e-050.99999121682051
412.88829158308810e-065.77658316617621e-060.999997111708417
425.17837094290594e-050.0001035674188581190.99994821629057
434.46360310082033e-058.92720620164066e-050.999955363968992
440.00545766706019540.01091533412039080.994542332939805
450.0860460976032310.1720921952064620.913953902396769
460.05060001565427820.1012000313085560.949399984345722
470.3630517844660970.7261035689321940.636948215533903
480.2568323176810120.5136646353620240.743167682318988


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level240.774193548387097NOK
5% type I error level270.870967741935484NOK
10% type I error level270.870967741935484NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/15/t12609053793ifp3hrr6dz43jz/101jqx1260905290.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t12609053793ifp3hrr6dz43jz/101jqx1260905290.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t12609053793ifp3hrr6dz43jz/1b7pz1260905290.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t12609053793ifp3hrr6dz43jz/1b7pz1260905290.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t12609053793ifp3hrr6dz43jz/2stj11260905290.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t12609053793ifp3hrr6dz43jz/2stj11260905290.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t12609053793ifp3hrr6dz43jz/3exhc1260905290.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t12609053793ifp3hrr6dz43jz/3exhc1260905290.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t12609053793ifp3hrr6dz43jz/4batb1260905290.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t12609053793ifp3hrr6dz43jz/4batb1260905290.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t12609053793ifp3hrr6dz43jz/51p0k1260905290.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t12609053793ifp3hrr6dz43jz/51p0k1260905290.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t12609053793ifp3hrr6dz43jz/69w251260905290.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t12609053793ifp3hrr6dz43jz/69w251260905290.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t12609053793ifp3hrr6dz43jz/70xvz1260905290.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t12609053793ifp3hrr6dz43jz/70xvz1260905290.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t12609053793ifp3hrr6dz43jz/8s4k91260905290.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t12609053793ifp3hrr6dz43jz/8s4k91260905290.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t12609053793ifp3hrr6dz43jz/9em651260905290.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t12609053793ifp3hrr6dz43jz/9em651260905290.ps (open in new window)


 
Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
 
Parameters (R input):
par1 = 1 ; par2 = Include Monthly 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