Home » date » 2008 » Dec » 17 »

Werkloosheid- Azië

*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: Wed, 17 Dec 2008 07:21:21 -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/17/t1229523867ws7rq4kl6dx4vyi.htm/, Retrieved Wed, 17 Dec 2008 15:24:32 +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/17/t1229523867ws7rq4kl6dx4vyi.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 «
180144 1235.8 173666 1147.1 165688 1376.9 161570 1157.7 156145 1506 153730 1271.3 182698 1240.2 200765 1408.3 176512 1334.6 166618 1601.2 158644 1566.4 159585 1297.5 163095 1487.6 159044 1320.9 155511 1514 153745 1290.9 150569 1392.5 150605 1288.2 179612 1304.4 194690 1297.8 189917 1211 184128 1454 175335 1405.7 179566 1160.8 181140 1492.1 177876 1263 175041 1376.3 169292 1368.6 166070 1427.6 166972 1339.8 206348 1248.3 215706 1309.8 202108 1424 195411 1590.5 193111 1423.1 195198 1355.3 198770 1515 194163 1385.6 190420 1430 189733 1494.2 186029 1580.9 191531 1369.8 232571 1407.5 243477 1388.3 227247 1478.5 217859 1630.4 208679 1413.5 213188 1493.8 216234 1641.3 213586 1465 209465 1725.1 204045 1628.4 200237 1679.8 203666 1876 241476 1669.4 260307 1712.4 243324 1768.8 244460 1820.5 233575 1776.2 237217 1693.7 235243 1799.1 230354 1917.5 227184 1887.2 221678 1787.8 217142 1803.8 219452 2196.4 256446 1759.5 265845 2002.6 248624 2056.8 241114 1851.1 229245 1984.3 231805 1725.3 219277 2096.6 219313 1792.2 212610 2029.9 214771 1785.3 211142 2026.5 211457 1930.8 240048 1845.5 240636 1943.1 230580 2066.8 208795 2354.4 197922 2190.7 194596 1929.6
 
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 time11 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001


Multiple Linear Regression - Estimated Regression Equation
werkloosheid[t] = + 94175.953920998 + 70.5633748642092`Azië`[t] -8628.7862470663M1[t] -2488.36245528899M2[t] -17637.0014831715M3[t] -12317.6258652760M4[t] -25360.9692298785M5[t] -22461.4582755446M6[t] + 20118.5833607707M7[t] + 25943.0143989531M8[t] + 8408.05284363553M9[t] -9846.33876628212M10[t] -13219.8442160858M11[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)94175.95392099813424.101767.015400
`Azië`70.56337486420927.5171319.38700
M1-8628.78624706639947.342272-0.86740.388620.19431
M2-2488.362455288999933.367001-0.25050.802920.40146
M3-17637.00148317159952.737607-1.77210.0806720.040336
M4-12317.62586527609926.832882-1.24080.2187490.109374
M5-25360.96922987859959.237892-2.54650.0130520.006526
M6-22461.45827554469947.683883-2.2580.0270240.013512
M720118.58336077079927.550552.02650.0464670.023233
M825943.01439895319935.2286112.61120.0110.0055
M98408.052843635539952.824780.84480.4010660.200533
M10-9846.3387662821210081.824454-0.97660.3320620.166031
M11-13219.84421608589996.183847-1.32250.190250.095125


