Announcement

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

  • Calculating response rates to surveys

    Dear all,

    I have a project which sends surveys to participants based on certain events.

    I would like to workout the response rate per participant for the past 2 weeks and list their pid if the rate is less than 50%.

    My variables are pid (participant id), survey_sent (the name of the survey that was sent), date_sent (date the survey was sent) and responded (yes no field that indicates whether a survey was responded to).

    I hope this covers all info required for help.

    Thanks!

  • #2
    I think you would have a better chance of getting a helpful response if you used the -dataex- command to post example data so that those who want to help you can try to develop and test some code for you. If you are running version 17, 16 or a fully updated version 15.1 or 14.2, -dataex- is already part of your official Stata installation. If not, run -ssc install dataex- to get it. Either way, run -help dataex- to read the simple instructions for using it. -dataex- will save you time; it is easier and quicker than typing out tables. It includes complete information about aspects of the data that are often critical to answering your question but cannot be seen from tabular displays or screenshots. It also makes it possible for those who want to help you to create a faithful representation of your example to try out their code, which in turn makes it more likely that their answer will actually work in your data.

    When asking for help with code, always show example data. When showing example data, always use -dataex-.

    Comment

    Working...
    X