Home » date » 2010 » Dec » 21 »

totaal verband huwelijken

*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 16:56:19 +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/t1292950510ohsghaiz6avqf9p.htm/, Retrieved Tue, 21 Dec 2010 17:55:13 +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/t1292950510ohsghaiz6avqf9p.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 «
3111 5140 17153 2.5 766 332 2.4 3995 4749 15579 1.8 294 369 2.4 5245 3635 16755 7.3 235 384 2.4 5588 4305 16585 9.9 462 373 2.1 10681 5805 16572 13.2 919 378 2 10516 4260 16325 17.8 346 426 2 7496 3869 17913 18.8 298 423 2.1 9935 7325 17572 19.3 92 397 2.1 10249 9280 17338 13.9 516 422 2 6271 6222 17087 7.5 843 409 2 3616 3272 15864 8 395 430 2 3724 7598 15554 4 961 412 1.7 2886 1345 16229 3.6 1231 470 1.3 3318 1900 15180 4.8 794 491 1.2 4166 1480 16215 5.9 420 504 1.1 6401 1472 15801 10.4 331 484 1.4 9209 3823 15751 12.3 312 474 1.5 9820 4454 16477 15.5 692 508 1.4 7470 3357 17324 16.7 1221 492 1.1 8207 5393 16919 18.8 1272 452 1.1 9564 8329 16438 15.2 622 457 1 5309 4152 16239 11.3 479 457 1.4 3385 4042 15613 6.3 757 471 1.3 3706 7747 15821 3.2 463 451 1.2 2733 1451 15678 5.3 534 493 1.5 3045 911 14671 2.4 731 514 1.6 3449 406 15876 6.5 498 522 1.8 5542 1387 15563 10.4 629 490 1.5 10072 2150 15711 12.6 542 484 1.3 9418 1577 15583 16.8 519 506 1.6 7516 2642 16405 17.7 1585 501 1 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
Huwelijken[t] = + 7270.78638085991 + 0.0869901293393463Bevolkingsgroei[t] -0.175888955024297Geboren[t] -38.565074594599Temperatuur[t] -0.258520623093773Neerslag[t] -1.41320204678115Werkloosheid[t] + 30.2323718036725Inflatie[t] -578.711642819251M1[t] -409.630439481128M2[t] + 610.844334265767M3[t] + 2147.89574865248M4[t] + 5925.56545095872M5[t] + 7199.88386614753M6[t] + 4930.08034743293M7[t] + 5866.94384742782M8[t] + 6643.60366670009M9[t] + 2285.87677065696M10[t] + 221.407773907214M11[t] -12.3368101713973t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)7270.786380859915587.8478271.30120.1977910.098895
Bevolkingsgroei0.08699012933934630.0723611.20220.2336580.116829
Geboren-0.1758889550242970.35502-0.49540.6219650.310982
Temperatuur-38.56507459459965.390725-0.58980.5573940.278697
Neerslag-0.2585206230937730.289266-0.89370.3747730.187386
Werkloosheid-1.413202046781152.385051-0.59250.5555550.277777
Inflatie30.2323718036725216.2792230.13980.8892630.444631
M1-578.711642819251566.876613-1.02090.3110970.155549
M2-409.630439481128495.312569-0.8270.4112550.205627
M3610.844334265767593.2675721.02960.3070010.153501
M42147.89574865248661.349763.24770.0018420.000921
M55925.56545095872864.4380216.854800
M67199.883866147531011.0170137.121400
M74930.080347432931336.9009633.68770.0004640.000232
M85866.943847427821207.3734614.85938e-064e-06
M96643.603666700091001.6576256.632600
M102285.87677065696770.8612642.96540.0042240.002112
M11221.407773907214550.5629920.40210.6888950.344447
t-12.33681017139739.479391-1.30140.1977040.098852


