Home » date » 2010 » Dec » 21 »

MRLM 2

*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: Tue, 21 Dec 2010 15:18:59 +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/21/t1292945262yp1xe8bqpvitcpq.htm/, Retrieved Tue, 21 Dec 2010 16:27: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/2010/Dec/21/t1292945262yp1xe8bqpvitcpq.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 216.234 627 1,59 2 213.586 696 1,26 3 209.465 825 1,13 4 204.045 677 1,92 5 200.237 656 2,61 6 203.666 785 2,26 7 241.476 412 2,41 8 260.307 352 2,26 9 243.324 839 2,03 10 244.460 729 2,86 11 233.575 696 2,55 12 237.217 641 2,27 1 235.243 695 2,26 2 230.354 638 2,57 3 227.184 762 3,07 4 221.678 635 2,76 5 217.142 721 2,51 6 219.452 854 2,87 7 256.446 418 3,14 8 265.845 367 3,11 9 248.624 824 3,16 10 241.114 687 2,47 11 229.245 601 2,57 12 231.805 676 2,89 1 219.277 740 2,63 2 219.313 691 2,38 3 212.610 683 1,69 4 214.771 594 1,96 5 211.142 729 2,19 6 211.457 731 1,87 7 240.048 386 1,6 8 240.636 331 1,63 9 230.580 707 1,22 10 208.795 715 1,21 11 197.922 657 1,49 12 194.596 653 1,64 1 194.581 642 1,66 2 185.686 643 1,77 3 178.106 718 1,82 4 172.608 654 1,78 5 167.302 632 1,28 6 168.053 731 1,29 7 202.300 392 1,37 8 202.388 344 1,12 9 182.516 792 1,51 10 173.476 852 2,24 11 166.444 649 2,94 12 171.297 629 3,09 1 169.701 685 3,46 2 164.182 617 3,64 3 161.914 715 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 time6 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk


Multiple Linear Regression - Estimated Regression Equation
werklozen[t] = + 252.407362663364 + 1.10477271192568month[t] -0.0641619305654837faillissementen[t] -5.07414212008297inflatie[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)252.40736266336415.73978816.036300
month1.104772711925680.8688671.27150.2078790.10394
faillissementen-0.06416193056548370.019362-3.31380.0014780.000739
inflatie-5.074142120082971.948364-2.60430.0112960.005648


