Home » date » 2009 » Dec » 19 »

Multiple Linear Regression met seizonaliteit en met trend

*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, 19 Dec 2009 05:49:05 -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/Dec/19/t1261228826p42asyduiwafiou.htm/, Retrieved Sat, 19 Dec 2009 14:20:38 +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/Dec/19/t1261228826p42asyduiwafiou.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:
kvn paper
 
Dataseries X:
» Textbox « » Textfile « » CSV «
9487 1169 8700 2154 9627 2249 8947 2687 9283 4359 8829 5382 9947 4459 9628 6398 9318 4596 9605 3024 8640 1887 9214 2070 9567 1351 8547 2218 9185 2461 9470 3028 9123 4784 9278 4975 10170 4607 9434 6249 9655 4809 9429 3157 8739 1910 9552 2228 9784 1594 9089 2467 9763 2222 9330 3607 9144 4685 9895 4962 10404 5770 10195 5480 9987 5000 9789 3228 9437 1993 10096 2288 9776 1580 9106 2111 10258 2192 9766 3601 9826 4665 9957 4876 10036 5813 10508 5589 10146 5331 10166 3075 9365 2002 9968 2306 10123 1507 9144 1992 10447 2487 9699 3490 10451 4647 10192 5594 10404 5611 10597 5788 10633 6204 10727 3013 9784 1931 9667 2549 10297 1504 9426 2090 10274 2702 9598 2939 10400 4500 9985 6208 10761 6415 11081 5657 10297 5964 10751 3163 9760 1997 10133 2422 10806 1376 9734 2202 10083 2683 10691 3303 10446 5202 10517 5231 11353 4880 10436 7998 10721 4977 10701 3531 9793 2025 10142 2205
 
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 time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 9427.27878966371 -0.210497510801521X[t] + 174.311352889719M1[t] -559.647058313326M2[t] + 316.56637917964M3[t] + 163.252502328825M4[t] + 618.671872465051M5[t] + 729.363234007044M6[t] + 1352.56753892856M7[t] + 1331.88546735001M8[t] + 964.470335293804M9[t] + 563.097337400108M10[t] -516.369023715773M11[t] + 18.3432216545027t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)9427.27878966371174.49487354.026100
X-0.2104975108015210.070009-3.00670.0036650.001833
M1174.311352889719139.2239361.2520.2147290.107365
M2-559.647058313326127.792651-4.37934.1e-052e-05
M3316.56637917964128.3142062.46710.016070.008035
M4163.252502328825145.1707131.12460.2646190.132309
M5618.671872465051213.0999452.90320.0049370.002468
M6729.363234007044249.2341422.92640.0046210.00231
M71352.56753892856251.655925.37471e-060
M81331.88546735001300.9260474.4263.5e-051.7e-05
M9964.470335293804245.0969283.93510.0001949.7e-05
M10563.097337400108141.624393.9760.0001688.4e-05
M11-516.369023715773129.300125-3.99360.0001597.9e-05
t18.34322165450271.16380815.761400


