Home » date » 2009 » Nov » 18 »

*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: Wed, 18 Nov 2009 08:51:49 -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/Nov/18/t1258559557cmpgnyd47wn6kyk.htm/, Retrieved Wed, 18 Nov 2009 16:52:49 +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/Nov/18/t1258559557cmpgnyd47wn6kyk.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:
WS7multipleregression
 
Dataseries X:
» Textbox « » Textfile « » CSV «
7291 4071 6820 4351 8031 4871 7862 4649 7357 4922 7213 4879 7079 4853 7012 4545 7319 4733 8148 5191 7599 4983 6908 4593 7878 4656 7407 4513 7911 4857 7323 4681 7179 4897 6758 4547 6934 4692 6696 4390 7688 5341 8296 5415 7697 4890 7907 5120 7592 4422 7710 4797 9011 5689 8225 5171 7733 4265 8062 5215 7859 4874 8221 4590 8330 4994 8868 4988 9053 5110 8811 5141 8120 4395 7953 4523 8878 5306 8601 5365 8361 5496 9116 5647 9310 5443 9891 5546 10147 5912 10317 5665 10682 5963 10276 5861 10614 5366 9413 5619 11068 6721 9772 6054 10350 6619 10541 6856 10049 6193 10714 6317 10759 6618 11684 6585 11462 6852 10485 6586 11056 6154 10184 6193 11082 7606 10554 6588 11315 7143 10847 7629 11104 7041 11026 7146 11073 7200 12073 7739 12328 7953 11172 7082
 
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
R Framework
error message
Warning: there are blank lines in the 'Data X' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.


Multiple Linear Regression - Estimated Regression Equation
UivEU[t] = + 803.320507273808 + 1.47757153916225InvnietEU[t] + e[t]


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


