Announcement

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

  • Generating*two or more consecutive visits

    conse_miss | HIV_all
    ed_visits | 1 | Total
    -----------+-----------+----------
    1 | 44 | 44
    2 | 79 | 79
    3 | 98 | 98
    4 | 72 | 72
    5 | 62 | 62
    6 | 51 | 51
    7 | 22 | 22
    8 | 15 | 15
    9 | 12 | 12
    10 | 3 | 3
    -----------+-----------+----------
    Total | 458 | 458
    Given this table with variables (conse_missed_visits) that represents missed visits at Visit Point one to ten as indicated. Then (HIV_all) variable that contains the frequency of the missed visits at each visit point. I need some help with a STATA code that generates least two or more consecutive missed visits.

  • #2
    Please provide a data example, e.g., by copying and pasting the result of the following:

    Code:
    dataex

    Comment

    Working...
    X