Home » date » 2010 » Dec » 03 »

Paper Multiple 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: Fri, 03 Dec 2010 22:35:40 +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/03/t1291415635d6s1hqi78rtjaor.htm/, Retrieved Fri, 03 Dec 2010 23:34:05 +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/03/t1291415635d6s1hqi78rtjaor.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 «
1,79 194,9 1,95 195,5 2,26 196 2,04 196,2 2,16 196,2 2,75 196,2 2,79 196,2 2,88 197 3,36 197,7 2,97 198 3,1 198,2 2,49 198,5 2,2 198,6 2,25 199,5 2,09 200 2,79 201,3 3,14 202,2 2,93 202,9 2,65 203,5 2,67 203,5 2,26 204 2,35 204,1 2,13 204,3 2,18 204,5 2,9 204,8 2,63 205,1 2,67 205,7 1,81 206,5 1,33 206,9 0,88 207,1 1,28 207,8 1,26 208 1,26 208,5 1,29 208,6 1,1 209 1,37 209,1 1,21 209,7 1,74 209,8 1,76 209,9 1,48 210 1,04 210,8 1,62 211,4 1,49 211,7 1,79 212 1,8 212,2 1,58 212,4 1,86 212,9 1,74 213,4 1,59 213,7 1,26 214 1,13 214,3 1,92 214,8 2,61 215 2,26 215,9 2,41 216,4 2,26 216,9 2,03 217,2 2,86 217,5 2,55 217,9 2,27 218,1 2,26 218,6 2,57 218,9 3,07 219,3 2,76 220,4 2,51 220,9 2,87 221 3,14 221,8 3,11 222 3,16 222,2 2,47 222,5 2,57 222,9 2,89 223,1
 
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'George Udny Yule' @ 72.249.76.132


Multiple Linear Regression - Estimated Regression Equation
Xt[t] = + 2.01280333512101 + 0.000841977464621676Yt[t] + e[t]


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


