Home » date » 2010 » Dec » 17 »

MRLM 4

*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, 17 Dec 2010 19:28:52 +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/17/t1292614211hu9coxl6kuvkngv.htm/, Retrieved Fri, 17 Dec 2010 20:30:22 +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/17/t1292614211hu9coxl6kuvkngv.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 216234,00 627 2 213586,00 696 3 209465,00 825 4 204045,00 677 5 200237,00 656 6 203666,00 785 7 241476,00 412 8 260307,00 352 9 243324,00 839 10 244460,00 729 11 233575,00 696 12 237217,00 641 1 235243,00 695 2 230354,00 638 3 227184,00 762 4 221678,00 635 5 217142,00 721 6 219452,00 854 7 256446,00 418 8 265845,00 367 9 248624,00 824 10 241114,00 687 11 229245,00 601 12 231805,00 676 1 219277,00 740 2 219313,00 691 3 212610,00 683 4 214771,00 594 5 211142,00 729 6 211457,00 731 7 240048,00 386 8 240636,00 331 9 230580,00 707 10 208795,00 715 11 197922,00 657 12 194596,00 653 1 194581,00 642 2 185686,00 643 3 178106,00 718 4 172608,00 654 5 167302,00 632 6 168053,00 731 7 202300,00 392 8 202388,00 344 9 182516,00 792 10 173476,00 852 11 166444,00 649 12 171297,00 629 1 169701,00 685 2 164182,00 617 3 161914,00 715 4 159612,00 715 5 151001,00 629 6 158114,00 916 7 186530,00 531 8 187069,00 357 9 174330,00 917 10 169362,00 828 11 166827,00 708 12 1780 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 time7 seconds
R Server'George Udny Yule' @ 72.249.76.132


Multiple Linear Regression - Estimated Regression Equation
werklozen[t] = + 243874.214772576 + 1987.33178070898month[t] -34.9130537947866faillissementen[t] -768.694615234996t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)243874.21477257612484.70929719.533800
month1987.33178070898746.8164712.66110.009710.004855
faillissementen-34.913053794786616.831543-2.07430.0418430.020922
t-768.694615234996127.636776-6.022500


