Comments (5)
Cleaned up the parentheses
B15001_012E+B15001_013E+B15001_020E+B15001_021e+B15001_028e+B15001_029e+B15001_036E+B15001_037E+B15001_053E+B15001_054E+B15001_061E+B15001_062E+B15001_069E+B15001_070E+B15001_077E+B15001_078E/
(B15001_001E-(B15001_003E+B15001_044E))
Male and female over 25+ without HS / Total population - (male 18-24 pop + female 18-24 pop)
from dcaction.
This looks like it's still a ratio minus a value.
from dcaction.
To verify the formula I calculated the DC 25+ no HS degree rate. The city wide rate is 12.47%.
You can see my work here: https://drive.google.com/file/d/0B6e0RxBr5-9jTVNJdkNIQ0FpRUk/edit?usp=sharing
Either there is a bug in the API or the formula is not being translated or cross-walked correctly in the script.
Could you compare the script to the formula:
B15001_012E+B15001_013E+B15001_020E+B15001_021e+B15001_028e+B15001_029e+B15001_036E+B15001_037E+B15001_053E+B15001_054E+B15001_061E+B15001_062E+B15001_069E+B15001_070E+B15001_077E+B15001_078E/
(B15001_001E-(B15001_003E+B15001_044E))
or my spreadsheet ( https://drive.google.com/file/d/0B6e0RxBr5-9jTVNJdkNIQ0FpRUk/edit?usp=sharing)
If the value is still negative, please let me know.
from dcaction.
When checking the script, please start with the denominator. It should say (B15001_001E-(B15001_003E+B15001_044E))
Which is:25+ population= (total population - (male 18-24 population+female 18-24 population)).
All of the numerator values are positive. So if there is a negative in the numerator, there could be a bug in the Census API system.
from dcaction.
I've updated the script to use Josh D's formula from this comment thread.
from dcaction.
Related Issues (20)
- Revising Data and Documentation of Single Mother Households HOT 4
- Validate or remove margin or error calculations
- Revise Vacant Data HOT 1
- Organize data directory HOT 1
- Improve user interface to fetch_acs.rb
- Add Children in Single Mother Families to Indictors
- Legend Showing Blank When No Dataset Selected HOT 1
- Create way for DC Action to link directly to a map layer HOT 1
- Children from Single mothers
- Indicator - Possible data source changes
- Centralize Methodology HOT 1
- Merge source.csv and fields.csv HOT 3
- Remove "new" tag on indicators HOT 7
- Crosswalk and add updated medicaid data HOT 2
- Change data representation from layers to points
- Pull most recent data and update tool
- December Census 2014 ACS Update HOT 1
- Update README with latest documentation from Hackpad
- Help! Updating our Data Tool 2.0 for ACS 2012 - 2016
- Google Maps API
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dcaction.