Multiple Linear Regression - Regression Statistics
Multiple R0.0110327518319245
R-squared0.000121721612984833
Adjusted R-squared-0.0141622537925439
F-TEST (value)0.00852155016576963
F-TEST (DF numerator)1
F-TEST (DF denominator)70
p-value0.92671364427681
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.641553958466168
Sum Squared Residuals28.8114037136526


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
11.792.17690474297577-0.386904742975770
21.952.17740992945455-0.227409929454546
32.262.177830918186860.0821690818131422
42.042.17799931367978-0.137999313679782
52.162.17799931367978-0.0179993136797817
62.752.177999313679780.572000686320218
72.792.177999313679780.612000686320218
82.882.178672895651480.70132710434852
93.362.179262279876711.18073772012329
102.972.17951487311610.7904851268839
113.12.179683268609030.920316731390975
122.492.179935861848410.310064138151588
132.22.180020059594870.0199799404051263
142.252.180777839313030.0692221606869666
152.092.18119882804534-0.0911988280453444
162.792.182293398749350.607706601250648
173.142.183051178467510.956948821532488
182.932.183640562692750.746359437307253
192.652.184145749171520.46585425082848
202.672.184145749171520.48585425082848
212.262.184566737903830.0754332620961688
222.352.184650935650290.165349064349707
232.132.18481933114322-0.0548193311432177
242.182.18498772663614-0.00498772663614171
252.92.185240319875530.714759680124472
262.632.185492913114910.444507086885085
272.672.185998099593690.484001900406312
281.812.18667168156539-0.376671681565385
291.332.18700847255123-0.857008472551234
300.882.18717686804416-1.30717686804416
311.282.18776625226939-0.907766252269393
321.262.18793464776232-0.927934647762318
331.262.18835563649463-0.928355636494629
341.292.18843983424109-0.89843983424109
351.12.18877662522694-1.08877662522694
361.372.1888608229734-0.818860822973401
371.212.18936600945217-0.979366009452175
381.742.18945020719864-0.449450207198637
391.762.1895344049451-0.429534404945099
401.482.18961860269156-0.709618602691561
411.042.19029218466326-1.15029218466326
421.622.19079737114203-0.570797371142031
431.492.19104996438142-0.701049964381418
441.792.19130255762080-0.401302557620805
451.82.19147095311373-0.391470953113729
461.582.19163934860665-0.611639348606653
471.862.19206033733896-0.332060337338964
481.742.19248132607127-0.452481326071275
491.592.19273391931066-0.602733919310661
501.262.19298651255005-0.932986512550048
511.132.19323910578943-1.06323910578943
521.922.19366009452175-0.273660094521745
532.612.193828490014670.41617150998533
542.262.194586269732830.0654137302671707
552.412.195007258465140.214992741534860
562.262.195428247197450.064571752802549
572.032.19568084043684-0.165680840436837
582.862.195933433676220.664066566323776
592.552.196270224662070.353729775337927
602.272.196438620155000.0735613798450032
612.262.196859608887310.0631403911126922
622.572.197112202126690.372887797873306
633.072.197448993112540.872551006887457
642.762.198375168323630.561624831676373
652.512.198796157055940.311203842944062
662.872.19888035480240.6711196451976
673.142.199553936774100.940446063225903
683.112.199722332267020.910277667732979
693.162.199890727759950.960109272240055
702.472.200143320999330.269856679000668
712.572.200480111985180.369519888014819
722.892.200648507478110.689351492521895


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.006891756318622230.01378351263724450.993108243681378
60.04564824871107250.0912964974221450.954351751288927
70.04476674073409020.08953348146818030.95523325926591
80.01862592716289860.03725185432579730.981374072837101
90.008713841235461740.01742768247092350.991286158764538
100.008921157011632840.01784231402326570.991078842988367
110.005630785557560710.01126157111512140.99436921444244
120.02712929497584980.05425858995169960.97287070502415
130.07204446548715940.1440889309743190.92795553451284
140.1036177093036200.2072354186072410.89638229069638
150.1254070778300780.2508141556601550.874592922169922
160.09989797604360060.1997959520872010.9001020239564
170.1053692633567210.2107385267134420.894630736643279
180.1021003297193230.2042006594386460.897899670280677
190.1048893879506330.2097787759012660.895110612049367
200.1103230175421940.2206460350843870.889676982457806
210.1382022106408060.2764044212816120.861797789359194
220.1523543012820790.3047086025641590.84764569871792
230.1795778759113100.3591557518226200.82042212408869
240.2000680447999750.4001360895999510.799931955200025
250.3929901254153280.7859802508306560.607009874584672
260.6271202861852470.7457594276295070.372879713814753
270.9331719412776110.1336561174447770.0668280587223886
280.9841629658987830.03167406820243330.0158370341012167
290.9966798185795650.006640362840869960.00332018142043498
300.9996126796462470.0007746407075060620.000387320353753031
310.999705205973350.0005895880532980990.000294794026649050
320.9997118308936010.00057633821279790.00028816910639895
330.999647001162420.0007059976751606940.000352998837580347
340.9995080953928730.0009838092142538360.000491904607126918
350.9994208592261850.001158281547630200.000579140773815098
360.9990378143763030.001924371247394060.000962185623697031
370.9985626543834620.002874691233076180.00143734561653809
380.9982271924738590.003545615052282170.00177280752614109
390.9980608394192260.003878321161548430.00193916058077421
400.9968520773542680.006295845291463860.00314792264573193
410.9968264628716750.006347074256650150.00317353712832508
420.9947769199092710.01044616018145760.00522308009072879
430.991392629137260.01721474172548200.00860737086274099
440.9880694329773960.0238611340452080.011930567022604
450.9836948823985370.03261023520292700.0163051176014635
460.974597158791580.05080568241684010.0254028412084200
470.9667300519260950.06653989614781050.0332699480739053
480.9520121870575160.09597562588496710.0479878129424836
490.9340809325678270.1318381348643450.0659190674321727
500.9526534540297840.09469309194043280.0473465459702164
510.993520104179630.01295979164073850.00647989582036924
520.9933980019443540.0132039961112920.006601998055646
530.9962775688173020.007444862365396270.00372243118269813
540.9946630227951740.01067395440965130.00533697720482565
550.9928210832365170.01435783352696590.00717891676348297
560.9893945258724450.02121094825510950.0106054741275547
570.9914010953626860.01719780927462770.00859890463731386
580.993484769504960.01303046099008190.00651523049504093
590.9890845408410440.02183091831791210.0109154591589560
600.9844883686484340.03102326270313240.0155116313515662
610.9870483605754890.02590327884902250.0129516394245113
620.983532410160130.03293517967974110.0164675898398705
630.97525274829820.04949450340359940.0247472517017997
640.9512999156499710.09740016870005750.0487000843500288
650.9569039543308320.08619209133833570.0430960456691678
660.9470392324782290.1059215350435430.0529607675217715
670.873548718821970.252902562356060.12645128117803


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level140.222222222222222NOK
5% type I error level360.571428571428571NOK
10% type I error level450.714285714285714NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/03/t1291415635d6s1hqi78rtjaor/10ns4i1291415732.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/03/t1291415635d6s1hqi78rtjaor/10ns4i1291415732.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/03/t1291415635d6s1hqi78rtjaor/1g9po1291415732.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/03/t1291415635d6s1hqi78rtjaor/1g9po1291415732.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/03/t1291415635d6s1hqi78rtjaor/2g9po1291415732.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/03/t1291415635d6s1hqi78rtjaor/2g9po1291415732.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/03/t1291415635d6s1hqi78rtjaor/3g9po1291415732.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/03/t1291415635d6s1hqi78rtjaor/3g9po1291415732.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/03/t1291415635d6s1hqi78rtjaor/49i791291415732.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/03/t1291415635d6s1hqi78rtjaor/49i791291415732.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/03/t1291415635d6s1hqi78rtjaor/59i791291415732.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/03/t1291415635d6s1hqi78rtjaor/59i791291415732.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/03/t1291415635d6s1hqi78rtjaor/69i791291415732.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/03/t1291415635d6s1hqi78rtjaor/69i791291415732.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/03/t1291415635d6s1hqi78rtjaor/71aou1291415732.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/03/t1291415635d6s1hqi78rtjaor/71aou1291415732.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/03/t1291415635d6s1hqi78rtjaor/8cj5x1291415732.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/03/t1291415635d6s1hqi78rtjaor/8cj5x1291415732.ps (open in new window)


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