Home » date » 2008 » Dec » 07 »

invoer - werkloosheid

*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: Sun, 07 Dec 2008 07:27:22 -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/07/t1228660181rmgqdr7grl9uk7a.htm/, Retrieved Sun, 07 Dec 2008 14:29:42 +0000
 
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/07/t1228660181rmgqdr7grl9uk7a.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},
}
 
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
 
Feedback Forum:
2008-11-27 13:41:43 [a2386b643d711541400692649981f2dc] [reply
test

Post a new message
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
11554.5 7.5 13182.1 7.2 14800.1 6.9 12150.7 6.7 14478.2 6.4 13253.9 6.3 12036.8 6.8 12653.2 7.3 14035.4 7.1 14571.4 7.1 15400.9 6.8 14283.2 6.5 14485.3 6.3 14196.3 6.1 15559.1 6.1 13767.4 6.3 14634 6.3 14381.1 6 12509.9 6.2 12122.3 6.4 13122.3 6.8 13908.7 7.5 13456.5 7.5 12441.6 7.6 12953 7.6 13057.2 7.4 14350.1 7.3 13830.2 7.1 13755.5 6.9 13574.4 6.8 12802.6 7.5 11737.3 7.6 13850.2 7.8 15081.8 8 13653.3 8.1 14019.1 8.2 13962 8.3 13768.7 8.2 14747.1 8 13858.1 7.9 13188 7.6 13693.1 7.6 12970 8.2 11392.8 8.3 13985.2 8.4 14994.7 8.4 13584.7 8.4 14257.8 8.6 13553.4 8.9 14007.3 8.8 16535.8 8.3 14721.4 7.5 13664.6 7.2 16805.9 7.5 13829.4 8.8 13735.6 9.3 15870.5 9.3 15962.4 8.7 15744.1 8.2 16083.7 8.3 14863.9 8.5 15533.1 8.6 17473.1 8.6 15925.5 8.2 15573.7 8.1 17495 8 14155.8 8.6 14913.9 8.7 17250.4 8.8 15879.8 8.5 17647.8 8.4 17749.9 8.5 17111.8 8.7 16934.8 8.7 20280 8.6 16238.2 8.5 17896.1 8.3 18089.3 8.1 15660 8.2 16162.4 8.1 17850.1 8.1 18520.4 7.9 18524.7 7.9 16843.7 7.9
 
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 time7 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001


Multiple Linear Regression - Estimated Regression Equation
Invoer[t] = + 18263.6991138870 -865.008398021156Werkloosheid[t] -154.337544400460M1[t] -16.7039004027792M2[t] + 1624.38640656512M3[t] -543.895194925334M4[t] -408.547985043754M5[t] + 38.5860188691167M6[t] -1448.31743563298M7[t] -1530.62400940008M8[t] + 358.725599916112M9[t] + 679.002820887032M10[t] + 373.379322027568M11[t] + 77.1653962284749t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)18263.69911388701459.56408612.513100
Werkloosheid-865.008398021156209.802535-4.1230.0001015.1e-05
M1-154.337544400460488.896239-0.31570.753180.37659
M2-16.7039004027792485.448118-0.03440.9726490.486324
M31624.38640656512483.7776183.35770.0012740.000637
M4-543.895194925334486.970763-1.11690.2678580.133929
M5-408.547985043754494.642372-0.82590.4116410.20582
M638.5860188691167499.1904240.07730.9386080.469304
M7-1448.31743563298482.920155-2.99910.0037480.001874
M8-1530.62400940008483.253754-3.16730.002280.00114
M9358.725599916112483.9366830.74130.4610120.230506
M10679.002820887032483.1030841.40550.1642950.082147
M11373.379322027568482.3711610.7740.4415080.220754
t77.16539622847496.81153411.328600


