Home » date » 2008 » Dec » 19 »

invoer-textiel

*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: Fri, 19 Dec 2008 12:19:44 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/Dec/19/t1229714481w4ipy3jqv5uxpod.htm/, Retrieved Fri, 19 Dec 2008 20:21:31 +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/2008/Dec/19/t1229714481w4ipy3jqv5uxpod.htm/},
    year = {2008},
}
@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 = {2008},
    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 «
101,3 163095 102 159044 109,2 155511 88,6 153745 94,3 150569 98,3 150605 86,4 179612 80,6 194690 104,1 189917 108,2 184128 93,4 175335 71,9 179566 94,1 181140 94,9 177876 96,4 175041 91,1 169292 84,4 166070 86,4 166972 88 206348 75,1 215706 109,7 202108 103 195411 82,1 193111 68 195198 96,4 198770 94,3 194163 90 190420 88 189733 76,1 186029 82,5 191531 81,4 232571 66,5 243477 97,2 227247 94,1 217859 80,7 208679 70,5 213188 87,8 216234 89,5 213586 99,6 209465 84,2 204045 75,1 200237 92 203666 80,8 241476 73,1 260307 99,8 243324 90 244460 83,1 233575 72,4 237217 78,8 235243 87,3 230354 91 227184 80,1 221678 73,6 217142 86,4 219452 74,5 256446 71,2 265845 92,4 248624 81,5 241114 85,3 229245 69,9 231805 84,2 219277 90,7 219313 100,3 212610 79,4 214771 84,8 211142 92,9 211457 81,6 240048 76 240636 98,7 230580 89,1 208795 88,7 197922 67,1 194596
 
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
textiel[t] = + 119.587170651848 -0.000157525651470813invoer[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)119.5871706518488.56826613.95700
invoer-0.0001575256514708134.1e-05-3.84040.0002670.000133


