1
$\begingroup$

I am trying to predict - Number of days it takes for a customer to make the second purchase. Sometimes the customer comes back in 2,5,6,10.... days and sometimes the customer does not come back which is indicated by NULL in my data. Since my Target Variable can be NULL and some other values, should I think about using Linear Regression? Do you think Using Logistic Regression is better approach?

Also, if my target variable is right skewed should I apply transformations? Will it impact the way I analyze my results

$\endgroup$
  • $\begingroup$ The customers that 'don't come back' might come back after you've stopped watching. So it may be helpful to look at this as a matter of censoring. $\endgroup$ – BruceET Oct 3 '19 at 2:42
0
$\begingroup$

The tool you are looking for is survival analysis. Its main use is in clinical analyses, whether people die sooner or later after some intervention. Of course, sometimes people don't die at all during the course of the experiment. In your case, the analogue of a patient's death would be a customer's return.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.