Multiple Linear Regression - Regression Statistics
Multiple R0.812369983333462
R-squared0.659944989821209
Adjusted R-squared0.602470903593808
F-TEST (value)11.4824790290720
F-TEST (DF numerator)12
F-TEST (DF denominator)71
p-value2.21533902333704e-12
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation18569.1783972673
Sum Squared Residuals24481821430.8173


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1180144172749.3863311227394.6136688783
2173666172630.8387724441035.16122755651
3165688173697.663288356-8009.66328835625
4161570163549.547136017-1979.54713601715
5156145175083.427236619-18938.4272366186
6153730161421.714110323-7691.71411032266
7182698201807.234788361-19109.2347883610
8200765219493.369141217-18728.3691412170
9176512196757.886858407-20245.8868584073
10166618197315.690987288-30697.6909872878
11158644191486.580092210-32842.5800922096
12159585185731.932807310-26146.9328073096
13163095190517.244121929-27422.2441219294
14159044184894.753323843-25850.7533238431
15155511183371.901982239-27860.9019822393
16153745172948.588667930-19203.5886679298
17150569167074.484189531-16505.4841895309
18150605162614.235145528-12009.2351455278
19179612206337.403454643-26725.4034546433
20194690211696.116218722-17006.1162187219
21189917188036.2537251911880.74627480901
22184128186928.762207276-2800.76220727617
23175335180147.045751531-4812.04575153119
24179566176085.9194633723480.08053662785
25181140190834.779308818-9694.77930881835
26177876180809.133919205-2933.13391920534
27175041173655.3252634381385.67473656229
28169292178431.362894879-9139.36289487886
29166070169551.258647265-3481.25864726463
30166972166255.305288521716.694711478997
31206348202378.7981247613969.20187523888
32215706212542.8767170923163.12328290756
33202108203066.252571268-958.252571267552
34195411196560.662876241-1149.66287624073
35193111181374.84847416811736.1515258316
36195198189810.4958744615387.50412553916
37198770192450.6805932096319.31940679125
38194163189460.2036775574702.79632244262
39190420177444.57849364612975.4215063542
40189733187294.1227778242438.87722217645
41186029180368.6240139485660.37598605208
42191531168372.20653444723158.7934655527
43232571213612.48740314318958.5125968568
44243477218082.10164393325394.8983560672
45227247206911.95650136720335.0434986330
46217859199376.14153332318482.8584666773
47208679180697.44007547227981.559924528
48213188199583.52329315413604.4767068462
49216234201362.83483855814871.1651614416
50213586195062.93564177618523.0643582244
51209465198267.83041607411197.1695839261
52204045196763.7276846007281.27231539957
53200237187347.34178801812889.6582119818
54203666204091.38689071-425.386890709981
55241476232093.0352800809382.96471992038
56260307240951.69143742319355.3085625769
57243324227396.50422444715927.4957755531
58244460212790.23909500931669.7609049911
59233575206290.77613872127284.2238612793
60237217213689.14192850923527.8580714908
61235243212497.73539213122745.2646078694
62230354226992.8627678303361.13723216973
63227184209706.15348156217477.8465184378
64221678208011.52963795513666.4703620446
65217142196097.2002711821044.7997288198
66219452226699.892197203-7247.89219720262
67256446238450.79535534517995.2046446551
68265845261429.1828230174415.81717698343
69248624247718.756185339905.243814660847
70241114214949.47836585426164.5216341464
71229245220975.0144479638269.98555203736
72231805215918.94457421815886.0554257818
73219277233490.339414233-14213.3394142328
74219313218151.2718973451161.72810265514
75212610219775.547074685-7165.54707468486
76214771207835.1212007956935.87879920516
77211142211811.663853440-669.663853439544
78211457207958.2598332693498.74016673135
79240048244519.245593667-4471.24559366686
80240636257230.662018596-16594.6620185961
81230580248424.389933981-17844.3899339812
82208795250464.02493501-41669.0249350101
83197922235539.295019935-37617.2950199354
84194596230335.042058976-35739.0420589762


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.0005179283831267690.001035856766253540.999482071616873
170.01214049690918000.02428099381836000.98785950309082
180.003267094091621920.006534188183243850.996732905908378
190.0009755929808623310.001951185961724660.999024407019138
200.001839994971322980.003679989942645970.998160005028677
210.0008538085977187120.001707617195437420.999146191402281
220.0005523895883188870.001104779176637770.999447610411681
230.0002646455818260120.0005292911636520240.999735354418174
240.0002134976403082830.0004269952806165660.999786502359692
250.001457605772306360.002915211544612710.998542394227694
260.001941472477580760.003882944955161520.99805852752242
270.001661860860281720.003323721720563430.998338139139718
280.005509695555208060.01101939111041610.994490304444792
290.005887642214958360.01177528442991670.994112357785042
300.01036526059737880.02073052119475750.989634739402621
310.02993535573950040.05987071147900080.9700646442605
320.03842421446714980.07684842893429970.96157578553285
330.08801157803265950.1760231560653190.91198842196734
340.1417864931190900.2835729862381790.85821350688091
350.1934804066868810.3869608133737610.80651959331312
360.2980977835998840.5961955671997680.701902216400116
370.3908756043867890.7817512087735780.609124395613211
380.482594378870440.965188757740880.51740562112956
390.5645269045079370.8709461909841260.435473095492063
400.6488543087980190.7022913824039620.351145691201981
410.7190668223833020.5618663552333960.280933177616698
420.7941207410571680.4117585178856630.205879258942832
430.8563487389670470.2873025220659060.143651261032953
440.8963354831021080.2073290337957850.103664516897892
450.9088215524969540.1823568950060920.0911784475030458
460.9241692411072910.1516615177854170.0758307588927085
470.949627472755390.1007450544892190.0503725272446096
480.9434821700977320.1130356598045360.0565178299022682
490.9428838151066010.1142323697867980.0571161848933989
500.9532616855027130.0934766289945750.0467383144972875
510.950868123097780.09826375380444010.0491318769022201
520.9519217262623940.09615654747521180.0480782737376059
530.965528380886470.06894323822706010.0344716191135300
540.9731481373306710.05370372533865770.0268518626693288
550.9671394021222330.06572119575553470.0328605978777674
560.9523354686380050.09532906272399060.0476645313619953
570.9425807747536260.1148384504927480.057419225246374
580.923428811951710.1531423760965810.0765711880482904
590.8862027225285190.2275945549429620.113797277471481
600.8728940112096520.2542119775806960.127105988790348
610.813613634121730.3727727317565390.186386365878270
620.8036590508837830.3926818982324350.196340949116217
630.721226121432450.5575477571350990.278773878567550
640.6237559415327010.7524881169345980.376244058467299
650.5235421809749230.9529156380501550.476457819025077
660.6216471674476020.7567056651047950.378352832552398
670.4948086295475960.9896172590951910.505191370452404
680.6231720955161310.7536558089677370.376827904483869


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level110.207547169811321NOK
5% type I error level150.283018867924528NOK
10% type I error level240.452830188679245NOK
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/17/t1229523867ws7rq4kl6dx4vyi/107j221229523647.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/17/t1229523867ws7rq4kl6dx4vyi/107j221229523647.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/17/t1229523867ws7rq4kl6dx4vyi/1fc841229523647.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/17/t1229523867ws7rq4kl6dx4vyi/1fc841229523647.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/17/t1229523867ws7rq4kl6dx4vyi/2da4v1229523647.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/17/t1229523867ws7rq4kl6dx4vyi/2da4v1229523647.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/17/t1229523867ws7rq4kl6dx4vyi/33e3h1229523647.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/17/t1229523867ws7rq4kl6dx4vyi/33e3h1229523647.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/17/t1229523867ws7rq4kl6dx4vyi/418c31229523647.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/17/t1229523867ws7rq4kl6dx4vyi/418c31229523647.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/17/t1229523867ws7rq4kl6dx4vyi/5bp3j1229523647.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/17/t1229523867ws7rq4kl6dx4vyi/5bp3j1229523647.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/17/t1229523867ws7rq4kl6dx4vyi/65r8z1229523647.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/17/t1229523867ws7rq4kl6dx4vyi/65r8z1229523647.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/17/t1229523867ws7rq4kl6dx4vyi/7f8wm1229523647.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/17/t1229523867ws7rq4kl6dx4vyi/7f8wm1229523647.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/17/t1229523867ws7rq4kl6dx4vyi/8aw6x1229523647.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/17/t1229523867ws7rq4kl6dx4vyi/8aw6x1229523647.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/17/t1229523867ws7rq4kl6dx4vyi/9c7y01229523647.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/17/t1229523867ws7rq4kl6dx4vyi/9c7y01229523647.ps (open in new window)


 
Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = No Linear Trend ;
 
Parameters (R input):
par1 = 1 ; par2 = Include Monthly 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