Constructing signal vectors for machine learninggenerative vs discriminative machine learningmachine learning for a ruleWhere to start Machine Learning?Mathematics disciplines underpinning Machine LearningThe optimization problem of soft margin Support Vector Machine: How to interpret?Machine learning: overfitting phenomenaInequalities for machine learning theoremsFinding constants to get a required frequency from a discrete signal processing functionMachine learning with Reject OptionMachine learning: PAC-learnability

Fully-Firstable Anagram Sets

How is the claim "I am in New York only if I am in America" the same as "If I am in New York, then I am in America?

What's the output of a record cartridge playing an out-of-speed record

Example of a continuous function that don't have a continuous extension

What defenses are there against being summoned by the Gate spell?

If I cast Expeditious Retreat, can I Dash as a bonus action on the same turn?

How to find program name(s) of an installed package?

Python: next in for loop

Can I make popcorn with any corn?

The use of multiple foreign keys on same column in SQL Server

strToHex ( string to its hex representation as string)

TGV timetables / schedules?

Arthur Somervell: 1000 Exercises - Meaning of this notation

How do I create uniquely male characters?

Theorems that impeded progress

Which models of the Boeing 737 are still in production?

How did the USSR manage to innovate in an environment characterized by government censorship and high bureaucracy?

Dragon forelimb placement

Why do falling prices hurt debtors?

What are these boxed doors outside store fronts in New York?

Languages that we cannot (dis)prove to be Context-Free

Why doesn't Newton's third law mean a person bounces back to where they started when they hit the ground?

Did Shadowfax go to Valinor?

Minkowski space



Constructing signal vectors for machine learning


generative vs discriminative machine learningmachine learning for a ruleWhere to start Machine Learning?Mathematics disciplines underpinning Machine LearningThe optimization problem of soft margin Support Vector Machine: How to interpret?Machine learning: overfitting phenomenaInequalities for machine learning theoremsFinding constants to get a required frequency from a discrete signal processing functionMachine learning with Reject OptionMachine learning: PAC-learnability













0












$begingroup$


I have daily stock returns related to sectors. At the end of each month I want to construct a vector of signals using the past data with different methods over different moving windows like EWMA over 1 month, 2 months etc). The objective is to then choose a machine learning model to select the best 5 signals to forecast the next month’s performance.



Here is my data:



> head(df)
Date .SXQR .SXTR .SXNR .SXMR .SXAR .SX3R .SX6R .SXFR .SXOR .SXDR
1 2000-01-03 364.94 223.93 489.04 586.38 306.56 246.81 385.36 403.82 283.78 455.39
2 2000-01-04 345.04 218.90 474.05 566.15 301.13 239.24 374.64 390.41 275.93 434.92
3 2000-01-05 338.22 215.88 464.20 542.29 298.22 239.55 373.26 383.48 272.54 430.05
4 2000-01-06 343.13 218.18 470.82 529.33 300.69 249.75 377.26 383.48 272.47 434.15
5 2000-01-07 349.46 220.10 478.87 531.65 306.50 255.17 381.19 390.23 273.76 447.02
6 2000-01-10 356.20 223.01 484.07 581.82 310.84 252.75 387.74 393.75 278.76 453.80


The data file is here.



I never did signal vectors and I want to learn how to do it. I googled it but didn't found anything.



Therefore how to construct a signal vector on each month with EWMA ? Should it be an ewma and when the actual value overshoot the expected, ewma's value we should write a True in a vector related to the sectors.










share|cite|improve this question









