Code Monkey home page Code Monkey logo

Comments (3)

s-mishra avatar s-mishra commented on June 10, 2024

Thanks, you are mistaken on how alpha_region is structured. It's dimensions are [chains, regions, regional_features]. which means alpha_region[,1,] is the intercept and alpha_region[,2,] is the coeff for averageMobility. Now X_partial_regional is of dimensions [states,N2,regional_features], which means X_partial_regional is [states,N2,2] matirx where X_partial_regional[,,1] is the intercept and X_partial_regional[,,2] is averageMobility

PS: I have assumned you have passed formula_regional as '~ 1 + averageMobility'.

from covid19model.

antoine4ucsd avatar antoine4ucsd commented on June 10, 2024

Thank you for clarifying the matrix structure. My confusion came from the equation printed in the report, where I interpreted Y(t,m) and alpha_region(r(m)) both as scalar signals. Could you help clarify what the coefficient and intercept components represent?

equation

On a related note - the first dimension of alpha_region is 4000 (chains, as you referred to it). We are interpreting this as a timespan, measured in units smaller than days. is this correct?

thank you so much,

from covid19model.

s-mishra avatar s-mishra commented on June 10, 2024

that is incorrect, it is the number of chains the sampler has run.

from covid19model.

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.