Home » date » 2008 » Nov » 21 »

bouwvergunningen 1990-2008

*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: Fri, 21 Nov 2008 06:36:35 -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/Nov/21/t1227274687aq8w798byc587zz.htm/, Retrieved Fri, 21 Nov 2008 13:38:08 +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/Nov/21/t1227274687aq8w798byc587zz.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:

Post a new message
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
1929 0 1851 0 1607 0 1661 0 2259 0 1668 0 2011 0 1944 0 1958 0 1844 0 1868 0 1701 0 2338 0 2018 0 1302 0 2168 0 2139 0 1560 0 2093 0 1973 0 2090 0 2811 0 1984 0 1849 0 2433 0 2071 0 1855 0 1756 0 1898 0 1770 0 1969 0 1769 0 2139 0 3013 0 2061 0 2132 0 2973 0 2081 0 2257 0 2075 0 2084 0 1747 0 2092 0 1919 0 2551 0 2643 0 2153 0 2496 0 2645 0 2035 0 2294 0 2205 0 2044 0 1762 0 1897 0 1821 0 1905 0 2111 0 1643 0 1956 0 1977 0 1685 0 1393 0 1574 0 1793 0 1562 0 1510 0 1675 0 1965 0 2173 0 2395 0 2197 0 2257 0 2885 0 1594 0 1950 0 1772 0 1280 0 1724 0 1473 0 1461 0 1576 0 1900 0 1618 0 2303 0 1994 0 1575 0 1893 0 1788 0 1817 0 3233 0 727 1 1121 1 1665 1 1401 1 1415 1 2058 1 1544 1 1379 1 1402 1 1313 1 1296 1 1398 1 1288 1 1563 1 1972 1 1496 1 1481 1 1819 1 1479 1 1635 1 1511 1 1547 1 1388 1 1958 1 1390 1 1597 1 1842 1 1396 1 1671 1 1385 1 1632 1 1313 1 1300 1 1431 1 1398 1 1198 1 1292 1 1434 1 1660 1 1837 1 1455 1 1315 1 1642 1 1069 1 1209 1 1586 1 1122 1 1063 1 1125 1 1414 1 1347 1 1403 1 1299 1 1547 1 1515 1 1247 1 1639 1 1296 1 1063 1 1282 1 1365 1 1268 1 1532 1 1455 1 1393 1 1515 1 1510 1 1225 1 1577 1 1417 1 1224 1 1693 1 1633 1 1639 1 1914 1 1586 1 1552 1 2081 1 1500 1 1437 1 1470 1 1849 1 1387 1 1592 1 1589 1 1798 1 1935 1 1887 1 2027 1 2080 1 1556 1 1682 1 1785 1 1869 1 1781 1 2082 1 2570 1 1862 1 1936 1 1504 1 1765 1 1607 1 1577 1 1493 1 1615 1 1700 1 1335 1 1523 1 1623 1 1540 1 1637 1 1524 1 1419 1 1821 1 1593 1 1357 1 1263 1 1750 1 1405 1 1393 1 1639 1 1679 1 1551 1 1744 1 1429 1 1784 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 time6 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Multiple Linear Regression - Estimated Regression Equation
y[t] = + 1930.42953952992 -595.342844865146x[t] + 266.156710598825M1[t] + 52.8135046321413M2[t] -195.925306080324M3[t] -67.2752279038997M4[t] + 13.7637391614132M5[t] -263.641738217718M6[t] + 20.9527844031499M7[t] -108.155868261251M8[t] + 11.0497654707282M9[t] + 241.866510313819M10[t] + 22.5165884902428M11[t] + 1.29436626802048t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)1930.4295395299274.78988125.811400
x-595.34284486514673.673038-8.080900
M1266.15671059882591.3285732.91430.0039650.001983
M252.813504632141392.5949180.57040.5690560.284528
M3-195.92530608032492.582299-2.11620.0355440.017772
M4-67.275227903899792.573316-0.72670.4682320.234116
M513.763739161413292.5679680.14870.8819470.440974
M6-263.64173821771892.566256-2.84810.004850.002425
M720.952784403149992.5681810.22630.8211570.410579
M8-108.15586826125192.570958-1.16840.2440330.122017
M911.049765470728292.558230.11940.9050910.452545
M10241.86651031381992.5491372.61340.0096360.004818
M1122.516588490242892.5436810.24330.8080130.404006
t1.294366268020480.5801922.23090.026780.01339


