GithubHelp home page GithubHelp logo

Comments (4)

kingaa avatar kingaa commented on July 28, 2024

Your variable sigma is declared both as a parameter (via paramnames) and a local variable (the double declaration in your C snippet). It can't be both. Notice that your error message calls your attention to this.

Looks like you want to remove all the local variable declarations in your rprocess C snippet.

P.S. If more help is needed, please provide codes that I can run. You have a data file there that I would need. If you don't want to share the actual data, provide some fake data in the same format.

from pomp.

LBJlove1 avatar LBJlove1 commented on July 28, 2024

Thank you very much for your reply, the above problem has been solved, my data file is as follows:

time: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
reports:
1 10 23 45 70 148 155 58 178 340 297 741 521 512 520 405 321 367 390 297 190 92 131 73 61 62 41 35 32 46 97 34 69 43 24 31 14 26 34 71 23 14 60

I want to construct a beta(t) that changes over time. I don't know if the construction of rprocess in the above code is correct, and I hope to get your advice.

from pomp.

kingaa avatar kingaa commented on July 28, 2024

@LBJlove1: I am happy to help, but you might provide me with codes that run, rather than expect me to write them myself.

I am happy to help you, but generic requests for advice are not particularly efficient. I encourage you to formulate questions. In particular, whether code is correct or not depends on what it is intended to accomplish. At the moment, I have no idea what you are up to or what you expect the code to do.

You should also have a look at the FAQ.

from pomp.

kingaa avatar kingaa commented on July 28, 2024

I am closing this issue for now. Feel free to reopen it if more discussion is warranted.

from pomp.

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.