Programming the statistical procedures from SAS

Proc Logistic or Proc PHreg?

Reply
Frequent Contributor
Posts: 126

Proc Logistic or Proc PHreg?

Hi all,

Could anyone explain to me what is the difference between the above mentioned methods? Trying to build a model for churn and pondering over which one to choose to achieve better results

Thnx in advance,

Aristos

Super User
Posts: 9,775

Proc Logistic or Proc PHreg?

The most differenct is data.

proc phreg is used to test influence of independent variables  for censored data.

If your data is censored ,then use proc phreg.

proc logistic is used to test binary dependent variable.

Ksharp

Frequent Contributor
Posts: 126

Proc Logistic or Proc PHreg?

Thank you for your clarification Ksharp, more clearer now what to use.

KR

Aristos

Frequent Contributor
Posts: 104

Re: Proc Logistic or Proc PHreg?

Logistic regresson in general deals with situations where you are trying to classify subjects into cases, often binary, but it may be ordinal (low, medium, high), or nominal (choice of food, for example, there is no scale or ranking within these classes).  SAS has a number of procedures that can handle logistic regression, PROC LOGISTIC being one of them, and has been around a long time.  But it's not the only PROC that can handle logistic regression problems.

PHREG - proportional hazard models deal with survival analysis where the TIME dimension is very prominent in the analysis.  The interest is on the hazard function.  The data structure is quite a bit more complicated, especially if youhave time-varying covariates.

For churn problems, sometimes for convenience, one picks a fixed timeframe, say 6 month or 1 year, then the question of how long will each account survive gets transformed into "within 6 month or 1 year, what is the attrition probability", a problem that logistic regression can handle.

They are often related by the type of problem they are pressed to solve, but the underlying thinking, view of the problem, and mathematics are quite different.

Ask a Question
Discussion stats
  • 3 replies
  • 757 views
  • 0 likes
  • 3 in conversation