Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The question about the result #7

Open
wuzhuxizhen opened this issue Jul 17, 2017 · 1 comment
Open

The question about the result #7

wuzhuxizhen opened this issue Jul 17, 2017 · 1 comment

Comments

@wuzhuxizhen
Copy link

Hello, I got the result after the run of PopGen2.0. But when I check the housing_synthetic.csv file, I found that the software using the samples of different geos to seed the new synthetic household data.
How to control the sample synthetic just in each geo? Thanks a lot.

And my yaml file is as blow.
`project:
synthesize: True
name: beijing_example
location: E:/PopGen2.0/Beijing_input_data
inputs:
entities: [household, person]
housing_entities: [household]
person_entities: [person]
column_names:
hid: hid
pid: pid
geo: geo
region: region
sample_geo: sample_geo
location:
geo_corr_mapping:
geo_to_sample: geo_sample_mapping.csv
region_to_sample: region_sample_mapping.csv
region_to_geo: region_geo_mapping.csv
sample:
household: household_sample.csv
person: person_sample.csv
marginals:
region:
household: region_household_marginals.csv
person: region_person_marginals.csv
geo:
household: household_marginals.csv
person: person_marginals.csv
scenario:

  • description: all_controls_ipu
    apply_region_controls: True
    control_variables:
    region:
    household: [rhhldtype]
    person: [rptype]
    geo:
    household: [hhldtype]
    person: [ptype]
    parameters:
    ipf:
    tolerance: 0.0001
    iterations: 250
    zero_marginal_correction: 0.00001
    rounding_procedure: bucket
    archive_performance_frequency: 1
    reweighting:
    procedure: ipu
    tolerance: 0.0001
    inner_iterations: 1
    outer_iterations: 1000
    archive_performance_frequency: 1
    draws:
    pvalue_tolerance: 0.9999
    iterations: 25
    seed: 0
    geos_to_synthesize:
    region:
    ids: [1]
    all_ids: True
    geo:
    ids: [1,2,3,4,5,6]
    all_ids: True
    outputs:
    performance: [ipf, reweighting, drawing]
    weights:
    export: True
    collate_across_geos: False
    multiway:
    • variables: [ptype]
      filename: ptype.csv
      filetype: csv
      entity: person
    • variables: [rptype]
      filename: rptype.csv
      filetype: csv
      entity: person
    • variables: [hhldtype]
      filename: hhldtype.csv
      filetype: csv
      entity: household
    • variables: [rhhldtype]
      filename: rhhldtype.csv
      filetype: csv
      entity: household
      summary:
      region:
      filename: summary_region.csv
      filetype: csv
      geo:
      filename: summary_geo.csv
      filetype: csv
      synthetic_population:
      housing:
      filename: housing_synthetic.csv
      filetype: csv
      person:
      filename: person_synthetic.csv
      filetype: csv`
@wuzhuxizhen
Copy link
Author

Do I need to add 'apply_geo_controls: True' below 'apply_region_controls: True'. Thx:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant