Announcement

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

  • Creating variables from an array

    My data set give me a list of care receivers(CR) in a column 1 ( study participants listed up to 15 CR). For each CR listed they provided info on age, sex ,relationship and so on. This information is located in columns 2-10 . What I want are variables that contains for example, the ages of all CRs or the sex of the CRs as one collective variable. How do I create these variables in STATA?

  • #2
    Jeon:
    welcome to the list.
    As per FAQ (that you're kindly requested to read before your first post), please, re-post your query on the General forum, as this one is conceived for practising purposes only. Thanks.
    Kind regards,
    Carlo
    (Stata 18.0 SE)

    Comment

    Working...
    X