Home » date » 2009 » Dec » 15 »

*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 07:48:29 -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/t1260888622d8x6y1ryddttmqy.htm/, Retrieved Tue, 15 Dec 2009 15:50:37 +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/t1260888622d8x6y1ryddttmqy.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 «
2350.44 27 2440.25 29 2408.64 27 2472.81 26 2407.6 24 2454.62 30 2448.05 26 2497.84 28 2645.64 28 2756.76 24 2849.27 23 2921.44 24 2981.85 24 3080.58 27 3106.22 28 3119.31 25 3061.26 19 3097.31 19 3161.69 19 3257.16 20 3277.01 16 3295.32 22 3363.99 21 3494.17 25 3667.03 29 3813.06 28 3917.96 25 3895.51 26 3801.06 24 3570.12 28 3701.61 28 3862.27 28 3970.1 28 4138.52 32 4199.75 31 4290.89 22 4443.91 29 4502.64 31 4356.98 29 4591.27 32 4696.96 32 4621.4 31 4562.84 29 4202.52 28 4296.49 28 4435.23 29 4105.18 22 4116.68 26 3844.49 24 3720.98 27 3674.4 27 3857.62 23 3801.06 21 3504.37 19 3032.6 17 3047.03 19 2962.34 21 2197.82 13 2014.45 8 1862.83 5 1905.41 10 1810.99 6 1670.07 6 1864.44 8 2052.02 11 2029.6 12 2070.83 13 2293.41 19 2443.27 19 2513.17 18 2466.92 20
 
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
Y[t] = + 1230.71723607144 + 87.5267609364537X[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)1230.71723607144247.9592354.96345e-062e-06
X87.526760936453710.3976958.417900