Multiple Linear Regression - Regression Statistics
Multiple R0.417169352043602
R-squared0.174030268284479
Adjusted R-squared0.162230700688543
F-TEST (value)14.7488682843275
F-TEST (DF numerator)1
F-TEST (DF denominator)70
p-value0.000266815784297769
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation9.66788048947954
Sum Squared Residuals6542.75392112014


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1101.393.89552452521557.40447547478451
210294.5336609393247.46633906067591
3109.295.090199065970514.1098009340295
488.695.368389366468-6.76838936646795
594.395.8686908355393-1.56869083553925
698.395.86301991208632.43698008791370
786.491.2936733398724-4.89367333987242
880.688.9185015669955-8.31850156699551
9104.189.670371501465714.4296284985343
10108.290.582287497830217.6177125021698
1193.491.96741055121311.43258944878691
1271.991.30091951984-19.4009195198401
1394.191.0529741444253.04702585557497
1494.991.56713787082583.33286212917425
1596.492.01372309274554.38627690725449
1691.192.9193380630512-1.81933806305122
1784.493.4268857120902-9.02688571209017
1886.493.2847975744635-6.8847975744635
198887.08206752214880.91793247785123
2075.185.6079424756849-10.5079424756849
21109.787.74997628438521.950023715615
2210388.80492557228514.1950744277149
2382.189.1672345706679-7.06723457066793
246888.8384785360483-20.8384785360483
2596.488.27579690899468.12420309100541
2694.389.00151758532065.29848241467937
279089.59113609877590.408863901224119
288889.6993562213363-1.69935622133633
2976.190.2828312343842-14.1828312343842
3082.589.4161250999918-6.91612509999181
3181.482.9512723636296-1.55127236362964
3266.581.233297608689-14.7332976086890
3397.283.789938932060313.4100610679398
3494.185.26878974806828.83121025193175
3580.786.7148752285703-6.0148752285703
3670.586.0045920660884-15.5045920660884
3787.885.52476893170832.27523106829168
3889.585.9418968568033.55810314319697
3999.686.591060066514213.0089399334857
4084.287.444849097486-3.24484909748605
4175.188.0447067782869-12.9447067782869
429287.50455131939354.49544868060651
4380.881.548506437282-0.748506437282053
4473.178.5821408944352-5.48214089443518
4599.881.25739903336418.542600966636
469081.07844989329318.92155010670685
4783.182.7931166095530.30688339044705
4872.482.2194081868962-9.81940818689624
4978.882.5303638228996-3.73036382289963
5087.383.30050673294043.99949326705956
519183.79986304810297.20013695189709
5280.184.6671992851012-4.56719928510121
5373.685.3817356401728-11.7817356401728
5486.485.01785138527521.38214861472477
5574.579.190347434764-4.69034743476398
5671.277.7097638365898-6.5097638365898
5792.480.422513080568711.9774869194313
5881.581.6055307231145-0.105530723114485
5985.383.47520268042161.82479731957843
6069.983.0719370126563-13.1719370126563
6184.285.0454183742826-0.845418374282626
6290.785.03974745082975.66025254917032
63100.386.095641892638514.2043581073615
6479.485.7552289598101-6.3552289598101
6584.886.3268895489977-1.52688954899770
6692.986.27726896878446.62273103121562
6781.681.7734530675824-0.173453067582377
687681.6808279845175-5.68082798451753
6998.783.26490593570815.4350940642920
7089.186.69660225299972.40339774700030
7188.788.40937866144180.290621338558162
7267.188.9333089782338-21.8333089782338


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.4414377268549910.8828754537099830.558562273145009
60.2897315466365180.5794630932730350.710268453363482
70.3561199072641020.7122398145282050.643880092735898
80.2526997145215620.5053994290431250.747300285478438
90.4785170952583120.9570341905166230.521482904741688
100.6196435995144120.7607128009711760.380356400485588
110.5254173229988150.949165354002370.474582677001185
120.8253397141599020.3493205716801960.174660285840098
130.7626706394002590.4746587211994820.237329360599741
140.6927126592755660.6145746814488690.307287340724434
150.6227310380240960.7545379239518080.377268961975904
160.5496148427937130.9007703144125740.450385157206287
170.5512657665904140.8974684668191710.448734233409586
180.5145379375677370.9709241248645250.485462062432263
190.4338088677379250.867617735475850.566191132262075
200.4294396045314660.8588792090629330.570560395468534
210.730145896174680.5397082076506410.269854103825321
220.7826467453769070.4347065092461870.217353254623093
230.7620374573506260.4759250852987490.237962542649374
240.9049426363402310.1901147273195370.0950573636597687
250.8965624751101240.2068750497797530.103437524889876
260.8746494578389270.2507010843221450.125350542161073
270.836622713666920.3267545726661610.163377286333080
280.7918567159136940.4162865681726110.208143284086306
290.8291767211758290.3416465576483430.170823278824171
300.8006383974151370.3987232051697260.199361602584863
310.7490943226523590.5018113546952820.250905677347641
320.7987051438934340.4025897122131330.201294856106566
330.8513832109368440.2972335781263120.148616789063156
340.8485543197866910.3028913604266180.151445680213309
350.817480493062070.3650390138758610.182519506937930
360.8704467954346130.2591064091307740.129553204565387
370.8342330469235230.3315339061529550.165766953076477
380.7967119809253710.4065760381492570.203288019074629
390.8448043294390240.3103913411219530.155195670560976
400.801586377111530.3968272457769410.198413622888471
410.8254775816949820.3490448366100370.174522418305019
420.7918165390983270.4163669218033470.208183460901673
430.737928699257910.5241426014841810.262071300742090
440.7067597568849820.5864804862300350.293240243115018
450.8427860974862590.3144278050274820.157213902513741
460.8349203050042310.3301593899915380.165079694995769
470.7848386657781880.4303226684436230.215161334221812
480.7876429249016850.424714150196630.212357075098315
490.7381742976811720.5236514046376570.261825702318828
500.6841842453986450.631631509202710.315815754601355
510.6565515711814950.686896857637010.343448428818505
520.5942508581837230.8114982836325540.405749141816277
530.6210246916513420.7579506166973160.378975308348658
540.5430209376303340.9139581247393320.456979062369666
550.4876216517528680.9752433035057360.512378348247132
560.4979652799830.9959305599660.502034720017
570.4860854625307910.9721709250615820.513914537469209
580.400463595367680.800927190735360.59953640463232
590.3153518060397260.6307036120794520.684648193960274
600.4287461193358190.8574922386716370.571253880664181
610.3364926340227130.6729852680454260.663507365977287
620.2647268325760320.5294536651520640.735273167423968
630.3846667721078810.7693335442157620.615333227892119
640.3028672558060890.6057345116121790.69713274419391
650.2025439322386440.4050878644772870.797456067761356
660.1712594444267020.3425188888534030.828740555573299
670.1025765865462510.2051531730925010.89742341345375


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level00OK
10% type I error level00OK
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229714481w4ipy3jqv5uxpod/10tqgi1229714378.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229714481w4ipy3jqv5uxpod/10tqgi1229714378.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229714481w4ipy3jqv5uxpod/1lee91229714378.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229714481w4ipy3jqv5uxpod/1lee91229714378.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229714481w4ipy3jqv5uxpod/245ec1229714378.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229714481w4ipy3jqv5uxpod/245ec1229714378.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229714481w4ipy3jqv5uxpod/3y0i11229714378.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229714481w4ipy3jqv5uxpod/3y0i11229714378.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229714481w4ipy3jqv5uxpod/4941z1229714378.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229714481w4ipy3jqv5uxpod/4941z1229714378.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229714481w4ipy3jqv5uxpod/5mauu1229714378.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229714481w4ipy3jqv5uxpod/5mauu1229714378.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229714481w4ipy3jqv5uxpod/6ngnl1229714378.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229714481w4ipy3jqv5uxpod/6ngnl1229714378.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229714481w4ipy3jqv5uxpod/717z91229714378.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229714481w4ipy3jqv5uxpod/717z91229714378.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229714481w4ipy3jqv5uxpod/8qzwq1229714378.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229714481w4ipy3jqv5uxpod/8qzwq1229714378.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229714481w4ipy3jqv5uxpod/90glq1229714378.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229714481w4ipy3jqv5uxpod/90glq1229714378.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