Administrator approval is now required for registering new accounts. If you are registering a new account, and are external to the University, please ask the repository owner to contact ServiceLine to request your account be approved. Repository owners must include the newly registered email address, and specific repository in the request for approval.

Commit 639cb0bd authored by Ben Anderson's avatar Ben Anderson
Browse files

fixed residual testing graphs

names were over-written
parent f9597617
...@@ -164,6 +164,9 @@ local pt104 "mid_terr" ...@@ -164,6 +164,9 @@ local pt104 "mid_terr"
local pt105 "bungalow" local pt105 "bungalow"
local pt106 "flat" local pt106 "flat"
* check for weirdness
su `generic_hvarsg'
* now loop over the energy types & run linear regression models * now loop over the energy types & run linear regression models
* NB - the rounding of the consumption values may lead to modelling problems * NB - the rounding of the consumption values may lead to modelling problems
...@@ -187,7 +190,7 @@ foreach v of local vars { ...@@ -187,7 +190,7 @@ foreach v of local vars {
di "Testing residuals against `v'" di "Testing residuals against `v'"
* based on http://www.ats.ucla.edu/stat/stata/webbooks/reg/chapter2/statareg2.htm * based on http://www.ats.ucla.edu/stat/stata/webbooks/reg/chapter2/statareg2.htm
* can't use factor variables in acprplot... * can't use factor variables in acprplot...
graph hbox `v'_r, over(`testv') name(rtest_`testv') graph hbox `v'_r, over(`testv') name(rtest_`v'_`testv')
graph export "`rpath'/graphs/rplot_`v'_`testv'-`version'.png", replace graph export "`rpath'/graphs/rplot_`v'_`testv'-`version'.png", replace
* possibly floor area - heteroskedasticity ? * possibly floor area - heteroskedasticity ?
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment