Home » date » 2008 » Dec » 13 »

Multiple Regression bouwvergunningen Waals gewest

*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: Sat, 13 Dec 2008 07:26:45 -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/13/t1229178622842mdlgeczul25d.htm/, Retrieved Sat, 13 Dec 2008 15:30:31 +0100
 
BibTeX entries for LaTeX users:
@Manual{KEY,
    author = {{YOUR NAME}},
    publisher = {Office for Research Development and Education},
    title = {Statistical Computations at FreeStatistics.org, URL http://www.freestatistics.org/blog/date/2008/Dec/13/t1229178622842mdlgeczul25d.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 «
727 0 817 0 918 0 786 0 803 0 756 0 725 0 523 0 538 0 587 0 505 0 521 0 498 0 550 0 637 0 622 0 668 0 669 0 670 0 499 0 539 0 593 0 429 0 622 0 533 0 655 0 835 0 686 0 706 0 869 0 777 0 739 0 637 0 597 0 629 0 940 0 444 0 496 0 801 0 659 0 767 0 876 0 601 0 697 0 745 0 655 0 572 0 628 0 650 0 677 0 900 0 780 0 896 0 1092 0 823 0 735 0 770 0 915 0 645 0 566 0 707 0 785 0 762 0 712 0 714 0 823 0 609 0 620 0 619 0 638 0 483 0 535 0 617 0 698 0 804 0 824 0 878 0 1019 0 974 0 773 0 734 0 827 0 804 0 721 0 659 0 732 0 839 0 994 0 828 0 1039 0 1072 0 803 0 1035 0 922 0 834 0 1739 0 359 1 513 1 699 1 741 1 793 1 877 1 750 1 752 1 675 1 682 1 583 1 632 1 606 1 645 1 980 1 847 1 941 1 1066 1 936 1 880 1 808 1 741 1 780 1 675 1 782 1 795 1 873 1 727 1 998 1 768 1 714 1 782 1 578 1 664 1 560 1 516 1 752 1 597 1 716 1 691 1 752 1 718 1 737 1 621 1 472 1 719 1 497 1 536 1 653 1 605 1 637 1 743 1 719 1 653 1 675 1 590 1 527 1 534 1 463 1 542 1 568 1 501 1 678 1 774 1 665 1 742 1 715 1 638 1 656 1 606 1 498 1 587 1 677 1 547 1 871 1 731 1 752 1 862 1 619 1 700 1 667 1 667 1 650 1 547 1 637 1 655 1 703 1 886 1 896 1 831 1 741 1 833 1 750 1 779 1 655 1 739 1 845 1 795 1 1021 1 726 1 1045 1 915 1 852 1 772 1 729 1 755 1 691 1 729 1 702 1 702 1 894 1 765 1 753 1 876 1 781 1 776 1 606 1 775 1 663 1 649 1 821 1 771 1 635 1 1070 1 693 1 779 1
 
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 time4 seconds
R Server'George Udny Yule' @ 72.249.76.132


Multiple Linear Regression - Estimated Regression Equation
y[t] = + 633.392420024744 -156.736181071050x[t] -36.1916043164056M1[t] -21.7170907931429M2[t] + 117.389001677488M3[t] + 93.0214099375927M4[t] + 118.232765566119M5[t] + 167.654647510434M6[t] + 81.1449762433361M7[t] + 22.2159809946689M8[t] -15.0463475873316M9[t] + 15.4135460528901M10[t] -81.1265603068882M11[t] + 1.26232858200054t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)633.39242002474435.67400917.75500
x-156.73618107105034.990025-4.47951.2e-056e-06
M1-36.191604316405643.584114-0.83040.4072730.203637
M2-21.717090793142943.572195-0.49840.6187170.309359
M3117.38900167748843.5619522.69480.007620.00381
M493.021409937592743.5533882.13580.0338640.016932
M5118.23276556611943.5465022.71510.0071820.003591
M6167.65464751043443.5412963.85050.0001577.8e-05
M781.144976243336144.1387011.83840.0674280.033714
M822.215980994668944.1312390.50340.6152110.307605
M9-15.046347587331644.125436-0.3410.7334550.366728
M1015.413546052890144.1212890.34930.7271840.363592
M11-81.126560306888244.118801-1.83880.0673670.033684
t1.262328582000540.2705134.66645e-063e-06


Multiple Linear Regression - Regression Statistics
Multiple R0.547342569738143
R-squared0.299583888647554
Adjusted R-squared0.255807881688026
F-TEST (value)6.84356361978212
F-TEST (DF numerator)13
F-TEST (DF denominator)208
p-value6.32160990221564e-11
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation132.353916414178
Sum Squared Residuals3643652.31155564


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1727598.463144290339128.536855709661
2817614.199986395603202.800013604397
3918754.568407448232163.431592551768
4786731.46314429033954.5368557096613
5803757.93682850086445.0631714991363
6756808.62103902718-52.6210390271794
7725723.3736963420831.62630365791650
8523665.707029675417-142.707029675417
9538629.707029675417-91.7070296754168
10587661.429251897639-74.4292518976394
11505566.151474119862-61.1514741198616
12521648.540363008751-127.540363008751
13498613.611087274345-115.611087274345
14550629.347929379608-79.3479293796079
15637769.71635043224-132.71635043224
16622746.611087274345-124.611087274345
17668773.084771484872-105.084771484872
18669823.768982011188-154.768982011188
19670738.52163932609-68.5216393260901
20499680.854972659423-181.854972659423
21539644.854972659423-105.854972659423
22593676.577194881646-83.5771948816456
23429581.299417103868-152.299417103868
24622663.688305992757-41.6883059927568
25533628.759030258352-95.759030258352
26655644.49587236361510.5041276363851
27835784.86429341624750.1357065837534
28686761.759030258352-75.7590302583519
29706788.232714468878-82.2327144688782
30869838.91692499519430.083075004806
31777753.66958231009723.3304176899034
32739696.0029156434342.9970843565702
33637660.00291564343-23.0029156434299
34597691.725137865652-94.7251378656521
35629596.44736008787432.5526399121257
36940678.836248976763261.163751023237
37444643.906973242358-199.906973242358
38496659.643815347622-163.643815347621
39801800.0122364002530.987763599746929
40659776.906973242358-117.906973242358
41767803.380657452885-36.3806574528847
42876854.064867979221.9351320207995
43601768.817525294103-167.817525294103
44697711.150858627436-14.1508586274363
45745675.15085862743669.8491413725636
46655706.873080849659-51.8730808496586
47572611.595303071881-39.5953030718808
48628693.98419196077-65.9841919607698
49650659.054916226365-9.05491622636499
50677674.7917583316282.20824166837205
51900815.1601793842684.8398206157404
52780792.054916226365-12.0549162263649
53896818.52860043689177.4713995631087
541092869.212810963207222.787189036793
55823783.9654682781139.0345317218904
56735726.2988016114438.70119838855715
57770690.29880161144379.701198388557
58915722.021023833665192.978976166335
59645626.74324605588718.2567539441127
60566709.132134944776-143.132134944776
61707674.20285921037132.7971407896285
62785689.93970131563495.0602986843656
63762830.308122368266-68.3081223682661
64712807.202859210371-95.2028592103714
65714833.676543420898-119.676543420898
66823884.360753947214-61.3607539472135
67609799.113411262116-190.113411262116
68620741.446744595449-121.446744595449
69619705.44674459545-86.4467445954494
70638737.168966817672-99.1689668176716
71483641.891189039894-158.891189039894
72535724.280077928783-189.280077928783
73617689.350802194378-72.350802194378
74698705.087644299641-7.08764429964094
75804845.456065352273-41.4560653522726
76824822.3508021943781.64919780562209
77878848.82448640490429.1755135950957
781019899.50869693122119.49130306878
79974814.261354246123159.738645753877
80773756.59468757945616.4053124205441
81734720.59468757945613.4053124205441
82827752.31690980167874.6830901983219
83804657.0391320239146.960867976100
84721739.428020912789-18.4280209127893
85659704.498745178385-45.4987451783845
86732720.23558728364711.7644127163525
87839860.60400833628-21.6040083362791
88994837.498745178384156.501254821616
89828863.97242938891-35.9724293889108
901039914.656639915226124.343360084774
911072829.40929723013242.590702769871
92803771.74263056346231.2573694365377
931035735.742630563462299.257369436538
94922767.464852785685154.535147214315
95834672.187075007907161.812924992093
961739754.575963896796984.424036103204
97359562.910507091341-203.910507091341
98513578.647349196604-65.647349196604
99699719.015770249236-20.0157702492356
100741695.91050709134145.0894929086591
101793722.38419130186770.6158086981327
102877773.068401828183103.931598171817
103750687.82105914308662.1789408569143
104752630.154392476419121.845607523581
105675594.15439247641980.845607523581
106682625.87661469864156.1233853013589
107583530.59883692086352.4011630791366
108632612.98772580975219.0122741902477
109606578.05845007534827.9415499246524
110645593.7952921806151.2047078193895
111980734.163713233242245.836286766758
112847711.058450075347135.941549924653
113941737.532134285874203.467865714126
1141066788.21634481219277.783655187810
115936702.969002127092233.030997872908
116880645.302335460425234.697664539575
117808609.302335460426198.697664539575
118741641.02455768264899.9754423173523
119780545.74677990487234.25322009513
120675628.13566879375946.8643312062412
121782593.206393059354188.793606940646
122795608.943235164617186.056764835383
123873749.311656217249123.688343782751
124727726.2063930593540.793606940646066
125998752.68007726988245.319922730120
126768803.364287796196-35.3642877961960
127714718.116945111099-4.11694511109868
128782660.450278444432121.549721555568
129578624.450278444432-46.450278444432
130664656.1725006666547.82749933334584
131560560.894722888876-0.894722888876403
132516643.283611777765-127.283611777765
133752608.354336043361143.645663956639
134597624.091178148623-27.0911781486235
135716764.459599201255-48.4595992012551
136691741.35433604336-50.3543360433604
137752767.828020253887-15.8280202538868
138718818.512230780203-100.512230780203
139737733.2648880951053.73511190489481
140621675.598221428438-54.5982214284384
141472639.598221428438-167.598221428438
142719671.3204436506647.6795563493394
143497576.042665872883-79.042665872883
144536658.431554761772-122.431554761772
145653623.50227902736729.4977209726329
146605639.23912113263-34.23912113263
147637779.607542185262-142.607542185262
148743756.502279027367-13.5022790273670
149719782.975963237893-63.9759632378933
150653833.660173764209-180.660173764209
151675748.412831079112-73.4128310791117
152590690.746164412445-100.746164412445
153527654.746164412445-127.746164412445
154534686.468386634667-152.468386634667
155463591.19060885689-128.190608856889
156542673.579497745778-131.579497745778
157568638.650222011374-70.6502220113736
158501654.387064116637-153.387064116637
159678794.755485169268-116.755485169268
160774771.6502220113732.34977798862653
161665798.1239062219-133.123906221900
162742848.808116748216-106.808116748216
163715763.560774063118-48.5607740631182
164638705.894107396451-67.8941073964514
165656669.894107396452-13.8941073964515
166606701.616329618674-95.6163296186737
167498606.338551840896-108.338551840896
168587688.727440729785-101.727440729785
169677653.7981649953823.2018350046199
170547669.535007100643-122.535007100643
171871809.90342815327561.0965718467253
172731786.79816499538-55.7981649953799
173752813.271849205906-61.2718492059063
174862863.956059732222-1.95605973222207
175619778.708717047125-159.708717047125
176700721.042050380458-21.0420503804579
177667685.042050380458-18.042050380458
178667716.76427260268-49.7642726026802
179650621.48649482490228.5135051750976
180547703.875383713791-156.875383713791
181637668.946107979387-31.9461079793866
182655684.68295008465-29.6829500846495
183703825.051371137281-122.051371137281
184886801.94610797938784.0538920206135
185896828.41979218991367.5802078100872
186831879.104002716229-48.1040027162286
187741793.856660031131-52.8566600311312
188833736.18999336446496.8100066355355
189750700.18999336446449.8100066355355
190779731.91221558668747.0877844133133
191655636.63443780890918.3655621910911
192739719.02332669779819.9766733022021
193845684.094050963393160.905949036607
194795699.83089306865695.169106931344
1951021840.199314121288180.800685878712
196726817.094050963393-91.094050963393
1971045843.56773517392201.432264826081
198915894.25194570023520.7480542997649
199852809.00460301513842.9953969848623
200772751.33793634847120.6620636515291
201729715.33793634847113.662063651529
202755747.0601585706937.93984142930679
203691651.78238079291539.2176192070846
204729734.171269681804-5.17126968180438
205702699.24199394742.75800605260042
206702714.978836052663-12.9788360526625
207894855.34725710529438.6527428947058
208765832.2419939474-67.2419939473995
209753858.715678157926-105.715678157926
210876909.399888684242-33.3998886842416
211781824.152545999144-43.1525459991442
212776766.4858793324779.51412066752254
213606730.485879332478-124.485879332478
214775762.208101554712.7918984453003
215663666.930323776922-3.93032377692193
216649749.319212665811-100.319212665811
217821714.389936931406106.610063068594
218771730.12677903666940.873220963331
219635870.4952000893-235.495200089301
2201070847.389936931406222.610063068594
221693873.863621141932-180.863621141932
222779924.547831668248-145.547831668248
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/13/t1229178622842mdlgeczul25d/1wuhb1229178400.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/13/t1229178622842mdlgeczul25d/1wuhb1229178400.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/13/t1229178622842mdlgeczul25d/21cun1229178400.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/13/t1229178622842mdlgeczul25d/21cun1229178400.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/13/t1229178622842mdlgeczul25d/30rie1229178400.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/13/t1229178622842mdlgeczul25d/30rie1229178400.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/13/t1229178622842mdlgeczul25d/4rzl01229178400.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/13/t1229178622842mdlgeczul25d/4rzl01229178400.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/13/t1229178622842mdlgeczul25d/5rpxt1229178400.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/13/t1229178622842mdlgeczul25d/5rpxt1229178400.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/13/t1229178622842mdlgeczul25d/62fij1229178400.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/13/t1229178622842mdlgeczul25d/62fij1229178400.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/13/t1229178622842mdlgeczul25d/7gqpq1229178400.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/13/t1229178622842mdlgeczul25d/7gqpq1229178400.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/13/t1229178622842mdlgeczul25d/83qb41229178400.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/13/t1229178622842mdlgeczul25d/83qb41229178400.ps (open in new window)


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





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