Multiple Linear Regression - Regression Statistics
Multiple R0.711795769190165
R-squared0.506653217037018
Adjusted R-squared0.499503263660743
F-TEST (value)70.8610518661828
F-TEST (DF numerator)1
F-TEST (DF denominator)69
p-value3.44013706410351e-12
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation599.406650706703
Sum Squared Residuals24790894.9708885


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
12350.443593.93978135569-1243.49978135568
22440.253768.99330322859-1328.74330322859
32408.643593.93978135569-1185.29978135569
42472.813506.41302041923-1033.60302041923
52407.63331.35949854633-923.759498546327
62454.623856.52006416505-1401.90006416505
72448.053506.41302041923-1058.36302041923
82497.843681.46654229214-1183.62654229214
92645.643681.46654229214-1035.82654229214
102756.763331.35949854633-574.599498546327
112849.273243.83273760987-394.562737609873
122921.443331.35949854633-409.919498546327
132981.853331.35949854633-349.509498546327
143080.583593.93978135569-513.359781355688
153106.223681.46654229214-575.246542292142
163119.313418.88625948278-299.576259482781
173061.262893.72569386406167.534306135942
183097.312893.72569386406203.584306135942
193161.692893.72569386406267.964306135942
203257.162981.25245480051275.907545199488
213277.012631.14541105470645.864588945303
223295.323156.30597667342139.014023326581
233363.993068.77921573697295.210784263034
243494.173418.8862594827875.2837405172194
253667.033768.99330322860-101.963303228595
263813.063681.46654229214131.593457707858
273917.963418.88625948278499.07374051722
283895.513506.41302041923389.096979580766
293801.063331.35949854633469.700501453673
303570.123681.46654229214-111.346542292142
313701.613681.4665422921420.1434577078583
323862.273681.46654229214180.803457707858
333970.13681.46654229214288.633457707858
344138.524031.57358603796106.946413962044
354199.753944.0468251015255.703174898497
364290.893156.305976673421134.58402332658
374443.913768.99330322860674.916696771404
384502.643944.0468251015558.593174898497
394356.983768.99330322860587.986696771404
404591.274031.57358603796559.696413962044
414696.964031.57358603796665.386413962043
424621.43944.0468251015677.353174898497
434562.843768.99330322860793.846696771405
444202.523681.46654229214521.053457707859
454296.493681.46654229214615.023457707858
464435.233768.99330322860666.236696771404
474105.183156.30597667342948.87402332658
484116.683506.41302041923610.266979580766
493844.493331.35949854633513.130501453673
503720.983593.93978135569127.040218644312
513674.43593.9397813556980.460218644312
523857.623243.83273760987613.787262390127
533801.063068.77921573697732.280784263034
543504.372893.72569386406610.644306135942
553032.62718.67217199115313.927828008849
563047.032893.72569386406153.304306135942
572962.343068.77921573697-106.439215736966
582197.822368.56512824534-170.745128245336
592014.451930.9313235630783.5186764369328
601862.831668.35104075371194.478959246294
611905.412105.98484543597-200.574845435975
621810.991755.8778016901655.1121983098401
631670.071755.87780169016-85.80780169016
641864.441930.93132356307-66.4913235630672
652052.022193.51160637243-141.491606372429
662029.62281.03836730888-251.438367308882
672070.832368.56512824534-297.735128245336
682293.412893.72569386406-600.315693864058
692443.272893.72569386406-450.455693864058
702513.172806.19893292760-293.028932927605
712466.922981.25245480051-514.332454800512


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.001391298209869840.002782596419739680.99860870179013
60.0001730310916822790.0003460621833645570.999826968908318
72.26955247597573e-054.53910495195146e-050.99997730447524
88.00560019473845e-061.60112003894769e-050.999991994399805
90.0001156032717718060.0002312065435436120.999884396728228
100.0008981815162086450.001796363032417290.999101818483791
110.001413911388218100.002827822776436210.998586088611782
120.002536520043153250.005073040086306490.997463479956847
130.003963848025381810.007927696050763620.996036151974618
140.03308131286899580.06616262573799160.966918687131004
150.1345747868124950.2691495736249910.865425213187505
160.1859403092675980.3718806185351960.814059690732402
170.1322055561384170.2644111122768350.867794443861583
180.09143105688433920.1828621137686780.90856894311566
190.0630440254147470.1260880508294940.936955974585253
200.04924014715057610.09848029430115230.950759852849424
210.04005430264508050.0801086052901610.95994569735492
220.04239391692536810.08478783385073620.957606083074632
230.0419118331803750.083823666360750.958088166819625
240.1225046970377210.2450093940754410.877495302962279
250.4999135134704860.9998270269409720.500086486529514
260.7690640569885650.4618718860228690.230935943011435
270.8806122544662080.2387754910675840.119387745533792
280.9308041897142620.1383916205714760.0691958102857382
290.943981407864770.1120371842704600.0560185921352301
300.9582185357382740.08356292852345190.0417814642617259
310.9683027026052660.06339459478946820.0316972973947341
320.9759871642675290.04802567146494260.0240128357324713
330.9814356585972740.03712868280545260.0185643414027263
340.9903640415022090.01927191699558180.00963595849779088
350.9932597608973160.01348047820536740.00674023910268372
360.9988703573485880.002259285302823750.00112964265141188
370.9992360606412060.001527878717588530.000763939358794263
380.9993314856022020.001337028795595480.000668514397797741
390.9992668146432750.001466370713448940.000733185356724468
400.999186831889830.001626336220341280.00081316811017064
410.9990859002020960.001828199595807550.000914099797903774
420.9988784396798270.002243120640345460.00112156032017273
430.9988805080626420.002238983874716490.00111949193735824
440.998263390898890.003473218202219450.00173660910110972
450.9976249586192270.004750082761546140.00237504138077307
460.9970214337281350.005957132543729430.00297856627186471
470.9989413199036120.002117360192776440.00105868009638822
480.998858928956190.002282142087618290.00114107104380915
490.9986606717498930.002678656500213450.00133932825010673
500.997369239508440.005261520983121270.00263076049156064
510.9949706363858640.01005872722827260.00502936361413628
520.9964322205478170.007135558904365130.00356777945218256
530.9993648381870620.001270323625876880.000635161812938438
540.9999642113313837.15773372341817e-053.57886686170908e-05
550.9999943191447781.13617104443095e-055.68085522215477e-06
560.9999996920006316.159987383117e-073.0799936915585e-07
570.9999999940447881.19104242687244e-085.95521213436222e-09
580.9999999681644166.36711686589598e-083.18355843294799e-08
590.9999999152600161.69479968359174e-078.4739984179587e-08
600.9999998706292.58742002736166e-071.29371001368083e-07
610.9999991023021981.79539560418813e-068.97697802094066e-07
620.9999950963586039.80728279384703e-064.90364139692352e-06
630.9999715419689125.69160621756804e-052.84580310878402e-05
640.9997800036154940.0004399927690128730.000219996384506437
650.9986529712690150.002694057461969160.00134702873098458
660.991132808289970.01773438342005870.00886719171002934


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level380.612903225806452NOK
5% type I error level440.709677419354839NOK
10% type I error level510.82258064516129NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/15/t1260888622d8x6y1ryddttmqy/10ku2i1260888504.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t1260888622d8x6y1ryddttmqy/10ku2i1260888504.ps (open in new window)


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


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


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


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


http://www.freestatistics.org/blog/date/2009/Dec/15/t1260888622d8x6y1ryddttmqy/5ce611260888504.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t1260888622d8x6y1ryddttmqy/5ce611260888504.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t1260888622d8x6y1ryddttmqy/63f911260888504.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t1260888622d8x6y1ryddttmqy/63f911260888504.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t1260888622d8x6y1ryddttmqy/7vgzu1260888504.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t1260888622d8x6y1ryddttmqy/7vgzu1260888504.ps (open in new window)


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


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


 
Parameters (Session):
 
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