Multiple Linear Regression - Regression Statistics
Multiple R0.923534989572788
R-squared0.85291687696521
Adjusted R-squared0.850815689493285
F-TEST (value)405.921360355144
F-TEST (DF numerator)1
F-TEST (DF denominator)70
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation611.1596633404
Sum Squared Residuals26146129.3866046


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
172916818.51424320335472.485756796653
268207232.23427416876-412.234274168764
380318000.5714745331430.4285254668565
478627672.55059283912189.449407160877
573578075.92762303042-718.927623030419
672138012.39204684644-799.392046846442
770797973.97518682822-894.975186828223
870127518.88315276625-506.883152766249
973197796.66660212875-477.666602128752
1081488473.39436706506-325.394367065065
1175998166.05948691932-567.059486919316
1269087589.80658664604-681.806586646037
1378787682.89359361326195.106406386741
1474077471.60086351306-64.6008635130567
1579117979.88547298487-68.8854729848721
1673237719.83288209232-396.832882092315
1771798038.98833455136-859.988334551362
1867587521.83829584457-763.838295844573
1969347736.0861690231-802.0861690231
2066967289.8595641961-593.859564196099
2176888695.0300979394-1007.03009793940
2282968804.37039183741-508.37039183741
2376978028.64533377723-331.645333777226
2479078368.48678778454-461.486787784545
2575927337.1418534493254.858146550709
2677107891.23118063514-181.231180635137
2790119209.22499356787-198.224993567868
2882258443.84293628182-218.84293628182
2977337105.16312180082627.836878199183
3080628508.85608400496-446.856084004959
3178598005.00418915063-146.004189150630
3282217585.37387202855635.62612797145
3383308182.3127738501147.687226149899
3488688173.44734461513694.552655384873
3590538353.71107239292699.288927607078
3688118399.51579010695411.484209893048
3781207297.24742189191822.75257810809
3879537486.37657890468466.623421095321
3988788643.31509406872234.684905931276
4086018730.4918148793-129.491814879297
4183618924.05368650955-563.053686509553
4291169147.16698892305-31.1669889230531
4393108845.74239493395464.257605066047
4498918997.93226346766893.067736532335
45101479538.72344680105608.276553198950
46103179173.763276627971143.23672337203
47106829614.079595298331067.92040470167
48102769463.36729830378812.632701696225
49106148731.969386418461882.03061358154
5094139105.7949858265307.20501417349
511106810734.0788219833333.921178016686
5297729748.538605362123.4613946379094
531035010583.3665249888-233.366524988764
541054110933.5509797702-392.550979770219
55100499953.9210493056495.078950694356
561071410137.1399201618576.860079838236
571075910581.8889534496177.111046550398
581168410533.12909265721150.87090734275
591146210927.6406936136534.35930638643
601048510534.6066641964-49.60666419641
61110569896.295759278321159.70424072168
62101849953.92104930564230.078950694356
631108212041.7296341419-959.72963414191
641055410537.561807274716.4381927252653
651131511357.6140115098-42.6140115097856
661084712075.7137795426-1228.71377954264
671110411206.9017145152-102.901714515236
681102611362.0467261273-336.046726127273
691107311441.8355892420-368.835589242034
701207312238.2466488505-165.246648850489
711232812554.4469582312-226.446958231212
721117211267.4821476209-95.4821476208884


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.3498866556044260.6997733112088530.650113344395574
60.2865049222580790.5730098445161580.713495077741921
70.2467802534622220.4935605069244440.753219746537778
80.1791949480312860.3583898960625710.820805051968714
90.1082391783042480.2164783566084960.891760821695752
100.09978975968996580.1995795193799320.900210240310034
110.06021604902473990.1204320980494800.93978395097526
120.05386415596604310.1077283119320860.946135844033957
130.05539638146747860.1107927629349570.944603618532521
140.03331659797003430.06663319594006850.966683402029966
150.02515582410861160.05031164821722320.974844175891388
160.01526549948351910.03053099896703820.98473450051648
170.01590126547927890.03180253095855780.984098734520721
180.02191503904813250.04383007809626500.978084960951867
190.02632621145707170.05265242291414330.973673788542928
200.02860479511925050.0572095902385010.97139520488075
210.03238215545667900.06476431091335790.96761784454332
220.03100011049872710.06200022099745430.968999889501273
230.02569214536838840.05138429073677690.974307854631612
240.02302785699071040.04605571398142090.97697214300929
250.02420689510430270.04841379020860530.975793104895697
260.02180700123322840.04361400246645670.978192998766772
270.03097643705621590.06195287411243190.969023562943784
280.02997381770567430.05994763541134850.970026182294326
290.04949918828504460.09899837657008930.950500811714955
300.05483622120441380.1096724424088280.945163778795586
310.05915762746714340.1183152549342870.940842372532857
320.09942354355817260.1988470871163450.900576456441827
330.1132270565838330.2264541131676670.886772943416167
340.1995486003763030.3990972007526070.800451399623697
350.2905903130855160.5811806261710310.709409686914484
360.3085229851467800.6170459702935610.69147701485322
370.3481845130717580.6963690261435170.651815486928242
380.3564513402203470.7129026804406930.643548659779653
390.363691275641350.72738255128270.63630872435865
400.4129796936926880.8259593873853760.587020306307312
410.6550518972169280.6898962055661440.344948102783072
420.7367970464524770.5264059070950460.263202953547523
430.7892137166194230.4215725667611540.210786283380577
440.830343296376570.3393134072468590.169656703623430
450.8213698959624070.3572602080751870.178630104037593
460.8535161592839160.2929676814321690.146483840716084
470.867060803799060.265878392401880.13293919620094
480.8402361920070330.3195276159859350.159763807992967
490.9586032503129660.08279349937406710.0413967496870336
500.9511492382484120.0977015235031760.048850761751588
510.9330452512695820.1339094974608360.0669547487304182
520.9311771219907270.1376457560185450.0688228780092725
530.9272494271883220.1455011456233560.072750572811678
540.9254819741363430.1490360517273150.0745180258636574
550.9214532917171260.1570934165657480.0785467082828742
560.8854015516405250.2291968967189500.114598448359475
570.8373856153399150.325228769320170.162614384660085
580.9196888606112220.1606222787775560.080311139388778
590.91879189690430.1624162061914020.0812081030957008
600.8865258286951050.2269483426097890.113474171304895
610.9476470419519640.1047059160960720.052352958048036
620.9068395565722790.1863208868554420.093160443427721
630.9297451228154230.1405097543691540.0702548771845772
640.871219595948480.257560808103040.12878040405152
650.7977056814020.4045886371960010.202294318598001
660.996529777309450.006940445381100470.00347022269055023
670.9882585029442040.0234829941115910.0117414970557955


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level10.0158730158730159NOK
5% type I error level80.126984126984127NOK
10% type I error level200.317460317460317NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258559557cmpgnyd47wn6kyk/1072lr1258559504.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258559557cmpgnyd47wn6kyk/1072lr1258559504.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/18/t1258559557cmpgnyd47wn6kyk/142fp1258559504.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258559557cmpgnyd47wn6kyk/142fp1258559504.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/18/t1258559557cmpgnyd47wn6kyk/22jtq1258559504.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258559557cmpgnyd47wn6kyk/22jtq1258559504.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/18/t1258559557cmpgnyd47wn6kyk/38e5l1258559504.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258559557cmpgnyd47wn6kyk/38e5l1258559504.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/18/t1258559557cmpgnyd47wn6kyk/4qs2q1258559504.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258559557cmpgnyd47wn6kyk/4qs2q1258559504.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/18/t1258559557cmpgnyd47wn6kyk/5n1sb1258559504.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258559557cmpgnyd47wn6kyk/5n1sb1258559504.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/18/t1258559557cmpgnyd47wn6kyk/6r61d1258559504.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258559557cmpgnyd47wn6kyk/6r61d1258559504.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/18/t1258559557cmpgnyd47wn6kyk/78c0l1258559504.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258559557cmpgnyd47wn6kyk/78c0l1258559504.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/18/t1258559557cmpgnyd47wn6kyk/8p6j11258559504.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258559557cmpgnyd47wn6kyk/8p6j11258559504.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/18/t1258559557cmpgnyd47wn6kyk/99pe41258559504.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258559557cmpgnyd47wn6kyk/99pe41258559504.ps (open in new window)


 
Parameters (Session):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
 
