Home » date » 2009 » Dec » 19 »

Multiple Regression 1xlag9

*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, 19 Dec 2009 15:25:18 -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/19/t1261261601j61qtb4013b2bpc.htm/, Retrieved Sat, 19 Dec 2009 23:26:53 +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/19/t1261261601j61qtb4013b2bpc.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:
kvn paper
 
Dataseries X:
» Textbox « » Textfile « » CSV «
9605 3024 9487 8640 1887 8700 9214 2070 9627 9567 1351 8947 8547 2218 9283 9185 2461 8829 9470 3028 9947 9123 4784 9628 9278 4975 9318 10170 4607 9605 9434 6249 8640 9655 4809 9214 9429 3157 9567 8739 1910 8547 9552 2228 9185 9784 1594 9470 9089 2467 9123 9763 2222 9278 9330 3607 10170 9144 4685 9434 9895 4962 9655 10404 5770 9429 10195 5480 8739 9987 5000 9552 9789 3228 9784 9437 1993 9089 10096 2288 9763 9776 1580 9330 9106 2111 9144 10258 2192 9895 9766 3601 10404 9826 4665 10195 9957 4876 9987 10036 5813 9789 10508 5589 9437 10146 5331 10096 10166 3075 9776 9365 2002 9106 9968 2306 10258 10123 1507 9766 9144 1992 9826 10447 2487 9957 9699 3490 10036 10451 4647 10508 10192 5594 10146 10404 5611 10166 10597 5788 9365 10633 6204 9968 10727 3013 10123 9784 1931 9144 9667 2549 10447 10297 1504 9699 9426 2090 10451 10274 2702 10192 9598 2939 10404 10400 4500 10597 9985 6208 10633 10761 6415 10727 11081 5657 9784 10297 5964 9667 10751 3163 10297 9760 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 time4 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 8102.07795549649 -0.242111708219858X[t] + 0.294090165163183Y9[t] -601.166495294743M1[t] -1457.90238078569M2[t] -1173.69107251394M3[t] -926.983178052489M4[t] -1726.24499265077M5[t] -840.679042781025M6[t] -1061.93051395988M7[t] -578.819575933422M8[t] -315.3129403144M9[t] + 251.173734798207M10[t] + 471.831776534164M11[t] + 13.4944539023085t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)8102.077955496491127.4728597.186100
X-0.2421117082198580.072502-3.33940.0014470.000724
Y90.2940901651631830.1195472.460.016790.008395
M1-601.166495294743208.800184-2.87910.0055190.00276
M2-1457.90238078569283.081064-5.15013e-062e-06
M3-1173.69107251394260.035373-4.51363e-051.5e-05
M4-926.983178052489309.354509-2.99650.0039670.001983
M5-1726.24499265077266.022189-6.489100
M6-840.679042781025248.843876-3.37830.0012860.000643
M7-1061.93051395988214.382506-4.95346e-063e-06
M8-578.819575933422156.019021-3.70990.0004550.000228
M9-315.3129403144138.117916-2.28290.0259920.012996
M10251.173734798207139.9334771.7950.0776990.038849
M11471.831776534164155.9473123.02560.0036510.001825
t13.49445390230852.4167025.58381e-060


