incidence rate

Frequent Contributor
Posts: 75

incidence rate

Hi all, 


I want to compute incidence rate for all patients in my cohort. Patients who had an event (svcdate) after the index_date will be the patietns who had an incident and those who did not have an incidence after the index_date will be the ones at risk. The  person years will be period_stop - svcdate/365 for each patient. Incidence rate is number of new events (patients)/ Person years for all patients.


How do we compute  this ?

SAS Moderator
Posts: 69

Re: incidence rate [how to improve your question]

Hello @manya92,

Your question requires more details before experts can help. Can you revise your question to include more information? 


Review this checklist:

  • Specify a meaningful subject line for your topic.  Avoid generic subjects like "need help," "SAS query," or "urgent."
  • When appropriate, provide sample data in text or DATA step format.  See this article for one method you can use.
  • If you're encountering an error in SAS, include the SAS log or a screenshot of the error condition. Use the Photos button to include the image in your message.
  • It also helps to include an example (table or picture) of the result that you're trying to achieve.

To edit your original message, select the "blue gear" icon at the top of the message and select Edit Message.  From there you can adjust the title and add more details to the body of the message.  Or, simply reply to this message with any additional information you can supply.



SAS experts are eager to help -- help them by providing as much detail as you can.


This prewritten response was triggered for you by fellow SAS Support Communities member @draycut

Super User
Posts: 2,516

Re: incidence rate [how to improve your question]

Posted in reply to Community_Guide

@Community_Guide @draycut 

Can we somehow include this text in the "New Message" page ?

At the moment the page includes this footnote:


Stop right there! Before pressing POST, tick off this checklist. Does your post …

✔ Have a descriptive subject line, i.e., How do I ‘XYZ’? ✔ Use simple language and provide context? Definitely mention what version you’re on. ✔ Include code and example data? Consider using the SAS Syntax feature.

If you answered YES to each of these, you’re on your way to receiving a fast, helpful answer.





which doesn't seem to have the intended effect. 


Maybe the validation list should be placed before the text input field ?

Maybe a check list (to be  checked  before the "Post" button is ungreyed) would work?

Maybe should we include the links from @KurtBremser's signature?


The current format seems to generate too many incomplete or unclear questions, so a way to entice users into spending time to properly explain what their issue is needed.

Requesters should be spending that time, not the SAS experts trying to second guess what on earth was asked (as the link in the footnote points out).






Ask a Question
Discussion stats
  • 2 replies
  • 1 like
  • 3 in conversation