$endgroup$
















    0












    $begingroup$


    I have daily stock returns related to sectors. At the end of each month I want to construct a vector of signals using the past data with different methods over different moving windows like EWMA over 1 month, 2 months etc). The objective is to then choose a machine learning model to select the best 5 signals to forecast the next month’s performance.



    Here is my data:



    > head(df)
    Date .SXQR .SXTR .SXNR .SXMR .SXAR .SX3R .SX6R .SXFR .SXOR .SXDR
    1 2000-01-03 364.94 223.93 489.04 586.38 306.56 246.81 385.36 403.82 283.78 455.39
    2 2000-01-04 345.04 218.90 474.05 566.15 301.13 239.24 374.64 390.41 275.93 434.92
    3 2000-01-05 338.22 215.88 464.20 542.29 298.22 239.55 373.26 383.48 272.54 430.05
    4 2000-01-06 343.13 218.18 470.82 529.33 300.69 249.75 377.26 383.48 272.47 434.15
    5 2000-01-07 349.46 220.10 478.87 531.65 306.50 255.17 381.19 390.23 273.76 447.02
    6 2000-01-10 356.20 223.01 484.07 581.82 310.84 252.75 387.74 393.75 278.76 453.80


    The data file is here.



    I never did signal vectors and I want to learn how to do it. I googled it but didn't found anything.



    Therefore how to construct a signal vector on each month with EWMA ? Should it be an ewma and when the actual value overshoot the expected, ewma's value we should write a True in a vector related to the sectors.










    share|cite|improve this question









    $endgroup$














      0












      0








      0





      $begingroup$


      I have daily stock returns related to sectors. At the end of each month I want to construct a vector of signals using the past data with different methods over different moving windows like EWMA over 1 month, 2 months etc). The objective is to then choose a machine learning model to select the best 5 signals to forecast the next month’s performance.



      Here is my data:



      > head(df)
      Date .SXQR .SXTR .SXNR .SXMR .SXAR .SX3R .SX6R .SXFR .SXOR .SXDR
      1 2000-01-03 364.94 223.93 489.04 586.38 306.56 246.81 385.36 403.82 283.78 455.39
      2 2000-01-04 345.04 218.90 474.05 566.15 301.13 239.24 374.64 390.41 275.93 434.92
      3 2000-01-05 338.22 215.88 464.20 542.29 298.22 239.55 373.26 383.48 272.54 430.05
      4 2000-01-06 343.13 218.18 470.82 529.33 300.69 249.75 377.26 383.48 272.47 434.15
      5 2000-01-07 349.46 220.10 478.87 531.65 306.50 255.17 381.19 390.23 273.76 447.02
      6 2000-01-10 356.20 223.01 484.07 581.82 310.84 252.75 387.74 393.75 278.76 453.80


      The data file is here.



      I never did signal vectors and I want to learn how to do it. I googled it but didn't found anything.



      Therefore how to construct a signal vector on each month with EWMA ? Should it be an ewma and when the actual value overshoot the expected, ewma's value we should write a True in a vector related to the sectors.










      share|cite|improve this question









      $endgroup$




      I have daily stock returns related to sectors. At the end of each month I want to construct a vector of signals using the past data with different methods over different moving windows like EWMA over 1 month, 2 months etc). The objective is to then choose a machine learning model to select the best 5 signals to forecast the next month’s performance.



      Here is my data:



      > head(df)
      Date .SXQR .SXTR .SXNR .SXMR .SXAR .SX3R .SX6R .SXFR .SXOR .SXDR
      1 2000-01-03 364.94 223.93 489.04 586.38 306.56 246.81 385.36 403.82 283.78 455.39
      2 2000-01-04 345.04 218.90 474.05 566.15 301.13 239.24 374.64 390.41 275.93 434.92
      3 2000-01-05 338.22 215.88 464.20 542.29 298.22 239.55 373.26 383.48 272.54 430.05
      4 2000-01-06 343.13 218.18 470.82 529.33 300.69 249.75 377.26 383.48 272.47 434.15
      5 2000-01-07 349.46 220.10 478.87 531.65 306.50 255.17 381.19 390.23 273.76 447.02
      6 2000-01-10 356.20 223.01 484.07 581.82 310.84 252.75 387.74 393.75 278.76 453.80


      The data file is here.



      I never did signal vectors and I want to learn how to do it. I googled it but didn't found anything.



      Therefore how to construct a signal vector on each month with EWMA ? Should it be an ewma and when the actual value overshoot the expected, ewma's value we should write a True in a vector related to the sectors.







      vectors machine-learning signal-processing






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Mar 29 at 16:36









      ThePassengerThePassenger

      8251925




      8251925




















          0






          active

          oldest

          votes












          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',
          autoActivateHeartbeat: false,
          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%2f3167332%2fconstructing-signal-vectors-for-machine-learning%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Mathematics Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          Use MathJax to format equations. MathJax reference.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3167332%2fconstructing-signal-vectors-for-machine-learning%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

          Triangular numbers and gcdProving sum of a set is $0 pmod n$ if $n$ is odd, or $fracn2 pmod n$ if $n$ is even?Is greatest common divisor of two numbers really their smallest linear combination?GCD, LCM RelationshipProve a set of nonnegative integers with greatest common divisor 1 and closed under addition has all but finite many nonnegative integers.all pairs of a and b in an equation containing gcdTriangular Numbers Modulo $k$ - Hit All Values?Understanding the Existence and Uniqueness of the GCDGCD and LCM with logical symbolsThe greatest common divisor of two positive integers less than 100 is equal to 3. Their least common multiple is twelve times one of the integers.Suppose that for all integers $x$, $x|a$ and $x|b$ if and only if $x|c$. Then $c = gcd(a,b)$Which is the gcd of 2 numbers which are multiplied and the result is 600000?

          Ingelân Ynhâld Etymology | Geografy | Skiednis | Polityk en bestjoer | Ekonomy | Demografy | Kultuer | Klimaat | Sjoch ek | Keppelings om utens | Boarnen, noaten en referinsjes Navigaasjemenuwww.gov.ukOffisjele webside fan it regear fan it Feriene KeninkrykOffisjele webside fan it Britske FerkearsburoNederlânsktalige ynformaasje fan it Britske FerkearsburoOffisjele webside fan English Heritage, de organisaasje dy't him ynset foar it behâld fan it Ingelske kultuergoedYnwennertallen fan alle Britske stêden út 'e folkstelling fan 2011Notes en References, op dizze sideEngland

          Boston (Lincolnshire) Stedsbyld | Berne yn Boston | NavigaasjemenuBoston Borough CouncilBoston, Lincolnshire