Home » date » 2009 » Nov » 19 »

*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: Thu, 19 Nov 2009 01:54:58 -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/19/t1258622313rtnaskvoz02b12n.htm/, Retrieved Thu, 19 Nov 2009 10:18:45 +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/19/t1258622313rtnaskvoz02b12n.htm/},
    year = {2009},
}
@Manual{R,
    title = {R: A Language and Environment for Statistical Computing},
    author = {{R Development Core Team}},
    organization = {R Foundation for Statistical Computing},
    address = {Vienna, Austria},
    year = {2009},
    note = {{ISBN} 3-900051-07-0},
    url = {http://www.R-project.org},
}
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
8.4 420 8.4 418 8.4 410 8.6 418 8.9 426 8.8 428 8.3 430 7.5 424 7.2 423 7.4 427 8.8 441 9.3 449 9.3 452 8.7 462 8.2 455 8.3 461 8.5 461 8.6 463 8.5 462 8.2 456 8.1 455 7.9 456 8.6 472 8.7 472 8.7 471 8.5 465 8.4 459 8.5 465 8.7 468 8.7 467 8.6 463 8.5 460 8.3 462 8,00 461 8.2 476 8.1 476 8.1 471 8,00 453 7.9 443 7.9 442 8,00 444 8,00 438 7.9 427 8,00 424 7.7 416 7.2 406 7.5 431 7.3 434 7,00 418 7,00 412 7,00 404 7.2 409 7.3 412 7.1 406 6.8 398 6.4 397 6.1 385 6.5 390 7.7 413 7.9 413 7.5 401 6.9 397 6.6 397 6.9 409 7.7 419 8,00 424 8,00 428 7.7 430 7.3 424 7.4 433 8.1 456 8.3 459 8.2 446
 
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'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
wgb[t] = -1.18542050343351 + 0.0208973933596284nwwz[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)-1.185420503433510.972694-1.21870.2269930.113496
nwwz0.02089739335962840.0022269.386300


Multiple Linear Regression - Regression Statistics
Multiple R0.744142345521879
R-squared0.553747830398803
Adjusted R-squared0.547462588573434
F-TEST (value)88.1028679220781
F-TEST (DF numerator)1
F-TEST (DF denominator)71
p-value4.55191440096314e-14
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.467505192541123
Sum Squared Residuals15.5178384587568


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
18.47.59148470761040.808515292389594
28.47.549689920891150.850310079108852
38.47.382510774014121.01748922598588
48.67.549689920891151.05031007910885
58.97.716869067768181.18313093223182
68.87.758663854487431.04133614551257
78.37.800458641206690.499541358793311
87.57.67507428104892-0.175074281048919
97.27.65417688768929-0.454176887689291
107.47.7377664611278-0.337766461127804
118.88.03032996816260.769670031837399
129.38.197509115039631.10249088496037
139.38.260201295118511.03979870488149
148.78.46917522871480.230824771285202
158.28.3228934751974-0.122893475197400
168.38.44827783535517-0.148277835355169
178.58.448277835355170.0517221646448307
188.68.490072622074430.109927377925574
198.58.46917522871480.0308247712852023
208.28.34379086855703-0.143790868557028
218.18.3228934751974-0.222893475197399
227.98.34379086855703-0.443790868557027
238.68.67814916231108-0.0781491623110818
248.78.678149162311080.0218508376889179
258.78.657251768951450.0427482310485462
268.58.53186740879368-0.0318674087936828
278.48.40648304863591-0.00648304863591216
288.58.53186740879368-0.0318674087936828
298.78.594559588872570.105440411127431
308.78.573662195512940.126337804487060
318.68.490072622074430.109927377925574
328.58.427380441995540.0726195580044591
338.38.4691752287148-0.169175228714797
3488.44827783535517-0.448277835355169
358.28.7617387357496-0.561738735749596
368.18.7617387357496-0.661738735749595
378.18.65725176895145-0.557251768951453
3888.28109868847814-0.281098688478142
397.98.07212475488186-0.172124754881858
407.98.05122736152223-0.151227361522230
4188.09302214824149-0.0930221482414869
4287.967637788083720.0323622119162833
437.97.73776646112780.162233538872196
4487.675074281048920.324925718951081
457.77.507895134171890.192104865828108
467.27.29892120057561-0.0989212005756086
477.57.82135603456632-0.321356034566318
487.37.8840482146452-0.584048214645203
4977.54968992089115-0.549689920891149
5077.42430556073338-0.424305560733379
5177.25712641385635-0.257126413856352
527.27.36161338065449-0.161613380654494
537.37.42430556073338-0.124305560733379
547.17.29892120057561-0.198921200575609
556.87.13174205369858-0.331742053698582
566.47.11084466033895-0.710844660338953
576.16.86007594002341-0.760075940023413
586.56.96456290682155-0.464562906821555
597.77.445202954093010.254797045906993
607.97.445202954093010.454797045906993
617.57.194434233777470.305565766222533
626.97.11084466033895-0.210844660338953
636.67.11084466033895-0.510844660338954
646.97.36161338065449-0.461613380654494
657.77.570587314250780.129412685749223
6687.675074281048920.324925718951081
6787.758663854487430.241336145512567
687.77.80045864120669-0.100458641206690
697.37.67507428104892-0.375074281048920
707.47.86315082128557-0.463150821285574
718.18.34379086855703-0.243790868557028
728.38.40648304863591-0.106483048635912
738.28.134816934960740.0651830650392556


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.09681848603471280.1936369720694260.903181513965287
60.04277189701201030.08554379402402050.95722810298799
70.1713098878038640.3426197756077290.828690112196136
80.8349865401285990.3300269197428030.165013459871402
90.9855078436937060.02898431261258810.0144921563062940
100.9930951962467270.01380960750654660.0069048037532733
110.9965980526926740.006803894614652780.00340194730732639
120.9994316994392480.001136601121503790.000568300560751897
130.9999096891562650.0001806216874693259.03108437346625e-05
140.9999271124900730.0001457750198540417.28875099270207e-05
150.9999477834528970.0001044330942053615.22165471026804e-05
160.9999391774656780.0001216450686432366.08225343216179e-05
170.9998911929787690.0002176140424626600.000108807021231330
180.9998064998051390.0003870003897229280.000193500194861464
190.999658261655320.0006834766893598480.000341738344679924
200.9995079759815520.0009840480368951510.000492024018447575
210.9993641760536860.001271647892627840.00063582394631392
220.9995078041952660.0009843916094685220.000492195804734261
230.999083900133990.001832199732019060.000916099866009532
240.9984331804198510.003133639160297380.00156681958014869
250.9974367172587780.005126565482443310.00256328274122165
260.9957477882273750.008504423545250820.00425221177262541
270.9933334688055350.01333306238893070.00666653119446535
280.9895545209687850.02089095806242980.0104454790312149
290.985747045445220.02850590910955830.0142529545547792
300.9816248803577530.03675023928449480.0183751196422474
310.9764195458720630.04716090825587490.0235804541279375
320.969574173340010.06085165331998050.0304258266599903
330.9584802052124310.08303958957513710.0415197947875686
340.9575914846216360.08481703075672840.0424085153783642
350.9569578506468270.08608429870634630.0430421493531731
360.9688225677557630.06235486448847390.0311774322442369
370.9771411677999870.04571766440002560.0228588322000128
380.9744839683639970.05103206327200570.0255160316360029
390.969342687022460.06131462595508110.0306573129775405
400.9623076953506530.07538460929869340.0376923046493467
410.9501832589818950.09963348203620920.0498167410181046
420.9339939992730740.1320120014538510.0660060007269256
430.9240111499492780.1519777001014440.0759888500507219
440.9291209995139790.1417580009720420.0708790004860211
450.9321384753572710.1357230492854580.0678615246427292
460.9362485495154590.1275029009690830.0637514504845413
470.93233743395310.1353251320937980.0676625660468992
480.9590895876164180.08182082476716470.0409104123835823
490.9727656918980090.05446861620398230.0272343081019912
500.9733600117519660.05327997649606760.0266399882480338
510.9654588464003010.06908230719939770.0345411535996988
520.9513018558522580.0973962882954840.048698144147742
530.930777060580340.138445878839320.06922293941966
540.9051016068050260.1897967863899470.0948983931949737
550.8779623684221580.2440752631556840.122037631577842
560.9068090971797630.1863818056404740.0931909028202371
570.9427373318215740.1145253363568510.0572626681784256
580.941559040051110.1168819198977820.0584409599488909
590.9270737876056360.1458524247887290.0729262123943645
600.9515101593915250.09697968121695070.0484898406084754
610.9649247450654020.07015050986919680.0350752549345984
620.9377281842797020.1245436314405950.0622718157202977
630.9260137323369150.1479725353261700.0739862676630851
640.9394666160612880.1210667678774230.0605333839387117
650.8923201430086650.2153597139826690.107679856991335
660.9072542895394470.1854914209211060.0927457104605532
670.9556986761058480.08860264778830490.0443013238941524
680.9219715360940290.1560569278119430.0780284639059714


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level160.25NOK
5% type I error level240.375NOK
10% type I error level420.65625NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258622313rtnaskvoz02b12n/10dtc61258620892.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258622313rtnaskvoz02b12n/10dtc61258620892.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258622313rtnaskvoz02b12n/165801258620892.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258622313rtnaskvoz02b12n/165801258620892.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258622313rtnaskvoz02b12n/2f8yj1258620892.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258622313rtnaskvoz02b12n/2f8yj1258620892.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258622313rtnaskvoz02b12n/35je01258620892.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258622313rtnaskvoz02b12n/35je01258620892.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258622313rtnaskvoz02b12n/4kdle1258620892.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258622313rtnaskvoz02b12n/4kdle1258620892.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258622313rtnaskvoz02b12n/5a88r1258620892.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258622313rtnaskvoz02b12n/5a88r1258620892.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258622313rtnaskvoz02b12n/6lvmk1258620892.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258622313rtnaskvoz02b12n/6lvmk1258620892.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258622313rtnaskvoz02b12n/7z1pe1258620892.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258622313rtnaskvoz02b12n/7z1pe1258620892.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258622313rtnaskvoz02b12n/8zcqb1258620892.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258622313rtnaskvoz02b12n/8zcqb1258620892.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258622313rtnaskvoz02b12n/9d7x81258620892.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258622313rtnaskvoz02b12n/9d7x81258620892.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