Home » date » 2010 » Dec » 04 »

review ws8

*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, 04 Dec 2010 09:33:17 +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/04/t1291455087jobi48ul2jx8qtk.htm/, Retrieved Sat, 04 Dec 2010 10:31:27 +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/04/t1291455087jobi48ul2jx8qtk.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 «
9084 0 9700 9081 9743 0 9081 9084 8587 0 9084 9743 9731 0 9743 8587 9563 0 8587 9731 9998 0 9731 9563 9437 0 9563 9998 10038 0 9998 9437 9918 0 9437 10038 9252 0 10038 9918 9737 0 9918 9252 9035 0 9252 9737 9133 0 9737 9035 9487 0 9035 9133 8700 0 9133 9487 9627 0 9487 8700 8947 0 8700 9627 9283 0 9627 8947 8829 0 8947 9283 9947 0 9283 8829 9628 0 8829 9947 9318 0 9947 9628 9605 0 9628 9318 8640 0 9318 9605 9214 0 9605 8640 9567 0 8640 9214 8547 0 9214 9567 9185 0 9567 8547 9470 0 8547 9185 9123 0 9185 9470 9278 0 9470 9123 10170 0 9123 9278 9434 0 9278 10170 9655 0 10170 9434 9429 0 9434 9655 8739 0 9655 9429 9552 0 9429 8739 9687 0 8739 9552 9019 0 9552 9687 9672 0 9687 9019 9206 0 9019 9672 9069 0 9672 9206 9788 0 9206 9069 10312 0 9069 9788 10105 0 9788 10312 9863 0 10312 10105 9656 0 10105 9863 9295 0 9863 9656 9946 0 9656 9295 9701 0 9295 9946 9049 0 9946 9701 10190 0 9701 9049 9706 0 9049 10190 9765 0 10190 9706 9893 0 9706 9765 9994 0 9765 9893 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 time5 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Multiple Linear Regression - Estimated Regression Equation
Births[t] = + 5632.42646760897 + 233.327295316956x[t] + 0.184925679115300`y-1`[t] + 0.141855719535449`y-2`[t] + 485.518122007314M1[t] + 884.077057591996M2[t] -117.371735721934M3[t] + 921.654299160091M4[t] + 567.78584832305M5[t] + 616.785989141178M6[t] + 611.199861323609M7[t] + 1154.83556367848M8[t] + 916.246498776956M9[t] + 598.938676886247M10[t] + 725.272206498409M11[t] + 4.70384799637204t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)5632.426467608971521.6957853.70140.0004850.000242
x233.327295316956122.0614091.91160.0609650.030483
`y-1`0.1849256791153000.1301781.42060.1608920.080446
`y-2`0.1418557195354490.1292051.09790.2768610.13843
M1485.518122007314176.8272972.74570.0080640.004032
M2884.077057591996177.4633224.98176e-063e-06
M3-117.371735721934157.726562-0.74410.4598440.229922
M4921.654299160091196.2524074.69631.7e-059e-06
M5567.78584832305191.7117592.96170.0044550.002228
M6616.785989141178162.795023.78870.0003670.000184
M7611.199861323609159.6182773.82910.0003220.000161
M81154.83556367848157.8430797.316400
M9916.246498776956162.9942815.62131e-060
M10598.938676886247161.3985893.71090.0004710.000235
M11725.272206498409158.072794.58822.5e-051.3e-05
t4.703847996372042.453331.91730.0602120.030106