Parameters (R input):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
 
R code (references can be found in the software module):
library(lattice)
library(lmtest)
n25 <- 25 #minimum number of obs. for Goldfeld-Quandt test
par1 <- as.numeric(par1)
x <- t(y)
k <- length(x[1,])
n <- length(x[,1])
x1 <- cbind(x[,par1], x[,1:k!=par1])
mycolnames <- c(colnames(x)[par1], colnames(x)[1:k!=par1])
colnames(x1) <- mycolnames #colnames(x)[par1]
x <- x1
if (par3 == 'First Differences'){
x2 <- array(0, dim=c(n-1,k), dimnames=list(1:(n-1), paste('(1-B)',colnames(x),sep='')))
for (i in 1:n-1) {
for (j in 1:k) {
x2[i,j] <- x[i+1,j] - x[i,j]
}
}
x <- x2
}
if (par2 == 'Include Monthly Dummies'){
x2 <- array(0, dim=c(n,11), dimnames=list(1:n, paste('M', seq(1:11), sep ='')))
for (i in 1:11){
x2[seq(i,n,12),i] <- 1
}
x <- cbind(x, x2)
}
if (par2 == 'Include Quarterly Dummies'){
x2 <- array(0, dim=c(n,3), dimnames=list(1:n, paste('Q', seq(1:3), sep ='')))
for (i in 1:3){
x2[seq(i,n,4),i] <- 1
}
x <- cbind(x, x2)
}
k <- length(x[1,])
if (par3 == 'Linear Trend'){
x <- cbind(x, c(1:n))
colnames(x)[k+1] <- 't'
}
x
k <- length(x[1,])
df <- as.data.frame(x)
(mylm <- lm(df))
(mysum <- summary(mylm))
if (n > n25) {
kp3 <- k + 3
nmkm3 <- n - k - 3
gqarr <- array(NA, dim=c(nmkm3-kp3+1,3))
numgqtests <- 0
numsignificant1 <- 0
numsignificant5 <- 0
numsignificant10 <- 0
for (mypoint in kp3:nmkm3) {
j <- 0
numgqtests <- numgqtests + 1
for (myalt in c('greater', 'two.sided', 'less')) {
j <- j + 1
gqarr[mypoint-kp3+1,j] <- gqtest(mylm, point=mypoint, alternative=myalt)$p.value
}
if (gqarr[mypoint-kp3+1,2] < 0.01) numsignificant1 <- numsignificant1 + 1
if (gqarr[mypoint-kp3+1,2] < 0.05) numsignificant5 <- numsignificant5 + 1
if (gqarr[mypoint-kp3+1,2] < 0.10) numsignificant10 <- numsignificant10 + 1
}
gqarr
}
bitmap(file='test0.png')
plot(x[,1], type='l', main='Actuals and Interpolation', ylab='value of Actuals and Interpolation (dots)', xlab='time or index')
points(x[,1]-mysum$resid)
grid()
dev.off()
bitmap(file='test1.png')
plot(mysum$resid, type='b', pch=19, main='Residuals', ylab='value of Residuals', xlab='time or index')
grid()
dev.off()
bitmap(file='test2.png')
hist(mysum$resid, main='Residual Histogram', xlab='values of Residuals')
grid()
dev.off()
bitmap(file='test3.png')
densityplot(~mysum$resid,col='black',main='Residual Density Plot', xlab='values of Residuals')
dev.off()
bitmap(file='test4.png')
qqnorm(mysum$resid, main='Residual Normal Q-Q Plot')
qqline(mysum$resid)
grid()
dev.off()
(myerror <- as.ts(mysum$resid))
bitmap(file='test5.png')
dum <- cbind(lag(myerror,k=1),myerror)
dum
dum1 <- dum[2:length(myerror),]
dum1
z <- as.data.frame(dum1)
z
plot(z,main=paste('Residual Lag plot, lowess, and regression line'), ylab='values of Residuals', xlab='lagged values of Residuals')
lines(lowess(z))
abline(lm(z))
grid()
dev.off()
bitmap(file='test6.png')
acf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Autocorrelation Function')
grid()
dev.off()
bitmap(file='test7.png')
pacf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Partial Autocorrelation Function')
grid()
dev.off()
bitmap(file='test8.png')
opar <- par(mfrow = c(2,2), oma = c(0, 0, 1.1, 0))
plot(mylm, las = 1, sub='Residual Diagnostics')
par(opar)
dev.off()
if (n > n25) {
bitmap(file='test9.png')
plot(kp3:nmkm3,gqarr[,2], main='Goldfeld-Quandt test',ylab='2-sided p-value',xlab='breakpoint')
grid()
dev.off()
}
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Estimated Regression Equation', 1, TRUE)
a<-table.row.end(a)
myeq <- colnames(x)[1]
myeq <- paste(myeq, '[t] = ', sep='')
for (i in 1:k){
if (mysum$coefficients[i,1] > 0) myeq <- paste(myeq, '+', '')
myeq <- paste(myeq, mysum$coefficients[i,1], sep=' ')
if (rownames(mysum$coefficients)[i] != '(Intercept)') {
myeq <- paste(myeq, rownames(mysum$coefficients)[i], sep='')
if (rownames(mysum$coefficients)[i] != 't') myeq <- paste(myeq, '[t]', sep='')
}
}
myeq <- paste(myeq, ' + e[t]')
a<-table.row.start(a)
a<-table.element(a, myeq)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable1.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,hyperlink('http://www.xycoon.com/ols1.htm','Multiple Linear Regression - Ordinary Least Squares',''), 6, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Variable',header=TRUE)
a<-table.element(a,'Parameter',header=TRUE)
a<-table.element(a,'S.D.',header=TRUE)
a<-table.element(a,'T-STAT<br />H0: parameter = 0',header=TRUE)
a<-table.element(a,'2-tail p-value',header=TRUE)
a<-table.element(a,'1-tail p-value',header=TRUE)
a<-table.row.end(a)
for (i in 1:k){
a<-table.row.start(a)
a<-table.element(a,rownames(mysum$coefficients)[i],header=TRUE)
a<-table.element(a,mysum$coefficients[i,1])
a<-table.element(a, round(mysum$coefficients[i,2],6))
a<-table.element(a, round(mysum$coefficients[i,3],4))
a<-table.element(a, round(mysum$coefficients[i,4],6))
a<-table.element(a, round(mysum$coefficients[i,4]/2,6))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable2.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Regression Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple R',1,TRUE)
a<-table.element(a, sqrt(mysum$r.squared))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'R-squared',1,TRUE)
a<-table.element(a, mysum$r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Adjusted R-squared',1,TRUE)
a<-table.element(a, mysum$adj.r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (value)',1,TRUE)
a<-table.element(a, mysum$fstatistic[1])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF numerator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[2])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF denominator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[3])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'p-value',1,TRUE)
a<-table.element(a, 1-pf(mysum$fstatistic[1],mysum$fstatistic[2],mysum$fstatistic[3]))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Residual Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Residual Standard Deviation',1,TRUE)
a<-table.element(a, mysum$sigma)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Sum Squared Residuals',1,TRUE)
a<-table.element(a, sum(myerror*myerror))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable3.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Actuals, Interpolation, and Residuals', 4, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Time or Index', 1, TRUE)
a<-table.element(a, 'Actuals', 1, TRUE)
a<-table.element(a, 'Interpolation<br />Forecast', 1, TRUE)
a<-table.element(a, 'Residuals<br />Prediction Error', 1, TRUE)
a<-table.row.end(a)
for (i in 1:n) {
a<-table.row.start(a)
a<-table.element(a,i, 1, TRUE)
a<-table.element(a,x[i])
a<-table.element(a,x[i]-mysum$resid[i])
a<-table.element(a,mysum$resid[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable4.tab')
if (n > n25) {
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'p-values',header=TRUE)
a<-table.element(a,'Alternative Hypothesis',3,header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'breakpoint index',header=TRUE)
a<-table.element(a,'greater',header=TRUE)
a<-table.element(a,'2-sided',header=TRUE)
a<-table.element(a,'less',header=TRUE)
a<-table.row.end(a)
for (mypoint in kp3:nmkm3) {
a<-table.row.start(a)
a<-table.element(a,mypoint,header=TRUE)
a<-table.element(a,gqarr[mypoint-kp3+1,1])
a<-table.element(a,gqarr[mypoint-kp3+1,2])
a<-table.element(a,gqarr[mypoint-kp3+1,3])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable5.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Description',header=TRUE)
a<-table.element(a,'# significant tests',header=TRUE)
a<-table.element(a,'% significant tests',header=TRUE)
a<-table.element(a,'OK/NOK',header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'1% type I error level',header=TRUE)
a<-table.element(a,numsignificant1)
a<-table.element(a,numsignificant1/numgqtests)
if (numsignificant1/numgqtests < 0.01) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'5% type I error level',header=TRUE)
a<-table.element(a,numsignificant5)
a<-table.element(a,numsignificant5/numgqtests)
if (numsignificant5/numgqtests < 0.05) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'10% type I error level',header=TRUE)
a<-table.element(a,numsignificant10)
a<-table.element(a,numsignificant10/numgqtests)
if (numsignificant10/numgqtests < 0.1) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable6.tab')
}
 





Copyright

Creative Commons License

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.

Software written by Ed van Stee & Patrick Wessa


Disclaimer

Information provided on this web site is provided "AS IS" without warranty of any kind, either express or implied, including, without limitation, warranties of merchantability, fitness for a particular purpose, and noninfringement. We use reasonable efforts to include accurate and timely information and periodically update the information, and software without notice. However, we make no warranties or representations as to the accuracy or completeness of such information (or software), and we assume no liability or responsibility for errors or omissions in the content of this web site, or any software bugs in online applications. Your use of this web site is AT YOUR OWN RISK. Under no circumstances and under no legal theory shall we be liable to you or any other person for any direct, indirect, special, incidental, exemplary, or consequential damages arising from your access to, or use of, this web site.


Privacy Policy

We may request personal information to be submitted to our servers in order to be able to:

  • personalize online software applications according to your needs
  • enforce strict security rules with respect to the data that you upload (e.g. statistical data)
  • manage user sessions of online applications
  • alert you about important changes or upgrades in resources or applications

We NEVER allow other companies to directly offer registered users information about their products and services. Banner references and hyperlinks of third parties NEVER contain any personal data of the visitor.

We do NOT sell, nor transmit by any means, personal information, nor statistical data series uploaded by you to third parties.

We carefully protect your data from loss, misuse, alteration, and destruction. However, at any time, and under any circumstance you are solely responsible for managing your passwords, and keeping them secret.

We store a unique ANONYMOUS USER ID in the form of a small 'Cookie' on your computer. This allows us to track your progress when using this website which is necessary to create state-dependent features. The cookie is used for NO OTHER PURPOSE. At any time you may opt to disallow cookies from this website - this will not affect other features of this website.

We examine cookies that are used by third-parties (banner and online ads) very closely: abuse from third-parties automatically results in termination of the advertising contract without refund. We have very good reason to believe that the cookies that are produced by third parties (banner ads) do NOT cause any privacy or security risk.

FreeStatistics.org is safe. There is no need to download any software to use the applications and services contained in this website. Hence, your system's security is not compromised by their use, and your personal data - other than data you submit in the account application form, and the user-agent information that is transmitted by your browser - is never transmitted to our servers.

As a general rule, we do not log on-line behavior of individuals (other than normal logging of webserver 'hits'). However, in cases of abuse, hacking, unauthorized access, Denial of Service attacks, illegal copying, hotlinking, non-compliance with international webstandards (such as robots.txt), or any other harmful behavior, our system engineers are empowered to log, track, identify, publish, and ban misbehaving individuals - even if this leads to ban entire blocks of IP addresses, or disclosing user's identity.


FreeStatistics.org is powered by