Multiple Linear Regression - Regression Statistics
Multiple R0.891232133751907
R-squared0.794294716231977
Adjusted R-squared0.756092306389345
F-TEST (value)20.7917437539652
F-TEST (DF numerator)13
F-TEST (DF denominator)70
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation902.376677379974
Sum Squared Residuals56999856.7515525


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
111554.511698.9639805563-144.463980556320
213182.112173.26554018881008.83445981119
314800.114151.0237627915649.076237208475
412150.712232.9092371338-82.2092371337771
514478.212704.92436265021773.27563734982
613253.913315.7246025936-61.8246025936413
712036.811473.4823453094563.317654690562
812653.211035.83696876021617.36303123977
914035.413175.3536539091860.046346090863
1014571.413572.7962711085998.603728891467
1115400.913603.84068788391797.05931211611
1214283.213567.1292814911716.070718508858
1314485.313662.9588129234822.34118707661
1414196.314050.7595327538145.540467246223
1515559.115769.0152359501-209.915235950150
1613767.413504.8973510839262.502648916059
171463413717.409957194916.590042806006
1814381.114501.2118767417-120.111876741687
1912509.912918.4721388638-408.572138863831
2012122.312740.3292817210-618.029281720974
2113122.314360.8409280572-1238.54092805718
2213908.714152.7776666418-244.077666641767
2313456.513924.3195640108-467.819564010779
2412441.613541.6047984096-1100.00479840957
251295313464.4326502376-511.432650237585
2613057.213852.2333700680-795.033370067971
2714350.115656.9899130665-1306.88991306646
2813830.213738.875387408791.324612591286
2913755.514124.389673123-368.889673123000
3013574.414735.1899130665-1160.78991306646
3112802.612719.945976178082.6540238219735
3211737.312628.3039588373-891.003958837286
3313850.214421.8172847777-571.617284777724
3415081.814646.2582223729435.54177762711
3513653.314331.2992799398-677.999279939785
3614019.113948.584514338670.5154856614242
371396213784.9115263645177.088473635526
3813768.714086.2114063927-317.511406392746
3914747.115977.4687891933-1230.36878919335
4013858.113972.8534237335-114.753423733488
411318814444.8685492499-1256.86854924989
4213693.114969.1679493912-1276.06794939124
431297013040.4248523049-70.4248523049171
4411392.812948.7828349642-1555.98283496417
4513985.214828.7970007067-843.597000706729
4614994.715226.2396179061-231.539617906124
4713584.714997.7815152751-1413.08151527513
4814257.814528.5659098718-270.765909871813
4913553.414191.8912422935-638.49124229348
5014007.314493.1911223218-485.891122321751
5116535.816643.9510245287-108.151024528703
5214721.415244.8415376836-523.44153768365
5313664.615716.8566632001-2052.25666320005
5416805.915981.6535439351824.246456064952
5513829.413447.4045682339381.995431766079
5613735.613009.7591916847725.840808315283
5715870.514976.2741972294894.225802770612
5815962.415892.721853241569.6781467585216
5915744.116096.7679496211-352.667949621066
6016083.715714.0531840199369.646815980143
6114863.915463.8793562436-599.979356243642
6215533.115592.1775566677-59.077556667682
6317473.117310.4332598641162.666740135943
6415925.515565.3204138105360.17958618946
6515573.715864.3338597227-290.633859722709
661749516475.13409966621019.86590033383
6714155.814546.3910025799-390.591002579853
6814913.914454.7489852391459.151014760889
6917250.416334.7631509817915.636849018336
7015879.816991.7082875874-1111.90828758741
7117647.816849.7510247585798.048975241465
7217749.916467.03625915731282.86374084268
7317111.816216.8624313811894.93756861889
7416934.816431.6614716073503.138528392734
752028018236.41801460582043.58198539425
7616238.216231.80264914596.39735085410969
7717896.116617.31693486021278.78306513982
7818089.317314.6180146058774.681985394245
791566015818.37911653-158.379116530014
8016162.415899.7387787935262.661221206496
8117850.117866.2537843382-16.1537843381752
8218520.418436.698081141883.7019188582013
8318524.718208.2399785108316.46002148919
8416843.717912.0260527117-1068.32605271172


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.5222881156528890.9554237686942210.477711884347111
180.3793375400783980.7586750801567970.620662459921602
190.3139608476684080.6279216953368170.686039152331592
200.601651988635930.796696022728140.39834801136407
210.6452996897058950.7094006205882090.354700310294105
220.5496337939064820.9007324121870350.450366206093518
230.4908873480210240.9817746960420480.509112651978976
240.3919172425215260.7838344850430520.608082757478474
250.4368874296686990.8737748593373980.563112570331301
260.3599492127291840.7198984254583670.640050787270816
270.281766817934240.563533635868480.71823318206576
280.4156650827552330.8313301655104650.584334917244767
290.3940381282263230.7880762564526450.605961871773677
300.3225138843080820.6450277686161650.677486115691918
310.4484373752218390.8968747504436790.551562624778161
320.3821847944126480.7643695888252950.617815205587352
330.3634224250261380.7268448500522770.636577574973862
340.5076464980574410.9847070038851190.492353501942559
350.4394477360885370.8788954721770730.560552263911463
360.5074326390245570.9851347219508860.492567360975443
370.6380047891977740.7239904216044510.361995210802225
380.639395820479550.72120835904090.36060417952045
390.5826107454643010.8347785090713970.417389254535698
400.5871794692274330.8256410615451350.412820530772567
410.5808359776035670.8383280447928660.419164022396433
420.57344460818540.85311078362920.4265553918146
430.6191285866719170.7617428266561660.380871413328083
440.6058018543534140.7883962912931720.394198145646586
450.5468562723819710.9062874552360570.453143727618029
460.525484920379870.9490301592402590.474515079620130
470.5790524403152030.8418951193695950.420947559684797
480.5358339959704880.9283320080590230.464166004029512
490.4984586690060570.9969173380121140.501541330993943
500.4506692628143890.9013385256287770.549330737185611
510.4914352661791650.982870532358330.508564733820835
520.4752439721662610.9504879443325220.524756027833739
530.512221588480910.975556823038180.48777841151909
540.7268254266408190.5463491467183620.273174573359181
550.7167285349818630.5665429300362730.283271465018137
560.7120741139228050.5758517721543910.287925886077195
570.7056122733955220.5887754532089550.294387726604478
580.6411484415768570.7177031168462870.358851558423143
590.5694075802682590.8611848394634820.430592419731741
600.5574525115900220.8850949768199570.442547488409978
610.4878135215181250.975627043036250.512186478481875
620.3922082988177860.7844165976355720.607791701182214
630.4754250172238030.9508500344476070.524574982776197
640.4570035187473590.9140070374947180.542996481252641
650.4164037161916130.8328074323832250.583596283808387
660.3557246517679150.711449303535830.644275348232085
670.2204927316654920.4409854633309840.779507268334508


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/07/t1228660181rmgqdr7grl9uk7a/104uv71228660029.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t1228660181rmgqdr7grl9uk7a/104uv71228660029.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t1228660181rmgqdr7grl9uk7a/14h5y1228660029.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t1228660181rmgqdr7grl9uk7a/14h5y1228660029.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t1228660181rmgqdr7grl9uk7a/2o5c41228660029.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t1228660181rmgqdr7grl9uk7a/2o5c41228660029.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t1228660181rmgqdr7grl9uk7a/38okp1228660029.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t1228660181rmgqdr7grl9uk7a/38okp1228660029.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t1228660181rmgqdr7grl9uk7a/4p7vf1228660029.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t1228660181rmgqdr7grl9uk7a/4p7vf1228660029.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t1228660181rmgqdr7grl9uk7a/5fqor1228660029.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t1228660181rmgqdr7grl9uk7a/5fqor1228660029.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t1228660181rmgqdr7grl9uk7a/6kzsx1228660029.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t1228660181rmgqdr7grl9uk7a/6kzsx1228660029.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t1228660181rmgqdr7grl9uk7a/7m5ru1228660029.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t1228660181rmgqdr7grl9uk7a/7m5ru1228660029.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t1228660181rmgqdr7grl9uk7a/82ixm1228660029.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t1228660181rmgqdr7grl9uk7a/82ixm1228660029.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t1228660181rmgqdr7grl9uk7a/9l1z61228660029.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t1228660181rmgqdr7grl9uk7a/9l1z61228660029.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