Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Best model for dummy explanatory variable

    Hi there!
    I'm trying to understand what is the best model to use for this research question: what is the effect of the number of searches, days of use, etc
    (x1, x2, x n, etc..) on the probability to become a premium user of a service?

    - y is a dummy variable where 0 is NONPREMIUM and 1 is PREMIUM.
    - I have cross-sectional data where each id corresponds to a row of data
    - The sample counts 80k users/id, they started using the service in different moments and we take time into account with a variable which represents "numbers of days from the activation day"

    Which model would you suggest to use?

    Thank you so much in advance for your help!
    RP


  • #2
    Roberta:
    I would try:
    Code:
    logistic y i.x1 i.x2 i.xn c.number_days##c.number_days
    Kind regards,
    Carlo
    (Stata 18.0 SE)

    Comment

    Working...
    X