Coder Social home page Coder Social logo

jdingel / dingelneiman-workathome Goto Github PK

View Code? Open in Web Editor NEW
99.0 99.0 78.0 2.46 MB

"How Many Jobs Can be Done at Home?" by Jonathan Dingel and Brent Neiman

License: GNU General Public License v3.0

Makefile 18.24% Stata 80.90% Shell 0.86%
economics

dingelneiman-workathome's People

Contributors

jdingel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dingelneiman-workathome's Issues

Overestimating handsontools and outdoors_everyday

I discovered a possible overestimation of the variables handsontools and outdoors_everyday in onet_characteristics.do.

In line 40, you keep the percent distribution "CXP" scaleid for elementid ("4.C.2.d.1.g","4.C.2.a.1.c","4.C.2.a.1.d")

keep if scaleid=="CX" | inlist(elementid,"4.C.2.d.1.g","4.C.2.a.1.c","4.C.2.a.1.d")

But then, you use the same average "CX" methodology to define handsontools and outdoors_everyday in lines 46 and 48.

bys onetsoccode: egen byte handsontools = max(elementid=="4.C.2.d.1.g" & inrange(datavalue,3.5,5.0)==1)

I believe you are counting some occupations where the average data value (CX) is less than 4.5, but some of the CXP data values happen to be between 4.5 and 5.

For example, O.NET.SOC.Code "11-3071.01" is classified as outdoors_everyday == 1, but the CX data value for "4.C.2.a.1.c" is 3.18, and the data value for "4.C.2.a.1.d" is 2.04.

For "4.C.2.a.1.d", the "CXP" data value for category 5 is 4.8, which is why I think this is defining outdoors_everyday == 1 when it should be 0.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.