Multiple Linear Regression - Regression Statistics
Multiple R0.965872174048335
R-squared0.932909056600858
Adjusted R-squared0.914330026121095
F-TEST (value)50.2130107174885
F-TEST (DF numerator)18
F-TEST (DF denominator)65
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation830.801484505861
Sum Squared Residuals44865021.9327143


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
131113418.77907616289-307.779076162888
239953915.0883545517579.9116454482514
352454401.42067872516843.57932127484
455885861.84192753722-273.841927537219
5106819504.44865176611176.55134823391
61051610578.3743544973-62.3743544972917
774967964.01598309564-468.01598309564
899359319.87465785553615.125342144474
91024910355.7067555597-106.706755559689
1062715944.42722179846326.572778201536
1136163892.97018418727-276.970184187271
1237244114.37602669648-390.376026696481
1328862712.22004447325173.779955526754
1433183135.74641585949182.253584140512
1541663958.1737238568207.826276143199
1664015441.80968667384959.190313326163
1792099369.24432839392-160.244328393917
18982010285.7031414275-465.70314142754
1974707589.66271782797-119.662717827974
2082078724.89321121602-517.893211216017
21956410126.0052535611-562.005253561138
2253095627.05086788881-318.050867888811
2333853748.93120650317-363.931206503173
2437064021.69774716987-315.697747169867
2527332758.48516511515-25.4851651151477
2630453079.63121392092-34.6312139209192
2734493728.75232870525-279.752328705248
2855425245.74025413674296.259745863256
29100728991.49591763491080.5040823651
30941810048.0978923297-630.097892329733
3175167410.79578904098105.204210959025
3278408706.75868713283-866.75868713283
33100819988.5820691727392.4179308272709
3449565349.70848381099-393.708483810993
3536413446.92366969363194.076330306369
3639703582.76652934973387.233470650275
3729312863.3736744425767.6263255574284
3831703045.29039777014124.709602229863
3938893720.6786344413168.321365558702
4048505403.3791114974-553.379111497395
4180378681.81256043576-644.812560435757
421237010229.78357178112140.2164282189
4367127453.5077708909-741.507770890901
4472978607.10205860296-1310.10205860296
45106139885.46301012558727.536989874419
4651845159.9327714840624.0672285159417
4735063192.35792780531313.642072194694
4838103610.82232243916199.177677560841
4926922495.58384964276196.416150357241
5030733192.1227735295-119.122773529502
5137133733.31828633593-20.3182863359336
5245555449.86909687606-894.869096876063
5378078861.4926800107-1054.49268001071
541086910154.6939208246714.306079175372
5596827413.604672754392268.39532724562
5677048936.6065860453-1232.6065860453
57982610135.589668627-309.589668627031
5854565682.53249708426-226.532497084262
5936773570.85742092606106.14257907394
6034313717.27674185623-286.276741856225
6127652714.1382214212650.8617785787389
6234833338.4075752846144.5924247154
6334453971.67468036696-526.674680366962
6460815687.55812189242393.441878107579
6587679073.40846927403-306.408469274026
66940710388.3280973337-981.328097333682
6765517506.92692838925-955.926928389249
68124808933.32544249533546.67455750471
69953010469.2204213197-939.220421319668
7059605769.85767312505190.14232687495
7132523705.50519435614-453.505194356141
7237173843.4543915331-126.454391533102
7326422797.41996874213-155.419968742127
7429893366.71326908361-377.713269083606
7536073999.9816675686-392.981667568598
7653665292.8018013863273.1981986136801
7788988989.0973924846-91.0973924846063
78943510150.019021806-715.01902180602
7973287416.48613800088-88.4861380008768
8085948828.43935665207-234.439356652074
811134910251.43282163421097.56717836584
8257975399.49048480836397.509515191638
8336213140.45439652842480.545603471583
8438513318.60624095544532.393759044559


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
220.3265175609463140.6530351218926280.673482439053686
230.182027695478320.3640553909566390.81797230452168
240.2270637997851970.4541275995703940.772936200214803
250.1307835327247610.2615670654495210.86921646727524
260.07177217058035260.1435443411607050.928227829419647
270.04715016321105880.09430032642211770.952849836788941
280.02744698477324480.05489396954648950.972553015226755
290.03640908597559530.07281817195119050.963590914024405
300.01997694344052510.03995388688105010.980023056559475
310.01487903880103040.02975807760206070.98512096119897
320.01027652453129350.02055304906258710.989723475468706
330.005793397777049540.01158679555409910.99420660222295
340.0034986557396290.0069973114792580.99650134426037
350.002860790266570670.005721580533141340.99713920973343
360.00193607881037690.00387215762075380.998063921189623
370.001059406613520340.002118813227040680.99894059338648
380.0004773501891371790.0009547003782743590.999522649810863
390.0002231395265927880.0004462790531855760.999776860473407
400.0001754740013678660.0003509480027357320.999824525998632
410.0002334574677582150.000466914935516430.999766542532242
420.0277012759115450.05540255182309010.972298724088455
430.02839387158972280.05678774317944570.971606128410277
440.0432817679904610.0865635359809220.95671823200954
450.03674537177675610.07349074355351210.963254628223244
460.02345848618466480.04691697236932970.976541513815335
470.01652050428518440.03304100857036890.983479495714816
480.01093683174518340.02187366349036670.989063168254817
490.006166488497336710.01233297699467340.993833511502663
500.003364205638781260.006728411277562520.996635794361219
510.002058389894447180.004116779788894370.997941610105553
520.003153756802481930.006307513604963870.996846243197518
530.003944459247193970.007888918494387940.996055540752806
540.002527436611757110.005054873223514220.997472563388243
550.03392253069268460.06784506138536920.966077469307315
560.08437075410069930.1687415082013990.9156292458993
570.05815349676548720.1163069935309740.941846503234513
580.03508551566014140.07017103132028280.964914484339859
590.01946187611588420.03892375223176840.980538123884116
600.01104510049784010.02209020099568020.98895489950216
610.00549733226454360.01099466452908720.994502667735456
620.002150378715924150.00430075743184830.997849621284076


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level140.341463414634146NOK
5% type I error level250.609756097560976NOK
10% type I error level340.829268292682927NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292950510ohsghaiz6avqf9p/1092o81292950569.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292950510ohsghaiz6avqf9p/1092o81292950569.ps (open in new window)


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


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


http://www.freestatistics.org/blog/date/2010/Dec/21/t1292950510ohsghaiz6avqf9p/3dsqh1292950569.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292950510ohsghaiz6avqf9p/3dsqh1292950569.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t1292950510ohsghaiz6avqf9p/4dsqh1292950569.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292950510ohsghaiz6avqf9p/4dsqh1292950569.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t1292950510ohsghaiz6avqf9p/5dsqh1292950569.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292950510ohsghaiz6avqf9p/5dsqh1292950569.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t1292950510ohsghaiz6avqf9p/66kp21292950569.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292950510ohsghaiz6avqf9p/66kp21292950569.ps (open in new window)


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


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


http://www.freestatistics.org/blog/date/2010/Dec/21/t1292950510ohsghaiz6avqf9p/9yt651292950569.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292950510ohsghaiz6avqf9p/9yt651292950569.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