Multiple Linear Regression - Regression Statistics
Multiple R0.933000835040473
R-squared0.87049055818622
Adjusted R-squared0.840271688429672
F-TEST (value)28.8061917999954
F-TEST (DF numerator)14
F-TEST (DF denominator)60
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation231.462914307378
Sum Squared Residuals3214504.84197987


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
196059572.2935053503432.7064946496555
286408772.88412602424-132.884126024241
392149298.90502870034-84.9050287003371
495679533.204382963233.7956170367939
585478636.34046673544-89.3404667354413
691859343.05079042599-158.050790425990
794709326.80923924122143.190760758780
891239304.45170884886-181.451708848865
992789444.04151089961-166.041510899614
101017010197.5236259413-27.5236259412705
1194349750.33168730006-316.331687300058
1296559809.44297930847-154.442979308465
1394299725.55330819784-296.55330819784
1487398884.25320829292-145.253208292919
1595529292.59697262717259.403027372826
1697849790.11384107383-6.11384107382797
1790898690.93367179029398.06632820971
1897639694.895419676568.1045803234928
1993309414.14211384102-84.1421138410144
2091449433.30072274867-289.300722748674
2198959708.23079559417186.769204405833
221040410026.1212870406377.878712959442
231019510127.563964100067.4360359000147
24998710024.5355656913-37.5355656913302
2597899934.11438958234-145.114389582343
2694379185.48825285682251.511747143182
27100969609.987832426486.012167573995
2897769914.26422869376-138.264228693762
2991068945.23478021269160.765219787312
301025810045.5458496565212.454150343511
3197669646.34532956622119.654670433779
3298269823.879019429952.1209805700446
3399579988.62378416295-31.6237841629539
341003610283.5163898736-247.516389873552
351050810468.382170015639.6178299843749
361014610266.3150869470-120.315086947031
371016610130.738206446435.2617935536225
3893659350.2422271183114.7577728816851
3999689913.1379002615254.8620997384746
401012310222.0951422327-99.0951422326619
4191449336.54901295984-192.549012959845
421044710154.2899327995292.710067200549
4396999726.92799522628-27.9279952262751
441045110082.2206987017368.779301298309
451019210023.4813607497168.518639250256
461040410605.2283940282-201.228394028185
471059710560.960895015836.0391049841739
481063310179.2414713579453.758528642090
491072710409.7318664953317.268133504665
5097849540.54103150583243.458968494172
51966710071.8212432076-404.821243207643
521029710365.0508831191-68.0508831190898
5394269658.5618656090-232.56186560899
541027410333.2805511732-59.280551173231
55959810130.4901740632-532.49017406317
561040010305.918591337294.0814086627643
57998510179.9801291649-194.980129164924
581076110737.488610103723.5113898963325
591108110877.8347548237203.165245176297
601029710310.7605884443-13.7605884442593
611075110586.5202458285164.479754171547
6297609769.42853216704-9.42853216703677
631013310213.6252784060-80.6252784060365
641080610528.2715219175277.728478082548
6597349778.38020269275-44.3802026927457
661008310438.9374562683-355.937456268331
671069110309.2851480621381.7148519379
681044610440.22925893365.77074106642149
691051710479.642419428637.3575805714029
701135311278.121693012874.8783069872328
711043610465.9265287448-29.9265287448018
721072110848.704308251-127.704308251004
731070110809.0484780993-108.048478099307
74979310015.1626220348-222.162622034843
751014210371.9257443713-229.925744371279


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
180.6343415708672430.7313168582655140.365658429132757
190.4847605459504670.9695210919009340.515239454049533
200.5028480887045780.9943038225908440.497151911295422
210.4764385657505880.9528771315011760.523561434249412
220.4836940526127750.967388105225550.516305947387225
230.4362379812426630.8724759624853260.563762018757337
240.3371269124038710.6742538248077420.662873087596129
250.3002948474577020.6005896949154030.699705152542298
260.2846902906372750.5693805812745500.715309709362725
270.3325254715670210.6650509431340410.66747452843298
280.3875850225895860.7751700451791710.612414977410414
290.3539325565702700.7078651131405410.64606744342973
300.2910073787878030.5820147575756060.708992621212197
310.2279059922365480.4558119844730950.772094007763452
320.1760767562544180.3521535125088360.823923243745582
330.1482163104042490.2964326208084970.851783689595751
340.2692634302629080.5385268605258160.730736569737092
350.2054319553275250.4108639106550510.794568044672475
360.1814601597283130.3629203194566260.818539840271687
370.1404187991806440.2808375983612870.859581200819357
380.1063253415438250.2126506830876500.893674658456175
390.1029059138758610.2058118277517220.897094086124139
400.09306444790315340.1861288958063070.906935552096847
410.1258899619359030.2517799238718070.874110038064097
420.1407282805598830.2814565611197660.859271719440117
430.1077543352134740.2155086704269490.892245664786526
440.1369905776050910.2739811552101820.863009422394909
450.105974767926010.211949535852020.89402523207399
460.1221961743943220.2443923487886430.877803825605678
470.0899829995123960.1799659990247920.910017000487604
480.1987567584876610.3975135169753220.801243241512339
490.1800129853999250.360025970799850.819987014600075
500.1825526139985590.3651052279971190.81744738600144
510.2580159990251250.516031998050250.741984000974875
520.2293517036647530.4587034073295060.770648296335247
530.1929537564455170.3859075128910330.807046243554483
540.1581906358174460.3163812716348910.841809364182554
550.987362162073520.0252756758529590.0126378379264795
560.9865587852525630.02688242949487420.0134412147474371
570.9873374362363230.02532512752735320.0126625637636766


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level30.075NOK
10% type I error level30.075OK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261261601j61qtb4013b2bpc/10bew21261261513.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261261601j61qtb4013b2bpc/10bew21261261513.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/19/t1261261601j61qtb4013b2bpc/1xm0i1261261513.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261261601j61qtb4013b2bpc/1xm0i1261261513.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/19/t1261261601j61qtb4013b2bpc/2hqvd1261261513.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261261601j61qtb4013b2bpc/2hqvd1261261513.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/19/t1261261601j61qtb4013b2bpc/33lsu1261261513.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261261601j61qtb4013b2bpc/33lsu1261261513.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/19/t1261261601j61qtb4013b2bpc/499vc1261261513.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261261601j61qtb4013b2bpc/499vc1261261513.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/19/t1261261601j61qtb4013b2bpc/5jew91261261513.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261261601j61qtb4013b2bpc/5jew91261261513.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/19/t1261261601j61qtb4013b2bpc/6gafc1261261513.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261261601j61qtb4013b2bpc/6gafc1261261513.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/19/t1261261601j61qtb4013b2bpc/72udy1261261513.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261261601j61qtb4013b2bpc/72udy1261261513.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/19/t1261261601j61qtb4013b2bpc/82x2k1261261513.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261261601j61qtb4013b2bpc/82x2k1261261513.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/19/t1261261601j61qtb4013b2bpc/95q5m1261261513.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261261601j61qtb4013b2bpc/95q5m1261261513.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