relation in between a categorical dependent variable and combination of independent variables











up vote
-1
down vote

favorite












I am looking for a technique which could help us find the relation in between a categorical dependent variable and combination of independent variables (Y ~ X1*X2+X2*X3+X3*X4), here among X1 to X4 we have few categorical columns and few continuous columns.



I am working on a classification problem and I want to check what combination of independent columns are highly related to dependent columns.










share|improve this question




























    up vote
    -1
    down vote

    favorite












    I am looking for a technique which could help us find the relation in between a categorical dependent variable and combination of independent variables (Y ~ X1*X2+X2*X3+X3*X4), here among X1 to X4 we have few categorical columns and few continuous columns.



    I am working on a classification problem and I want to check what combination of independent columns are highly related to dependent columns.










    share|improve this question


























      up vote
      -1
      down vote

      favorite









      up vote
      -1
      down vote

      favorite











      I am looking for a technique which could help us find the relation in between a categorical dependent variable and combination of independent variables (Y ~ X1*X2+X2*X3+X3*X4), here among X1 to X4 we have few categorical columns and few continuous columns.



      I am working on a classification problem and I want to check what combination of independent columns are highly related to dependent columns.










      share|improve this question















      I am looking for a technique which could help us find the relation in between a categorical dependent variable and combination of independent variables (Y ~ X1*X2+X2*X3+X3*X4), here among X1 to X4 we have few categorical columns and few continuous columns.



      I am working on a classification problem and I want to check what combination of independent columns are highly related to dependent columns.







      python machine-learning statistics analysis






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 8 at 10:26









      blue-phoenox

      2,74971435




      2,74971435










      asked Nov 8 at 9:18









      Chaitanya Sai

      44




      44
























          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          I am not sure if I correctly understand your question, but from what I understand:
          You can try to convert your continuous columns to buckets, which means effectively converting them as categorical as well and then find correlation between them.






          share|improve this answer





















          • Thanks for the quick response, I understood what you've suggested but unfortunately I cannot implement that since I have columns like "Interest rate" where I don't want to group them since the values are very near by. However let's say even though I group few of them, are there any techniques which could say the relation between a categorical dependent variable and combination of two independent variables??
            – Chaitanya Sai
            Nov 8 at 10:26










          • @ChaitanyaSai well it looks like it is a fundamental problem that we try to solve using all machine learning algorithms. For instance, logistic regression gives relationship between one dependent discrete variable and one or more nominal, ordinal ,interval or ratio-level independent variables
            – power.puffed
            Nov 8 at 13:13












          • I have tried using Logistic Regression and found very few significant combinations based on P-value, am looking for some alternatives ways which can be useful in such scenarios so that I can give those combinations to model which I get through the once I got through Logistic regression and through some other alternative ways. So, I would like to know few alternatives. Thanks
            – Chaitanya Sai
            Nov 9 at 4:54











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          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
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














           

          draft saved


          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53204674%2frelation-in-between-a-categorical-dependent-variable-and-combination-of-independ%23new-answer', 'question_page');
          }
          );

          Post as a guest
































          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          0
          down vote













          I am not sure if I correctly understand your question, but from what I understand:
          You can try to convert your continuous columns to buckets, which means effectively converting them as categorical as well and then find correlation between them.






          share|improve this answer





















          • Thanks for the quick response, I understood what you've suggested but unfortunately I cannot implement that since I have columns like "Interest rate" where I don't want to group them since the values are very near by. However let's say even though I group few of them, are there any techniques which could say the relation between a categorical dependent variable and combination of two independent variables??
            – Chaitanya Sai
            Nov 8 at 10:26










          • @ChaitanyaSai well it looks like it is a fundamental problem that we try to solve using all machine learning algorithms. For instance, logistic regression gives relationship between one dependent discrete variable and one or more nominal, ordinal ,interval or ratio-level independent variables
            – power.puffed
            Nov 8 at 13:13












          • I have tried using Logistic Regression and found very few significant combinations based on P-value, am looking for some alternatives ways which can be useful in such scenarios so that I can give those combinations to model which I get through the once I got through Logistic regression and through some other alternative ways. So, I would like to know few alternatives. Thanks
            – Chaitanya Sai
            Nov 9 at 4:54















          up vote
          0
          down vote













          I am not sure if I correctly understand your question, but from what I understand:
          You can try to convert your continuous columns to buckets, which means effectively converting them as categorical as well and then find correlation between them.






          share|improve this answer





















          • Thanks for the quick response, I understood what you've suggested but unfortunately I cannot implement that since I have columns like "Interest rate" where I don't want to group them since the values are very near by. However let's say even though I group few of them, are there any techniques which could say the relation between a categorical dependent variable and combination of two independent variables??
            – Chaitanya Sai
            Nov 8 at 10:26










          • @ChaitanyaSai well it looks like it is a fundamental problem that we try to solve using all machine learning algorithms. For instance, logistic regression gives relationship between one dependent discrete variable and one or more nominal, ordinal ,interval or ratio-level independent variables
            – power.puffed
            Nov 8 at 13:13












          • I have tried using Logistic Regression and found very few significant combinations based on P-value, am looking for some alternatives ways which can be useful in such scenarios so that I can give those combinations to model which I get through the once I got through Logistic regression and through some other alternative ways. So, I would like to know few alternatives. Thanks
            – Chaitanya Sai
            Nov 9 at 4:54













          up vote
          0
          down vote










          up vote
          0
          down vote









          I am not sure if I correctly understand your question, but from what I understand:
          You can try to convert your continuous columns to buckets, which means effectively converting them as categorical as well and then find correlation between them.






          share|improve this answer












          I am not sure if I correctly understand your question, but from what I understand:
          You can try to convert your continuous columns to buckets, which means effectively converting them as categorical as well and then find correlation between them.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 8 at 9:58









          power.puffed

          115




          115












          • Thanks for the quick response, I understood what you've suggested but unfortunately I cannot implement that since I have columns like "Interest rate" where I don't want to group them since the values are very near by. However let's say even though I group few of them, are there any techniques which could say the relation between a categorical dependent variable and combination of two independent variables??
            – Chaitanya Sai
            Nov 8 at 10:26










          • @ChaitanyaSai well it looks like it is a fundamental problem that we try to solve using all machine learning algorithms. For instance, logistic regression gives relationship between one dependent discrete variable and one or more nominal, ordinal ,interval or ratio-level independent variables
            – power.puffed
            Nov 8 at 13:13












          • I have tried using Logistic Regression and found very few significant combinations based on P-value, am looking for some alternatives ways which can be useful in such scenarios so that I can give those combinations to model which I get through the once I got through Logistic regression and through some other alternative ways. So, I would like to know few alternatives. Thanks
            – Chaitanya Sai
            Nov 9 at 4:54


















          • Thanks for the quick response, I understood what you've suggested but unfortunately I cannot implement that since I have columns like "Interest rate" where I don't want to group them since the values are very near by. However let's say even though I group few of them, are there any techniques which could say the relation between a categorical dependent variable and combination of two independent variables??
            – Chaitanya Sai
            Nov 8 at 10:26










          • @ChaitanyaSai well it looks like it is a fundamental problem that we try to solve using all machine learning algorithms. For instance, logistic regression gives relationship between one dependent discrete variable and one or more nominal, ordinal ,interval or ratio-level independent variables
            – power.puffed
            Nov 8 at 13:13












          • I have tried using Logistic Regression and found very few significant combinations based on P-value, am looking for some alternatives ways which can be useful in such scenarios so that I can give those combinations to model which I get through the once I got through Logistic regression and through some other alternative ways. So, I would like to know few alternatives. Thanks
            – Chaitanya Sai
            Nov 9 at 4:54
















          Thanks for the quick response, I understood what you've suggested but unfortunately I cannot implement that since I have columns like "Interest rate" where I don't want to group them since the values are very near by. However let's say even though I group few of them, are there any techniques which could say the relation between a categorical dependent variable and combination of two independent variables??
          – Chaitanya Sai
          Nov 8 at 10:26




          Thanks for the quick response, I understood what you've suggested but unfortunately I cannot implement that since I have columns like "Interest rate" where I don't want to group them since the values are very near by. However let's say even though I group few of them, are there any techniques which could say the relation between a categorical dependent variable and combination of two independent variables??
          – Chaitanya Sai
          Nov 8 at 10:26












          @ChaitanyaSai well it looks like it is a fundamental problem that we try to solve using all machine learning algorithms. For instance, logistic regression gives relationship between one dependent discrete variable and one or more nominal, ordinal ,interval or ratio-level independent variables
          – power.puffed
          Nov 8 at 13:13






          @ChaitanyaSai well it looks like it is a fundamental problem that we try to solve using all machine learning algorithms. For instance, logistic regression gives relationship between one dependent discrete variable and one or more nominal, ordinal ,interval or ratio-level independent variables
          – power.puffed
          Nov 8 at 13:13














          I have tried using Logistic Regression and found very few significant combinations based on P-value, am looking for some alternatives ways which can be useful in such scenarios so that I can give those combinations to model which I get through the once I got through Logistic regression and through some other alternative ways. So, I would like to know few alternatives. Thanks
          – Chaitanya Sai
          Nov 9 at 4:54




          I have tried using Logistic Regression and found very few significant combinations based on P-value, am looking for some alternatives ways which can be useful in such scenarios so that I can give those combinations to model which I get through the once I got through Logistic regression and through some other alternative ways. So, I would like to know few alternatives. Thanks
          – Chaitanya Sai
          Nov 9 at 4:54


















           

          draft saved


          draft discarded



















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53204674%2frelation-in-between-a-categorical-dependent-variable-and-combination-of-independ%23new-answer', 'question_page');
          }
          );

          Post as a guest




















































































          Popular posts from this blog

          Guess what letter conforming each word

          Port of Spain

          Run scheduled task as local user group (not BUILTIN)