BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Jpham
Calcite | Level 5

please help me understand the meaning of * in front of a variable name such as:
COUNT=events;*numerator;
Total=denominatoryr1;*denominator;

 

Thank you

1 ACCEPTED SOLUTION

Accepted Solutions
shahparth260
Quartz | Level 8

I have imported this code in to SAS. I surely can say this is a comment/ explanation / annotation whoever write this program. 

Please have a look once in to attachment that I am sending with this. I hope it helpful. 

It gives you extra information that which variable you use as Denominator and Nominator for calculation. 

Smiley Happy

 

PS

View solution in original post

8 REPLIES 8
shahparth260
Quartz | Level 8

If you have seen this in Code it should be comment. Can you provide where you have exactly seen ?

PS
Jpham
Calcite | Level 5

here is more code before and after:

data rateyr1;
length range $25;
merge startyr1 finishyr1 numyr1 ;
by year;
range=startyr1||"-"||finishyr1;
events=numyr1;
if events=. then events=0;
pts_at_risk=denominatoryr1;
rate=put((events/denominatoryr1)*100,6.1);

COUNT=events;*numerator;
Total=denominatoryr1;*denominator;
SD=1.96; *1.96 for 95% CI, 1.65 for 90% CI, 0.68 for 50% CI;
obs_agreement=round(Count/Total*100,0.1);

 

shahparth260
Quartz | Level 8
Are you able to send snippets wherever you have seen ??
PS
Jpham
Calcite | Level 5

I inherit this code and I am trying to understand it.  I do not have any snippets.  

shahparth260
Quartz | Level 8

I have imported this code in to SAS. I surely can say this is a comment/ explanation / annotation whoever write this program. 

Please have a look once in to attachment that I am sending with this. I hope it helpful. 

It gives you extra information that which variable you use as Denominator and Nominator for calculation. 

Smiley Happy

 

PS
shahparth260
Quartz | Level 8

You're welcome and thanks for accepting as a solution. 

 

 

PS

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 8 replies
  • 1236 views
  • 0 likes
  • 2 in conversation