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:04:00 -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/t1228658738kiswn4cuns06mhr.htm/, Retrieved Sun, 07 Dec 2008 14:05:47 +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/t1228658738kiswn4cuns06mhr.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 time5 seconds
R Server'George Udny Yule' @ 72.249.76.132
R Framework
error message
Warning: there are blank lines in the 'Data X' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.


Multiple Linear Regression - Estimated Regression Equation
Invoer[t] = + 7986.79591415483 + 872.617388223272Werkloosheid[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)7986.795914154831729.1685224.61891.4e-057e-06
Werkloosheid872.617388223272221.7842013.93450.0001748.7e-05


Multiple Linear Regression - Regression Statistics
Multiple R0.398505447141509
R-squared0.158806591401454
Adjusted R-squared0.148548135199033
F-TEST (value)15.4805546046949
F-TEST (DF numerator)1
F-TEST (DF denominator)82
p-value0.000173749291904057
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1685.99065390924
Sum Squared Residuals233090287.775684


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
111554.514531.4263258293-2976.92632582934
213182.114269.6411093624-1087.54110936238
314800.114007.8558928954792.244107104598
412150.713833.3324152507-1682.63241525075
514478.213571.5471987838906.652801216235
613253.913484.2854599614-230.385459961439
712036.813920.5941540731-1883.79415407308
812653.214356.9028481847-1703.70284818471
914035.414182.3793705401-146.979370540056
1014571.414182.3793705401389.020629459944
1115400.913920.59415407311480.30584592693
1214283.213658.8089376061624.391062393908
1314485.313484.28545996141001.01454003856
1414196.313309.7619823168886.538017683215
1515559.113309.76198231682249.33801768322
1613767.413484.2854599614283.114540038561
171463413484.28545996141149.71454003856
1814381.113222.50024349451158.59975650554
1912509.913397.0237211391-887.123721139112
2012122.313571.5471987838-1449.24719878377
2113122.313920.5941540731-798.294154073075
2213908.714531.4263258294-622.726325829364
2313456.514531.4263258294-1074.92632582937
2412441.614618.6880646517-2177.08806465169
251295314618.6880646517-1665.68806465169
2613057.214444.1645870070-1386.96458700704
2714350.114356.9028481847-6.80284818471017
2813830.214182.3793705401-352.179370540055
2913755.514007.8558928954-252.355892895402
3013574.413920.5941540731-346.194154073075
3112802.614531.4263258294-1728.82632582936
3211737.314618.6880646517-2881.38806465169
3313850.214793.2115422963-943.011542296346
3415081.814967.735019941114.064980058998
3513653.315054.9967587633-1401.69675876333
3614019.115142.2584975857-1123.15849758565
371396215229.5202364080-1267.52023640798
3813768.715142.2584975857-1373.55849758565
3914747.114967.735019941-220.635019941001
4013858.114880.4732811187-1022.37328111867
411318814618.6880646517-1430.68806465169
4213693.114618.6880646517-925.588064651692
431297015142.2584975857-2172.25849758565
4411392.815229.5202364080-3836.72023640798
4513985.215316.7819752303-1331.58197523031
4614994.715316.7819752303-322.081975230309
4713584.715316.7819752303-1732.08197523031
4814257.815491.3054528750-1233.50545287496
4913553.415753.0906693419-2199.69066934195
5014007.315665.8289305196-1658.52893051962
5116535.815229.52023640801306.27976359202
5214721.414531.4263258294189.973674170635
5313664.614269.6411093624-605.041109362383
5416805.914531.42632582942274.47367417064
5513829.415665.8289305196-1836.42893051962
5613735.616102.1376246313-2366.53762463125
5715870.516102.1376246313-231.637624631255
5815962.415578.5671916973383.832808302709
5915744.115142.2584975857601.841502414346
6016083.715229.5202364080854.179763592017
6114863.915404.0437140526-540.143714052637
6215533.115491.305452875041.7945471250365
6317473.115491.30545287501981.79454712503
6415925.515142.2584975857783.241502414345
6515573.715054.9967587633518.703241236673
661749514967.7350199412527.264980059
6714155.815491.3054528750-1335.50545287496
6814913.915578.5671916973-664.667191697291
6917250.415665.82893051961584.57106948038
7015879.815404.0437140526475.756285947362
7117647.815316.78197523032331.01802476969
7217749.915404.04371405262345.85628594736
7317111.815578.56719169731533.23280830271
7416934.815578.56719169731356.23280830271
752028015491.30545287504788.69454712504
7616238.215404.0437140526834.156285947364
7717896.115229.52023640802666.57976359202
7818089.315054.99675876333034.30324123667
791566015142.2584975857517.741502414345
8016162.415054.99675876331107.40324123667
8117850.115054.99675876332795.10324123667
8218520.414880.47328111873639.92671888133
8318524.714880.47328111873644.22671888133
8416843.714880.47328111871963.22671888133


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.3906935851823510.7813871703647010.609306414817649
60.2843809624164240.5687619248328480.715619037583576
70.2376311684637070.4752623369274140.762368831536293
80.1460917157944700.2921834315889400.85390828420553
90.1245970158727940.2491940317455880.875402984127206
100.1328292978174120.2656585956348240.867170702182588
110.1760896275638920.3521792551277840.823910372436108
120.1175782166415860.2351564332831720.882421783358414
130.07543444379348960.1508688875869790.92456555620651
140.04666058298099410.09332116596198820.953339417019006
150.03962706526515260.07925413053030520.960372934734847
160.02540822999005650.05081645998011310.974591770009943
170.0155842351971550.031168470394310.984415764802845
180.009660277576922780.01932055515384560.990339722423077
190.01419757210276360.02839514420552730.985802427897236
200.01966703723741840.03933407447483670.980332962762582
210.01217467346532810.02434934693065620.987825326534672
220.00897886508090360.01795773016180720.991021134919096
230.00549524096134420.01099048192268840.994504759038656
240.003947032382958780.007894064765917560.99605296761704
250.002442098126618210.004884196253236420.997557901873382
260.001450955854317390.002901911708634790.998549044145683
270.001149895691198800.002299791382397610.9988501043088
280.0006502229468946610.001300445893789320.999349777053105
290.0003440698125269960.0006881396250539910.999655930187473
300.0001786420196626630.0003572840393253260.999821357980337
310.0001178330483534110.0002356660967068220.999882166951647
320.0002032201687499310.0004064403374998630.99979677983125
330.0001724908388845850.0003449816777691700.999827509161115
340.0003965433203414240.0007930866406828480.999603456679659
350.0002900156509310750.0005800313018621490.999709984349069
360.0002261061830064640.0004522123660129280.999773893816994
370.0001684363265619810.0003368726531239630.999831563673438
380.0001196897985078380.0002393795970156760.999880310201492
390.0001099626799851610.0002199253599703220.999890037320015
407.69386108410007e-050.0001538772216820010.99992306138916
417.6054214395826e-050.0001521084287916520.999923945785604
426.71717850652602e-050.0001343435701305200.999932828214935
438.64643373727668e-050.0001729286747455340.999913535662627
440.001076829407021330.002153658814042670.998923170592979
450.0011072696421770.0022145392843540.998892730357823
460.001377326997217050.002754653994434090.998622673002783
470.001663961848437350.00332792369687470.998336038151563
480.001668852592161730.003337705184323450.998331147407838
490.002031050032786130.004062100065572270.997968949967214
500.002357081465745030.004714162931490060.997642918534255
510.007000478400719820.01400095680143960.99299952159928
520.00883177009676860.01766354019353720.991168229903231
530.04257060992410130.08514121984820270.957429390075899
540.09432607600802230.1886521520160450.905673923991978
550.1142773446549210.2285546893098420.88572265534508
560.1210261673981430.2420523347962860.878973832601857
570.1229582864736280.2459165729472570.877041713526372
580.1246429742691290.2492859485382580.875357025730871
590.1359035438116960.2718070876233920.864096456188304
600.1418618910549840.2837237821099690.858138108945016
610.1628269607771480.3256539215542960.837173039222852
620.1600097268738500.3200194537476990.83999027312615
630.2081540835845190.4163081671690380.791845916415481
640.2102794978984350.4205589957968690.789720502101566
650.2426812922133030.4853625844266070.757318707786697
660.2679281494084310.5358562988168620.732071850591569
670.4383574459827910.8767148919655820.561642554017209
680.5580466741469260.8839066517061480.441953325853074
690.5265842229155560.9468315541688870.473415777084444
700.5614657875143590.8770684249712820.438534212485641
710.5346921047525970.9306157904948070.465307895247403
720.4985239316976880.9970478633953760.501476068302312
730.434046911084560.868093822169120.56595308891544
740.3841925293478710.7683850586957410.615807470652129
750.8688277679337370.2623444641325250.131172232066263
760.7880147382173030.4239705235653940.211985261782697
770.8262108130201040.3475783739597920.173789186979896
780.8343147757939680.3313704484120640.165685224206032
790.7228487720713020.5543024558573970.277151227928698


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level270.36NOK
5% type I error level360.48NOK
10% type I error level400.533333333333333NOK
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t1228658738kiswn4cuns06mhr/10m8fu1228658633.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t1228658738kiswn4cuns06mhr/10m8fu1228658633.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t1228658738kiswn4cuns06mhr/1liu91228658633.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t1228658738kiswn4cuns06mhr/1liu91228658633.ps (open in new window)


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


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t1228658738kiswn4cuns06mhr/3ymjl1228658633.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t1228658738kiswn4cuns06mhr/3ymjl1228658633.ps (open in new window)


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


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


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


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


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t1228658738kiswn4cuns06mhr/8qjs71228658633.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t1228658738kiswn4cuns06mhr/8qjs71228658633.ps (open in new window)


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