Multiple Linear Regression - Regression Statistics
Multiple R0.882356647284765
R-squared0.77855325300761
Adjusted R-squared0.720277793272771
F-TEST (value)13.3598817847191
F-TEST (DF numerator)15
F-TEST (DF denominator)57
p-value1.54876111935209e-13
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation267.664628275107
Sum Squared Residuals4083728.13409011


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
190849204.61931413246-120.619314132463
297439493.83866949976249.161330500238
385878591.13142039341-4.13142039341149
497319592.74211402581138.257885974188
595639192.08636927641370.91363072359
699989433.51357411686564.486425883143
794379463.2710182022-26.2710182022101
81003810012.472180309225.5278196907818
999189760.0989448612157.901055138809
1092529541.6126177709-289.612617770896
1197379555.98300467498181.016995325014
1290358781.05416785685253.945832143149
1391339261.38237711757-128.382377117572
1494879548.72919447416-61.7291944741601
1587008620.3238904254579.6761095745493
1696279617.877012436279.12298756373444
1789479254.67615214122-307.676152141217
1892839383.3443562115-100.344356211494
1988299304.3761363558-475.376136355804
2099479850.448218220796.5517817793093
2196289691.20143743783-63.2014374378281
2293189540.09239826259-222.092398262588
2396059568.1632111773536.8367888226475
2486408830.98048365625-190.980483656246
2592149237.38535421432-23.385354214315
2695679543.6200404624523.3799595375478
2785478703.09750395309-156.09750395309
2891859667.41331763303-482.413317633031
2994709220.12847115837249.871528841628
3091239432.24392331603-309.243923316035
3192789434.8415273639-156.841527363899
32101709940.99950359012229.000496409876
3394349862.31306877347-428.313068773467
3496559610.2569910718944.7430089281129
3594299636.5391828689-207.539182868895
3687398924.78000683633-185.780006836327
3795529275.3283268805276.671673119504
3896879666.3210918543120.6789081456868
3990198839.07124579478179.92875420522
4096729813.00647470406-141.006474704063
4192069432.94330307102-226.943303071022
4290699541.2989950443-472.298995044292
4397889434.80711517901353.192884820990
441031210059.8061098374252.193890162559
451010510033.214853252871.7851467472319
4698639788.1478012710174.8521987289898
4796569846.5764791751-190.576479175099
4892959051.89197238332243.108027616679
4999469452.62441205784493.375587942157
5097019881.47709889585-180.477098895851
5190498970.3641193961778.6358806038313
52101909876.2972817542313.702718245795
5397069568.4185121203137.581487879692
5497659764.46453255020.535467449793721
5598939682.4477114898210.552288510204
56999410259.8554090094-265.855409009376
571043310297.2954020210135.704597978978
581007310065.64358259347.35641740660755
591011210226.7952743008-114.795274300782
6092669445.18604437912-179.186044379119
6198209822.61017714131-2.61017714131218
621009710148.0139048135-51.0139048134611
6391159293.0118200371-178.011820037099
641041110248.6637994466162.336200553376
6596789901.74719223267-223.747192232672
661040810091.1346187611316.865381238885
671015310058.256491409394.7435085907183
681036810705.4185790332-337.418579033151
691058110454.8762936537126.123706346277
701059710212.2466090302384.753390969774
711068010384.9428478029295.057152197114
7297389679.1073248881358.8926751118645
73955610051.050038456-495.050038455999


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
190.7224169581326890.5551660837346220.277583041867311
200.6947572757015640.6104854485968720.305242724298436
210.5973929112437310.8052141775125370.402607088756269
220.5839222380972660.8321555238054670.416077761902734
230.4765264609634690.9530529219269390.523473539036531
240.3836829460826480.7673658921652950.616317053917352
250.5099189477509970.9801621044980060.490081052249003
260.4313908234016170.8627816468032330.568609176598383
270.3360677723548450.6721355447096890.663932227645155
280.3445185561014320.6890371122028650.655481443898568
290.4978217835781870.9956435671563730.502178216421813
300.4629611577243570.9259223154487140.537038842275643
310.4071675224648350.814335044929670.592832477535165
320.5325596604797880.9348806790404240.467440339520212
330.531612460765550.93677507846890.46838753923445
340.5640350484060480.8719299031879040.435964951593952
350.5321931769386360.9356136461227280.467806823061364
360.4652823945518280.9305647891036560.534717605448172
370.5746058581586260.8507882836827480.425394141841374
380.5132674481299860.9734651037400270.486732551870014
390.5520885458377630.8958229083244740.447911454162237
400.4684357324812620.9368714649625240.531564267518738
410.4069842182526470.8139684365052930.593015781747353
420.694465028399640.6110699432007210.305534971600361
430.7444969653575790.5110060692848420.255503034642421
440.7285284430014070.5429431139971860.271471556998593
450.661224874519980.6775502509600390.338775125480020
460.5919435907826320.8161128184347370.408056409217368
470.6349658790461980.7300682419076040.365034120953802
480.5508373401445580.8983253197108840.449162659855442
490.785905115687970.4281897686240610.214094884312031
500.6951630371459050.609673925708190.304836962854095
510.605151700201580.789696599596840.39484829979842
520.5150269006034770.9699461987930460.484973099396523
530.5820996732887380.8358006534225240.417900326711262
540.4083644864098240.8167289728196490.591635513590176


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


http://www.freestatistics.org/blog/date/2010/Dec/04/t1291455087jobi48ul2jx8qtk/1vqs71291455188.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/04/t1291455087jobi48ul2jx8qtk/1vqs71291455188.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/04/t1291455087jobi48ul2jx8qtk/2vqs71291455188.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/04/t1291455087jobi48ul2jx8qtk/2vqs71291455188.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/04/t1291455087jobi48ul2jx8qtk/3vqs71291455188.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/04/t1291455087jobi48ul2jx8qtk/3vqs71291455188.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/04/t1291455087jobi48ul2jx8qtk/46zrr1291455188.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/04/t1291455087jobi48ul2jx8qtk/46zrr1291455188.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/04/t1291455087jobi48ul2jx8qtk/56zrr1291455188.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/04/t1291455087jobi48ul2jx8qtk/56zrr1291455188.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/04/t1291455087jobi48ul2jx8qtk/66zrr1291455188.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/04/t1291455087jobi48ul2jx8qtk/66zrr1291455188.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/04/t1291455087jobi48ul2jx8qtk/7h88c1291455188.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/04/t1291455087jobi48ul2jx8qtk/7h88c1291455188.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/04/t1291455087jobi48ul2jx8qtk/82saa1291455189.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/04/t1291455087jobi48ul2jx8qtk/82saa1291455189.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/04/t1291455087jobi48ul2jx8qtk/92saa1291455189.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/04/t1291455087jobi48ul2jx8qtk/92saa1291455189.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