Multiple Linear Regression - Regression Statistics
Multiple R0.659881280806462
R-squared0.435443304758776
Adjusted R-squared0.410536391733428
F-TEST (value)17.4828291372608
F-TEST (DF numerator)3
F-TEST (DF denominator)68
p-value1.61545887777947e-08
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation21531.3661705891
Sum Squared Residuals31524781583.6951


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1216234223202.367208719-6968.36720871884
2213586222012.003662353-8426.00366235274
3209465218726.856888299-9261.85688829924
4204045225112.626015402-21067.6260154017
5200237227064.437310566-26827.4373105662
6203666223779.290536513-20113.2905365127
7241476238020.4967674423455.50323255793
8260307241333.91716060318973.0828393968
9243324225549.89712801617774.1028719838
10244460230608.97021091713851.0297890833
11233575232979.738151619595.261848381402
12237217236118.5932758061098.40672419415
13235243211603.94416785423639.0558321464
14230354214812.62539963015541.3746003696
15227184211702.04389455115481.9561054491
16221678217354.6388919634323.36110803725
17217142215570.7534310851571.24656891491
18219452212145.9544418527306.04555814755
19256446228586.68306185327859.3169381466
20265845231585.88597086134259.1140291385
21248624216849.25755211831774.742447882
22241114222850.98308747818263.0169125223
23229245227072.1428793032172.85712069663
24231805225672.3010101686132.69898983164
25219277200808.52136426818468.4786357317
26219313203737.89816568715575.1018343132
27212610205235.8397615197374.16023848095
28214771209561.7387147295209.26128527096
29211142206067.1136179075074.88638209317
30211457207215.9246757914241.07532420876
31240048220479.56540046719568.4345995334
32240636223618.42052465417017.5794753462
33230580211709.74946328818870.2505367119
34208795212649.082198404-3854.08219840376
35197922215892.676483975-17970.6764839754
36194596217250.965864628-22654.9658646285
37194581195005.665253337-424.66525333738
38185686196189.389365017-10503.3893650166
39178106194789.547495882-16683.5474958816
40172608198242.620104222-25634.6201042219
41167302200229.344453181-32927.3444531812
42168053197991.589292971-29938.5892929713
43202300211045.751694878-8745.75169487792
44202388213940.215442502-11552.2154425017
45182516199517.804507911-17001.8045079113
46173476198641.658445698-25165.6584456980
47166444206947.645531514-40503.6455315137
48171297208864.543772883-37567.5437728834
49169701184280.068557342-14579.0685573416
50164182187872.793380861-23690.7933808611
51161914185669.951274446-23755.9512744460
52159612186888.58843992-27276.5884399199
53151001191109.748231746-40108.7482317456
54158114182308.338958116-24194.3389581158
55186530196968.501834583-10438.5018345826
56187069204262.010360349-17193.0103603495
57174330185929.337400743-11599.3374007430
58169362190255.236353953-20893.2363539530
59166827195663.439974801-28836.4399748013
60178037191645.119071057-13608.1190710573
61186413171913.55833299114499.4416670091
62189226172783.06496051716442.9350394830
63191563166285.91723734325277.0827626569
64188906175080.68707628613825.3129237142
65186005178219.5422004737785.45779952697
66195309173433.13411324421875.8658867563
67223532187709.25339796835822.7466020321
68226899193990.28336368632908.7166363141
69214126174121.43603710940004.5639628912
70206903180577.03127180126325.9687281992
71204442180015.10269374124426.8973062594
72220375185074.17577664135300.8242233588


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
70.1628969782878160.3257939565756310.837103021712184
80.1353088859717230.2706177719434470.864691114028277
90.2564528679892770.5129057359785550.743547132010723
100.1603034913296540.3206069826593080.839696508670346
110.1128933005524280.2257866011048560.887106699447572
120.07744079641289130.1548815928257830.922559203587109
130.04377728214291830.08755456428583660.956222717857082
140.02702921681399740.05405843362799490.972970783186003
150.01466055323209280.02932110646418560.985339446767907
160.01433424560809280.02866849121618570.985665754391907
170.01216223804570110.02432447609140220.987837761954299
180.006658620431250930.01331724086250190.99334137956875
190.003989642660354960.007979285320709920.996010357339645
200.002949590496808180.005899180993616360.997050409503192
210.002826382511862300.005652765023724610.997173617488138
220.002126817760195250.00425363552039050.997873182239805
230.004927568487346290.009855136974692590.995072431512654
240.005238359732128560.01047671946425710.994761640267871
250.003949816657595840.007899633315191670.996050183342404
260.003366278065315310.006732556130630620.996633721934685
270.003677439928941160.007354879857882310.996322560071059
280.004628292022193190.009256584044386380.995371707977807
290.004814187080840840.009628374161681680.99518581291916
300.005326337714148410.01065267542829680.994673662285852
310.007545786399017710.01509157279803540.992454213600982
320.01469138255100920.02938276510201840.98530861744899
330.04171946085332980.08343892170665950.95828053914667
340.09982537989751220.1996507597950240.900174620102488
350.2466529251593340.4933058503186690.753347074840666
360.4379982686642430.8759965373284870.562001731335757
370.5486137731924870.9027724536150250.451386226807513
380.6440242707842620.7119514584314760.355975729215738
390.7189156740152490.5621686519695020.281084325984751
400.7772075214262670.4455849571474660.222792478573733
410.821201173805630.3575976523887390.178798826194370
420.829164559875190.341670880249620.17083544012481
430.896568030165740.2068639396685190.103431969834259
440.9614393837262970.07712123254740540.0385606162737027
450.988093432864810.02381313427038110.0119065671351905
460.9966911353030330.00661772939393460.0033088646969673
470.9977909859984040.004418028003191850.00220901400159593
480.9992480040463530.001503991907294640.000751995953647321
490.9994567347525280.001086530494944820.00054326524747241
500.9990711538574820.001857692285036240.000928846142518119
510.9983790591933040.003241881613392340.00162094080669617
520.9967600293571110.006479941285777650.00323997064288883
530.9981699517599960.003660096480008270.00183004824000414
540.9961152782394910.007769443521017560.00388472176050878
550.9956304602599180.008739079480163520.00436953974008176
560.9918776843389650.01624463132206970.00812231566103484
570.992251937842790.01549612431442010.00774806215721003
580.9842850586593050.03142988268139060.0157149413406953
590.9804772037240580.03904559255188430.0195227962759421
600.961392842140150.07721431571970110.0386071578598506
610.9417720016271650.1164559967456710.0582279983728353
620.907082504520560.1858349909588820.092917495479441
630.909114726227750.1817705475444990.0908852737722493
640.8317106022948550.3365787954102900.168289397705145
650.866746971363380.2665060572732410.133253028636620


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level200.338983050847458NOK
5% type I error level330.559322033898305NOK
10% type I error level380.64406779661017NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/17/t1292614211hu9coxl6kuvkngv/1039yh1292614124.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/17/t1292614211hu9coxl6kuvkngv/1039yh1292614124.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/17/t1292614211hu9coxl6kuvkngv/1w8jo1292614124.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/17/t1292614211hu9coxl6kuvkngv/1w8jo1292614124.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/17/t1292614211hu9coxl6kuvkngv/27z081292614124.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/17/t1292614211hu9coxl6kuvkngv/27z081292614124.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/17/t1292614211hu9coxl6kuvkngv/37z081292614124.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/17/t1292614211hu9coxl6kuvkngv/37z081292614124.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/17/t1292614211hu9coxl6kuvkngv/47z081292614124.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/17/t1292614211hu9coxl6kuvkngv/47z081292614124.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/17/t1292614211hu9coxl6kuvkngv/5i9ic1292614124.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/17/t1292614211hu9coxl6kuvkngv/5i9ic1292614124.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/17/t1292614211hu9coxl6kuvkngv/6i9ic1292614124.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/17/t1292614211hu9coxl6kuvkngv/6i9ic1292614124.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/17/t1292614211hu9coxl6kuvkngv/7bizf1292614124.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/17/t1292614211hu9coxl6kuvkngv/7bizf1292614124.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/17/t1292614211hu9coxl6kuvkngv/8bizf1292614124.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/17/t1292614211hu9coxl6kuvkngv/8bizf1292614124.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/17/t1292614211hu9coxl6kuvkngv/939yh1292614124.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/17/t1292614211hu9coxl6kuvkngv/939yh1292614124.ps (open in new window)


 
Parameters (Session):
par1 = 2 ; par2 = Do not include Seasonal Dummies ; par3 = Linear Trend ;
 
Parameters (R input):
par1 = 2 ; par2 = Do not include Seasonal 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