Multiple Linear Regression - Regression Statistics
Multiple R0.930079238786886
R-squared0.865047390422394
Adjusted R-squared0.83998476292941
F-TEST (value)34.5154310203331
F-TEST (DF numerator)13
F-TEST (DF denominator)70
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation238.097500772848
Sum Squared Residuals3968329.39119933


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
194879373.86177408092113.138225919084
287008450.90653639291249.093463607091
396279325.46593201423301.534067985768
489479098.29736708685-151.297367086852
592839220.1081208174462.891879182564
688299133.80375046398-304.803750463977
799479969.6404795098-22.6404795097946
896289559.146956141668.8530438583945
993189589.39156020424-271.391560204239
1096059537.2638709450467.7361290549608
1186408715.47640126499-75.4764012649886
1292149211.667602158592.33239784141178
1395679555.669886969111.3301130308970
1485478657.55335555564-110.553355555641
1591859500.95911957834-315.959119578342
1694709246.63637575757223.363624242434
1791239350.76533858082-227.765338580823
1892789439.59489721423-161.594897214228
191017010158.605507765211.3944922347973
2094349810.62974510507-376.629745105065
2196559764.67425025755-109.674250257548
2294299729.38636186247-300.386361862469
2387398930.75361837059-191.753618370588
2495529398.52765530598153.47234469402
2597849724.6376516983759.3623483016336
2690898825.2581352201263.741864779903
2797639771.38668451394-8.3866845139377
2893309344.87697685752-14.8769768575179
2991449591.7232520042-447.723252004206
3098959662.45002470868232.549975291319
311040410133.9155625571270.084437442935
321019510192.62099076552.37900923453264
3399879944.587885548542.4121144515092
3497899934.5596984496-145.559698449594
3594379133.4009848281303.599015171906
36100969606.01646451192489.983535488079
3797769947.70327670362-171.70327670362
3891069120.31390891947-14.3139089194707
39102589997.82026969202260.179730307984
4097669566.25862177636199.741378223640
4198269816.051862074279.9481379257307
4299579900.6714704916456.3285295083557
431003610344.9828294466-308.982829446633
441050810389.7954219421118.204578057865
451014610095.031869327250.9681306727801
461016610186.8844774563-20.884477456259
4793659351.6251670849113.3748329150867
4899689822.34616917153145.653830828473
491012310183.1882548462-60.1882548461639
5091449365.48177255888-221.481772558884
511044710155.8421638596291.1578361404
5296999809.74250532936-110.742505329361
531045110039.9594771227411.040522877270
54101929969.65291759019222.347082409815
551040410607.6219864826-203.621986482573
561059710568.025077146728.9749228533357
571063310131.3862022515501.613797748476
581072710420.0539829800306.946017020014
5997849586.68915020585197.310849794147
6096679991.3139339008-324.313933900789
611029710403.9384072326-106.938407232601
6294269564.97167635437-138.971676354368
631027410330.7038588913-56.7038588913053
64959810145.8452936350-547.845293635032
651040010291.0212710646108.978728935414
66998510060.5261058121-75.5261058120828
671076110658.5006476522102.499352347818
681108110815.7189109157265.281089084304
691029710402.0242646979-105.024264697922
701075110608.5980162138142.401983786210
7197609792.91497434699-32.9149743469859
721013310238.1657776266-105.165777626615
731080610651.0007484692154.999251530771
7497349761.51461499863-27.5146149986302
751008310554.8219714506-471.821971450567
761069110289.3428595573401.657140442689
771044610363.370678336082.6293216640496
781051710486.300833719230.6991662807976
791135311201.7329865866151.267013413450
801043610543.0628979834-107.062897983367
811072110829.9039677131-108.903967713056
821070110751.2535920929-50.2535920928631
83979310007.1397038986-214.139703898577
841014210503.9623973246-361.962397324578


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.7035664773239160.5928670453521680.296433522676084
180.6895449981178610.6209100037642780.310455001882139
190.5764162180591540.8471675638816920.423583781940846
200.5863681899010250.827263620197950.413631810098975
210.5508578433062310.8982843133875380.449142156693769
220.5139325212427590.9721349575144830.486067478757241
230.4298514048781320.8597028097562640.570148595121868
240.3897611036734140.7795222073468280.610238896326586
250.3166382019428550.6332764038857090.683361798057145
260.326376470911240.652752941822480.67362352908876
270.2559298995302210.5118597990604430.744070100469779
280.1875524572194450.3751049144388900.812447542780555
290.2706119506484030.5412239012968060.729388049351597
300.4039168801215560.8078337602431130.596083119878444
310.4141503509062130.8283007018124270.585849649093787
320.3722583656308460.7445167312616910.627741634369154
330.3377914622494240.6755829244988480.662208537750576
340.3090751020373540.6181502040747090.690924897962646
350.3481923516989180.6963847033978370.651807648301082
360.4662860690547810.9325721381095620.533713930945219
370.4698568125526910.9397136251053810.530143187447309
380.4152986772176410.8305973544352820.584701322782359
390.4002164485191760.8004328970383520.599783551480824
400.3602610273990030.7205220547980050.639738972600997
410.3276694045651060.6553388091302130.672330595434894
420.2663739851228340.5327479702456670.733626014877166
430.3593416408312590.7186832816625180.640658359168741
440.2975579734314090.5951159468628170.702442026568591
450.2542079162574500.5084158325148990.74579208374255
460.2292890970851020.4585781941702050.770710902914898
470.1820916021728470.3641832043456950.817908397827153
480.1630877903483050.3261755806966090.836912209651695
490.1340382046229760.2680764092459520.865961795377024
500.1560761430968080.3121522861936160.843923856903192
510.1849009698484440.3698019396968880.815099030151556
520.1536990023379010.3073980046758010.8463009976621
530.1928767186221190.3857534372442390.80712328137788
540.1627265780166840.3254531560333670.837273421983316
550.1947956990609730.3895913981219460.805204300939027
560.1565927805728120.3131855611456240.843407219427188
570.3233877170229450.646775434045890.676612282977055
580.2954916933460990.5909833866921980.704508306653901
590.2808016477056460.5616032954112910.719198352294354
600.2912040530436610.5824081060873210.70879594695634
610.2495588988660780.4991177977321560.750441101133922
620.1926710156564710.3853420313129420.80732898434353
630.1972019536241590.3944039072483190.80279804637584
640.9958226861878740.008354627624252870.00417731381212643
650.9963852701706960.007229459658608450.00361472982930422
660.9961162281781370.007767543643725450.00388377182186273
670.9847741095841570.03045178083168520.0152258904158426


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level30.0588235294117647NOK
5% type I error level40.0784313725490196NOK
10% type I error level40.0784313725490196OK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261228826p42asyduiwafiou/10sgrw1261226940.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261228826p42asyduiwafiou/10sgrw1261226940.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/19/t1261228826p42asyduiwafiou/11yld1261226940.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261228826p42asyduiwafiou/11yld1261226940.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/19/t1261228826p42asyduiwafiou/2ng9p1261226940.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261228826p42asyduiwafiou/2ng9p1261226940.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/19/t1261228826p42asyduiwafiou/32qbx1261226940.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261228826p42asyduiwafiou/32qbx1261226940.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/19/t1261228826p42asyduiwafiou/4w6ge1261226940.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261228826p42asyduiwafiou/4w6ge1261226940.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/19/t1261228826p42asyduiwafiou/5s2981261226940.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261228826p42asyduiwafiou/5s2981261226940.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/19/t1261228826p42asyduiwafiou/65yip1261226940.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261228826p42asyduiwafiou/65yip1261226940.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/19/t1261228826p42asyduiwafiou/7b9o81261226940.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261228826p42asyduiwafiou/7b9o81261226940.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/19/t1261228826p42asyduiwafiou/8j1oh1261226940.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261228826p42asyduiwafiou/8j1oh1261226940.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/19/t1261228826p42asyduiwafiou/91nu61261226940.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261228826p42asyduiwafiou/91nu61261226940.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