Skip to content
Snippets Groups Projects
Commit bce84fa3 authored by Ben Anderson's avatar Ben Anderson
Browse files

updated EULF 2014 processing script

parent 380e4cea
No related branches found
No related tags found
No related merge requests found
...@@ -36,9 +36,11 @@ local ifile "need_eul_may2014" ...@@ -36,9 +36,11 @@ local ifile "need_eul_may2014"
* original data file * original data file
local dfile_orig "`dpath'UKDA-7518-stata11/stata11/`ifile'.dta" local dfile_orig "`dpath'UKDA-7518-stata11/stata11/`ifile'.dta"
* 10 = 10% sample, 50 = 50% sample, 100 = 100% sample
* if you really wanted to you could set up a loop to iterate over a list of sample values to create a set of random sub-samples * if you really wanted to you could set up a loop to iterate over a list of sample values to create a set of random sub-samples
local sample 50 * we'll just create a random sub-sample of sample% to make testing models etc easier
* 10 = 10% sample, 50 = 50% sample, 100 = 100% sample etc
local sample 20
local samplet "`sample'pc" local samplet "`sample'pc"
local sampleby "EE_BAND PROP_TYPE" local sampleby "EE_BAND PROP_TYPE"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment