Coder Social home page Coder Social logo

Comments (4)

mabcal avatar mabcal commented on July 17, 2024

More on this - the output choice is written to the wkathome field on the person-day output file. A value >0 (set to the threshold +2 and rounded) indicates that the person works at home for more than the threshold duration. For the base SACOG survey application, the model predicts that about 13% of workers do this, which is the same as in the survey data used to estimate the model.

from daysim.

stefancoe avatar stefancoe commented on July 17, 2024

@mabcal @nsdhakar When testing this functionality at PSRC, I noticed the changing the alternative specific constant did nothing to the results. Debugging the code, it seems like the utility terms are not being being added to the model because the ChoiceProbablityCalculator looks for the coefficient numbered 20, does not find it and exits the AddUtilityTerm function before it can assign 'value' (which is the passed in utility term). Looking at the rest of the code in this function, I am not sure that value would ever get assigned properly since the subsequent code also needs the coefficient variable to not be null.

from daysim.

mabcal avatar mabcal commented on July 17, 2024

There needs to be a coefficient 20 in the IndividualDayPatternModel coefficient file with coefficient 1.0...it looks like

20 X-WKATHOME T 1.0 0

from daysim.

stefancoe avatar stefancoe commented on July 17, 2024

Thanks- that worked!

from daysim.

Related Issues (20)

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.