Multiple Linear Regression - Regression Statistics
Multiple R0.461331452857874
R-squared0.212826709395957
Adjusted R-squared0.178098475986955
F-TEST (value)6.1283482775945
F-TEST (DF numerator)3
F-TEST (DF denominator)68
p-value0.000943453677627604
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation25.4245327686721
Sum Squared Residuals43955.6669223591


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1216.234205.21471893979911.0192810602008
2213.586203.56678534233410.0192146576655
3209.465197.05430748692412.4106925130764
4204.045203.6464736476750.398526352324688
5200.237202.597488838619-2.36048883861889
6203.666197.2013222496266.46467775037378
7241.476221.47737374446519.9986262555351
8260.307227.19298360833233.114016391668
9243.324198.21794882248645.1060511775138
10244.46202.16899593694642.2910040630538
11233.575206.96409641475926.6109035852414
12237.217213.01853510140924.1984648985909
13235.243197.45203244089137.7909675591087
14230.354200.64105113782429.7129488621762
15227.184191.25267339958835.9313266004119
16221.678202.07899535055619.5990046494441
17217.142198.93437756387118.2076224361293
18219.452189.67892234735729.7730776526428
19256.446217.38827841341139.0577215865886
20265.845221.91753384777943.9274661522208
21248.624193.44659718527555.1774028147253
22241.114206.84271244752934.2712875524711
23229.245212.95799697607816.2870030239221
24231.805207.62689941716624.1781005828342
25219.277192.68731298101426.5896870189861
26219.313198.20455582066921.108444179331
27212.61203.3237820399769.28621796002422
28214.771208.7689481998076.00205180019286
29211.142200.04480759777311.0971924022266
30211.457202.6449819269958.81201807300531
31240.048227.25563905643512.7923609435653
32240.636231.7370936858598.89890631414055
33230.58210.79737877439719.7826212256027
34208.795211.439597463-2.64459746299993
35197.922214.8450023541-16.9230023541004
36194.596215.445301470276-20.8493014702756
37194.581203.897100032912-9.31610003291176
38185.686204.379555181063-18.6935551810628
39178.106200.418475994573-22.3124759945731
40172.608205.832577947493-33.224577947493
41167.302210.885984191901-43.5839841919009
42168.053205.587984356643-37.5349843566428
43202.3228.037720160661-25.7377201606608
44202.388233.49080106975-31.1028010697505
45182.516203.872113461507-21.3561134615071
46173.476197.423046591843-23.9470465918432
47166.444208.000791724504-41.556791724504
48171.297209.627681729727-38.3306817297269
49169.701192.004681202447-22.3036812024466
50164.182196.55911961121-32.3771196112103
51161.914187.570416537656-25.6564165376563
52159.612189.892983358402-30.2809833584019
53151.001191.137091451671-40.1360914516712
54158.114170.833646240454-12.7196462404541
55186.53196.082606586882-9.55260658688193
56187.069210.990109119645-23.9211091196449
57174.33175.809010766494-1.47901076649391
58169.362186.379060467609-17.017060467609
59166.827203.200409397124-36.3734093971239
60178.037197.268705005469-19.2317050054693
61186.413192.014629468448-5.60162946844765
62189.226194.456698301551-5.23069830155086
63191.563188.0288105358133.53418946418665
64188.906203.158205022851-14.2522050228506
65186.005212.713801772358-26.7088017723584
66195.309206.486846174681-11.1778461746815
67223.532234.531183347746-10.9991833477461
68226.899240.372708083592-13.4737080835923
69214.126204.80407300329.32192699680015
70206.903214.41682403353-7.51382403352985
71204.442207.936317484545-3.49431748454533
72220.375214.1707285530436.2042714469573


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
70.01212679634848160.02425359269696310.987873203651518
80.00283069640762840.005661392815256810.997169303592372
90.01177694969202690.02355389938405370.988223050307973
100.0117290799580530.0234581599161060.988270920041947
110.01252484390116880.02504968780233770.987475156098831
120.01997180149702020.03994360299404040.98002819850298
130.07809301281159170.1561860256231830.921906987188408
140.05975698956409870.1195139791281970.940243010435901
150.04430611018595120.08861222037190240.955693889814049
160.02869425745549040.05738851491098080.97130574254451
170.01826813600334230.03653627200668470.981731863996658
180.01216218468589640.02432436937179290.987837815314104
190.01133540290269390.02267080580538780.988664597097306
200.01491824707667790.02983649415335580.985081752923322
210.03774208643145710.07548417286291410.962257913568543
220.04262197694341310.08524395388682610.957378023056587
230.05395556482746180.1079111296549240.946044435172538
240.07621626337035150.1524325267407030.923783736629649
250.08310181116302310.1662036223260460.916898188836977
260.09082253952470130.1816450790494030.909177460475299
270.0807247950890810.1614495901781620.919275204910919
280.08197482594842440.1639496518968490.918025174051576
290.0927356022769830.1854712045539660.907264397723017
300.09634129659956330.1926825931991270.903658703400437
310.1361273915120520.2722547830241040.863872608487948
320.2243601247843140.4487202495686270.775639875215686
330.4184308390272210.8368616780544420.581569160972779
340.4389938278001960.8779876556003920.561006172199804
350.5625378887640130.8749242224719750.437462111235987
360.6768059857262810.6463880285474380.323194014273719
370.6985370239959470.6029259520081070.301462976004053
380.7524574460948210.4950851078103580.247542553905179
390.8095902082633820.3808195834732370.190409791736618
400.900480093061680.1990398138766390.0995199069383197
410.9649065513500720.0701868972998570.0350934486499285
420.9845398570921350.03092028581573060.0154601429078653
430.978891336050880.04221732789823990.0211086639491199
440.9696880161254560.06062396774908740.0303119838745437
450.963031491835580.07393701632884020.0369685081644201
460.9752884736301520.04942305273969530.0247115263698476
470.9975039801734080.004992039653183350.00249601982659168
480.9995356954967090.0009286090065822370.000464304503291118
490.9996387847171640.000722430565672030.000361215282836015
500.9997580318959980.000483936208004810.000241968104002405
510.9997260135560440.0005479728879117430.000273986443955871
520.9997318486927860.0005363026144285770.000268151307214289
530.999904062480570.0001918750388591299.59375194295647e-05
540.9997596224352430.0004807551295146130.000240377564757307
550.9996212693676980.000757461264604570.000378730632302285
560.9991988948817040.00160221023659140.000801105118295698
570.99899864201680.002002715966400220.00100135798320011
580.9976861748332240.004627650333552820.00231382516677641
590.9982302474102540.003539505179492580.00176975258974629
600.9990943058424670.001811388315066120.000905694157533058
610.9971532555553730.005693488889253180.00284674444462659
620.9923177371873060.01536452562538810.00768226281269407
630.9933734937627170.01325301247456670.00662650623728333
640.9900380858947060.01992382821058860.00996191410529429
650.9664129765996020.06717404680079530.0335870234003976


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level160.271186440677966NOK
5% type I error level310.525423728813559NOK
10% type I error level390.661016949152542NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292945262yp1xe8bqpvitcpq/10lxor1292944729.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292945262yp1xe8bqpvitcpq/10lxor1292944729.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t1292945262yp1xe8bqpvitcpq/1eeqf1292944729.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292945262yp1xe8bqpvitcpq/1eeqf1292944729.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t1292945262yp1xe8bqpvitcpq/2eeqf1292944729.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292945262yp1xe8bqpvitcpq/2eeqf1292944729.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t1292945262yp1xe8bqpvitcpq/37nqi1292944729.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292945262yp1xe8bqpvitcpq/37nqi1292944729.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t1292945262yp1xe8bqpvitcpq/47nqi1292944729.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292945262yp1xe8bqpvitcpq/47nqi1292944729.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t1292945262yp1xe8bqpvitcpq/57nqi1292944729.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292945262yp1xe8bqpvitcpq/57nqi1292944729.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t1292945262yp1xe8bqpvitcpq/60xp31292944729.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292945262yp1xe8bqpvitcpq/60xp31292944729.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t1292945262yp1xe8bqpvitcpq/7s6o61292944729.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292945262yp1xe8bqpvitcpq/7s6o61292944729.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t1292945262yp1xe8bqpvitcpq/8s6o61292944729.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292945262yp1xe8bqpvitcpq/8s6o61292944729.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t1292945262yp1xe8bqpvitcpq/9s6o61292944729.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292945262yp1xe8bqpvitcpq/9s6o61292944729.ps (open in new window)


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