Parameter estimation for Stochastic differential equation











up vote
1
down vote

favorite












I have a process $X(t)$ defined on some finite time horizon $[0,T]$ and I know that my process satisfies the following SDE:



$dX(t)=mu dt + sigma dB_t$.



where $B$ is a standard Brownian motion. In particular I'm assuming that both the drift and volatility are constant over time.



Question:



Given data points $x_{t_1}, ldots x_{t_n}$ that are realizations of the random variable $X(t)$ at times $t_1 ldots t_n$, how do I estimate the drift and volatility parameters $mu, sigma$ ? I'm interested in a method that is relatively easy to implement.



I would also like to know if there already exist libraries in say Python that might help for this task.



What would be a method for estimating $mu$ and $sigma$ if they change over time? (I.e. they are are time dependent)










share|cite|improve this question

















This question has an open bounty worth +100
reputation from sigmatau ending in 6 days.


This question has not received enough attention.




















    up vote
    1
    down vote

    favorite












    I have a process $X(t)$ defined on some finite time horizon $[0,T]$ and I know that my process satisfies the following SDE:



    $dX(t)=mu dt + sigma dB_t$.



    where $B$ is a standard Brownian motion. In particular I'm assuming that both the drift and volatility are constant over time.



    Question:



    Given data points $x_{t_1}, ldots x_{t_n}$ that are realizations of the random variable $X(t)$ at times $t_1 ldots t_n$, how do I estimate the drift and volatility parameters $mu, sigma$ ? I'm interested in a method that is relatively easy to implement.



    I would also like to know if there already exist libraries in say Python that might help for this task.



    What would be a method for estimating $mu$ and $sigma$ if they change over time? (I.e. they are are time dependent)










    share|cite|improve this question

















    This question has an open bounty worth +100
    reputation from sigmatau ending in 6 days.


    This question has not received enough attention.


















      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      I have a process $X(t)$ defined on some finite time horizon $[0,T]$ and I know that my process satisfies the following SDE:



      $dX(t)=mu dt + sigma dB_t$.



      where $B$ is a standard Brownian motion. In particular I'm assuming that both the drift and volatility are constant over time.



      Question:



      Given data points $x_{t_1}, ldots x_{t_n}$ that are realizations of the random variable $X(t)$ at times $t_1 ldots t_n$, how do I estimate the drift and volatility parameters $mu, sigma$ ? I'm interested in a method that is relatively easy to implement.



      I would also like to know if there already exist libraries in say Python that might help for this task.



      What would be a method for estimating $mu$ and $sigma$ if they change over time? (I.e. they are are time dependent)










      share|cite|improve this question















      I have a process $X(t)$ defined on some finite time horizon $[0,T]$ and I know that my process satisfies the following SDE:



      $dX(t)=mu dt + sigma dB_t$.



      where $B$ is a standard Brownian motion. In particular I'm assuming that both the drift and volatility are constant over time.



      Question:



      Given data points $x_{t_1}, ldots x_{t_n}$ that are realizations of the random variable $X(t)$ at times $t_1 ldots t_n$, how do I estimate the drift and volatility parameters $mu, sigma$ ? I'm interested in a method that is relatively easy to implement.



      I would also like to know if there already exist libraries in say Python that might help for this task.



      What would be a method for estimating $mu$ and $sigma$ if they change over time? (I.e. they are are time dependent)







      reference-request stochastic-processes parameter-estimation






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited 23 hours ago









      Mefitico

      829117




      829117










      asked Nov 5 at 14:15









      sigmatau

      1,8891923




      1,8891923






      This question has an open bounty worth +100
      reputation from sigmatau ending in 6 days.


      This question has not received enough attention.








      This question has an open bounty worth +100
      reputation from sigmatau ending in 6 days.


      This question has not received enough attention.
























          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          I'm not so familiar with this formulation of the problem, but a common practice in engineering is the method based on Allan Variance. You basically assume the high frequency noise to be the volatility while the low frequency is the drift and identify btoh from the slopes on the chart..



          As for the case when they are not constant it would be necessary to make some assumptions on how they vary over time. Either by giving them specific time functions with parameters to be estimated or possibly assuming that they are themselves performing soem kind of random (possibly Brownian) motion, in which case some technique like an Extended Kalman Filter or a Particle Filter could be envisaged.






          share|cite|improve this answer























            Your Answer





            StackExchange.ifUsing("editor", function () {
            return StackExchange.using("mathjaxEditing", function () {
            StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
            StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
            });
            });
            }, "mathjax-editing");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "69"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            noCode: true, onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














             

            draft saved


            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2985791%2fparameter-estimation-for-stochastic-differential-equation%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            I'm not so familiar with this formulation of the problem, but a common practice in engineering is the method based on Allan Variance. You basically assume the high frequency noise to be the volatility while the low frequency is the drift and identify btoh from the slopes on the chart..



            As for the case when they are not constant it would be necessary to make some assumptions on how they vary over time. Either by giving them specific time functions with parameters to be estimated or possibly assuming that they are themselves performing soem kind of random (possibly Brownian) motion, in which case some technique like an Extended Kalman Filter or a Particle Filter could be envisaged.






            share|cite|improve this answer



























              up vote
              0
              down vote













              I'm not so familiar with this formulation of the problem, but a common practice in engineering is the method based on Allan Variance. You basically assume the high frequency noise to be the volatility while the low frequency is the drift and identify btoh from the slopes on the chart..



              As for the case when they are not constant it would be necessary to make some assumptions on how they vary over time. Either by giving them specific time functions with parameters to be estimated or possibly assuming that they are themselves performing soem kind of random (possibly Brownian) motion, in which case some technique like an Extended Kalman Filter or a Particle Filter could be envisaged.






              share|cite|improve this answer

























                up vote
                0
                down vote










                up vote
                0
                down vote









                I'm not so familiar with this formulation of the problem, but a common practice in engineering is the method based on Allan Variance. You basically assume the high frequency noise to be the volatility while the low frequency is the drift and identify btoh from the slopes on the chart..



                As for the case when they are not constant it would be necessary to make some assumptions on how they vary over time. Either by giving them specific time functions with parameters to be estimated or possibly assuming that they are themselves performing soem kind of random (possibly Brownian) motion, in which case some technique like an Extended Kalman Filter or a Particle Filter could be envisaged.






                share|cite|improve this answer














                I'm not so familiar with this formulation of the problem, but a common practice in engineering is the method based on Allan Variance. You basically assume the high frequency noise to be the volatility while the low frequency is the drift and identify btoh from the slopes on the chart..



                As for the case when they are not constant it would be necessary to make some assumptions on how they vary over time. Either by giving them specific time functions with parameters to be estimated or possibly assuming that they are themselves performing soem kind of random (possibly Brownian) motion, in which case some technique like an Extended Kalman Filter or a Particle Filter could be envisaged.







                share|cite|improve this answer














                share|cite|improve this answer



                share|cite|improve this answer








                edited 23 hours ago

























                answered 23 hours ago









                Mefitico

                829117




                829117






























                     

                    draft saved


                    draft discarded



















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2985791%2fparameter-estimation-for-stochastic-differential-equation%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Can a sorcerer learn a 5th-level spell early by creating spell slots using the Font of Magic feature?

                    Does disintegrating a polymorphed enemy still kill it after the 2018 errata?

                    A Topological Invariant for $pi_3(U(n))$