Multiple Linear Regression - Regression Statistics
Multiple R0.708473161496393
R-squared0.501934220560694
Adjusted R-squared0.470038382468521
F-TEST (value)15.7366681856802
F-TEST (DF numerator)13
F-TEST (DF denominator)203
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation277.625587403754
Sum Squared Residuals15646421.2565997


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
119292197.88061639677-268.880616396772
218511985.83177669810-134.831776698102
316071738.38733225366-131.387332253658
416611868.33177669810-207.331776698103
522591950.66511003144308.334889968564
616681674.55399892033-6.55399892032504
720111960.4428878092150.5571121907859
819441832.62860141283111.371398587167
919581953.128601412834.87139858716674
1018442185.23971252394-341.239712523944
1118681967.18415696839-99.1841569683888
1217011945.96193474617-244.961934746167
1323382213.41301161301124.586988386987
1420182001.3641719143516.6358280856513
1513021753.91972746990-451.919727469904
1621681883.86417191435284.135828085651
1721391966.19750524768172.802494752318
1815601690.08639413657-130.086394136571
1920931975.97528302546117.024716974540
2019731848.16099662908124.839003370921
2120901968.66099662908121.339003370921
2228112200.77210774019610.22789225981
2319841982.716552184631.28344781536544
2418491961.49432996241-112.494329962412
2524332228.94540682926204.054593170742
2620712016.8965671305954.1034328694055
2718551769.4521226861585.54787731385
2817561899.39656713059-143.396567130594
2918981981.72990046393-83.7299004639278
3017701705.6187893528264.3812106471833
3119691991.50767824171-22.5076782417056
3217691863.69339184532-94.6933918453248
3321391984.19339184532154.806608154675
3430132216.30450295644796.695497043564
3520611998.2489474008862.7510525991196
3621321977.02672517866154.973274821342
3729732244.47780204550728.522197954496
3820812032.4289623468448.5710376531597
3922571784.98451790240472.015482097604
4020751914.92896234684160.071037653160
4120841997.2622956801786.7377043198264
4217471721.1511845690625.8488154309376
4320922007.0400734579584.9599265420485
4419191879.2257870615739.7742129384294
4525511999.72578706157551.274212938429
4626432231.83689817268411.163101827318
4721532013.78134261713139.218657382874
4824961992.55912039490503.440879605096
4926452260.01019726175384.98980273825
5020352047.96135756309-12.9613575630860
5122941800.51691311864493.483086881358
5222051930.46135756309274.538642436914
5320442012.7946908964231.2053091035806
5417621736.6835797853125.3164202146918
5518972022.57246867420-125.572468674197
5618211894.75818227782-73.7581822778163
5719052015.25818227782-110.258182277816
5821112247.36929338893-136.369293388928
5916432029.31373783337-386.313737833372
6019562008.09151561115-52.0915156111496
6119772275.54259247800-298.542592477996
6216852063.49375277933-378.493752779332
6313931816.04930833489-423.049308334887
6415741945.99375277933-371.993752779332
6517932028.32708611267-235.327086112665
6615621752.21597500155-190.215975001554
6715102038.10486389044-528.104863890443
6816751910.29057749406-235.290577494062
6919652030.79057749406-65.7905774940621
7021732262.90168860517-89.9016886051732
7123952044.84613304962350.153866950382
7221972023.62391082740173.376089172605
7322572291.07498769424-34.0749876942415
7428852079.02614799558805.973852004422
7515941831.58170355113-237.581703551133
7619501961.52614799558-11.5261479955775
7717722043.85948132891-271.859481328911
7812801767.7483702178-487.7483702178
7917242053.63725910669-329.637259106689
8014731925.82297271031-452.822972710308
8114612046.32297271031-585.322972710308
8215762278.43408382142-702.434083821419
8319002060.37852826586-160.378528265863
8416182039.15630604364-421.156306043641
8523032306.60738291049-3.6073829104872
8619942094.55854321182-100.558543211823
8715751847.11409876738-272.114098767379
8818931977.05854321182-84.0585432118233
8917882059.39187654516-271.391876545157
9018171783.2807654340533.7192345659545
9132332069.169654322931163.83034567707
927271346.01252306141-619.012523061408
9311211466.51252306141-345.512523061408
9416651698.62363417252-33.6236341725192
9514011480.56807861696-79.5680786169636
9614151459.34585639474-44.3458563947413
9720581726.79693326159331.203066738413
9815441514.7480935629229.2519064370765
9913791267.30364911848111.696350881521
10014021397.248093562924.75190643707645
10113131479.58142689626-166.581426896257
10212961203.4703157851592.5296842148542
10313981489.35920467403-91.3592046740346
10412881361.54491827765-73.5449182776538
10515631482.0449182776580.9550817223462
10619721714.15602938876257.843970611235
10714961496.10047383321-0.100473833209372
10814811474.878251610996.12174838901292
10918191742.3293284778376.6706715221668
11014791530.28048877917-51.2804887791693
11116351282.83604433472352.163955665275
11215111412.7804887791798.2195112208307
11315471495.1138221125051.8861778874974
11413881219.00271100139168.997288998608
11519581504.89159989028453.10840010972
11613901377.077313493912.9226865061003
11715971497.577313493999.4226865061004
11818421729.68842460501112.311575394989
11913961511.63286904946-115.632869049455
12016711490.41064682723180.589353172767
12113851757.86172369408-372.861723694079
12216321545.8128839954286.187116004585
12313131298.3684395509714.6315604490293
12413001428.31288399542-128.312883995415
12514311510.64621732875-79.6462173287484
12613981234.53510621764163.464893782363
12711981520.42399510653-322.423995106526
12812921392.60970871015-100.609708710145
12914341513.10970871015-79.1097087101454
13016601745.22081982126-85.2208198212564
13118371527.1652642657309.834735734299
13214551505.94304204348-50.9430420434786
13313151773.39411891032-458.394118910325
13416421561.3452792116680.6547207883392
13510691313.90083476722-244.900834767216
13612091443.84527921166-234.845279211661
13715861526.1786125449959.8213874550059
13811221250.06750143388-128.067501433883
13910631535.95639032277-472.956390322772
14011251408.14210392639-283.142103926391
14114141528.64210392639-114.642103926391
14213471760.75321503750-413.753215037502
14314031542.69765948195-139.697659481947
14412991521.47543725972-222.475437259724
14515471788.92651412657-241.926514126571
14615151576.87767442791-61.8776744279066
14712471329.43322998346-82.4332299834622
14816391459.37767442791179.622325572093
14912961541.71100776124-245.71100776124
15010631265.59989665013-202.599896650129
15112821551.48878553902-269.488785539018
15213651423.67449914264-58.674499142637
15312681544.17449914264-276.174499142637
15415321776.28561025375-244.285610253748
15514551558.23005469819-103.230054698192
15613931537.00783247597-144.007832475970
15715151804.45890934282-289.458909342816
15815101592.41006964415-82.4100696441524
15912251344.96562519971-119.965625199708
16015771474.91006964415102.089930355848
16114171557.24340297749-140.243402977486
16212241281.13229186637-57.1322918663746
16316931567.02118075526125.978819244736
16416331439.20689435888193.793105641117
16516391559.7068943588879.2931056411173
16619141791.81800546999122.181994530006
16715861573.7624499144412.2375500855618
16815521552.54022769222-0.54022769221593
16920811819.99130455906261.008695440938
17015001607.94246486040-107.942464860398
17114371360.4980204159576.5019795840463
17214701490.44246486040-20.4424648603982
17318491572.77579819373276.224201806269
17413871296.6646870826290.3353129173796
17515921582.553575971519.44642402849077
17615891454.73928957513134.260710424871
17717981575.23928957513222.760710424872
17819351807.35040068624127.649599313761
17918871589.29484513068297.705154869316
18020271568.07262290846458.927377091538
18120801835.52369977531244.476300224692
18215561623.47486007664-67.4748600766439
18316821376.0304156322305.969584367801
18417851505.97486007664279.025139923356
18518691588.30819340998280.691806590023
18617811312.19708229887468.802917701134
18720821598.08597118776483.914028812245
18825701470.271684791371099.72831520863
18918621590.77168479137271.228315208626
19019361822.88279590249113.117204097515
19115041604.82724034693-100.827240346930
19217651583.60501812471181.394981875292
19316071851.05609499155-244.056094991554
19415771639.00725529289-62.0072552928897
19514931391.56281084845101.437189151555
19616151521.5072552928993.4927447071103
19717001603.8405886262296.159411373777
19813351327.729477515117.27052248488804
19915231613.618366404-90.6183664040008
20016231485.80408000762137.19591999238
20115401606.30408000762-66.30408000762
20216371838.41519111873-201.415191118731
20315241620.35963556318-96.3596355631755
20414191599.13741334095-180.137413340953
20518211866.5884902078-45.5884902077993
20615931654.53965050914-61.5396505091355
20713571407.09520606469-50.0952060646911
20812631537.03965050914-274.039650509136
20917501619.37298384247130.627016157531
21014051343.2618727313661.7381272686423
21113931629.15076162025-236.150761620247
21216391501.33647522387137.663524776134
21316791621.8364752238757.1635247761342
21415511853.94758633498-302.947586334977
21517441635.89203077942108.107969220579
21614291614.6698085572-185.669808557199
21717841882.12088542405-98.1208854240451
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/21/t1227274687aq8w798byc587zz/1f08n1227274584.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/21/t1227274687aq8w798byc587zz/1f08n1227274584.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/21/t1227274687aq8w798byc587zz/2o8541227274584.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/21/t1227274687aq8w798byc587zz/2o8541227274584.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/21/t1227274687aq8w798byc587zz/34v2t1227274584.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/21/t1227274687aq8w798byc587zz/34v2t1227274584.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/21/t1227274687aq8w798byc587zz/4v3hl1227274584.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/21/t1227274687aq8w798byc587zz/4v3hl1227274584.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/21/t1227274687aq8w798byc587zz/5qhe61227274584.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/21/t1227274687aq8w798byc587zz/5qhe61227274584.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/21/t1227274687aq8w798byc587zz/6py3x1227274584.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/21/t1227274687aq8w798byc587zz/6py3x1227274584.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/21/t1227274687aq8w798byc587zz/777fv1227274584.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/21/t1227274687aq8w798byc587zz/777fv1227274584.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/21/t1227274687aq8w798byc587zz/8rsqv1227274584.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/21/t1227274687aq8w798byc587zz/8rsqv1227274584.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/21/t1227274687aq8w798byc587zz/9dyvw1227274584.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/21/t1227274687aq8w798byc587zz/9dyvw1227274584.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