BookmarkSubscribeRSS Feed
manya92
Fluorite | Level 6

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 ?

2 REPLIES 2
Community_Guide
SAS Moderator

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.
    use_buttons.png
  • 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.

 

edit_post.png

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 @PeterClemmensen

.
ChrisNZ
Tourmaline | Level 20

@Community_Guide @PeterClemmensen 

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 @Kurt_Bremser'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).

 

 

 

 

 

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 391 views
  • 1 like
  • 3 in conversation