Regression Model for continuous dependent variable and binary independent variable

balaji_sundaram
balaji_sundaram New Altair Community Member
edited November 2024 in Community Q&A

I need to know what kind of model i can use when the dependent variable is continuous and independent variables are binary

Answers

  • Thomas_Ott
    Thomas_Ott New Altair Community Member
  • balaji_sundaram
    balaji_sundaram New Altair Community Member

    Yes, but that doesn't talk about time series. 

    I need to know what kind of model I can use when the dependent variable is continuous and independent variables are binary. The dependent variable is sales and independent variables are months, year and other binary value variables

  • MartinLiebig
    MartinLiebig
    Altair Employee

    Hi,

     

    you probably want to window your time series data set first. Afterwards you join the correct labels to predict. That means you have numerical regular attributes (aka continuous depended variables) and a binominal label (aka binary independend variable).

     

    Most algorithm can do this. E.g. SVM, Deep Learning, Random Forest, GBT.

     

    Best,

    Martin