Announcement

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

  • The meaning of "mean" for categorical variables in stcurve

    In the Stata manual, there is an example of using the -stcurve- command after fitting a Cox regression model with one continuous (age) and one binary (drug) variable:
    Code:
    stcurve, survival
    The note below it states, "Note: function evaluated at overall means of covariates."
    What does "mean" of the binary (0.1) variable drug mean?
    Thanks,
    Andrzej

  • #2
    The mean is the literal application of the average to a variable whose values are 0 or 1. In other words, it’s the proportion of the group indicated by the value of 1.

    Comment


    • #3
      That's what I thought, but I wanted to make sure.
      Thanks, Leonardo.

      Comment

      Working...
      X