BookmarkSubscribeRSS Feed
lauramb
Fluorite | Level 6

Hello there,

I have the data: number of cases of disease A and disease B by age in a population and the census of that population. I also know which cases present with both diseases.

My hypothesis is that both diseases are not related so I'm doing an equivalence test for the risk of having disease B if you have disease A. Mainly: B+A+/A+ = B+A-/A- (the margin is the 20% of the incidence in the A- group). 

What I have so far is: 

proc freq data = datas order=data; 
          tables A*B/norow nocol nopercent riskdiff(equiv margin=0.0002); 
          weight counts; 
          run;

I'm using counts because I have number of cases in the population and total population size, so I'm estimating the non diseased population from those numbers.

My problem is that the probability for both diseases increases with age, so I need to to remove the age factor from my analysis. Is there a way to remove the co-variate from this model?

Because I was thinking about standardization, but all the data comes from the same population. Any thoughts?

 

2 REPLIES 2
Reeza
Super User

Compute age/sex standardized rates and compare those instead?

I think PROC STDRATE is designed to calculate the standardized rates.

lauramb
Fluorite | Level 6

My confusion comes from the fact that I have two diseases, and the risk ratios are defined as the presence of disease B on the sub-population with disease A (A+) versus the presence of disease B on the sub-population without A (A-). Both sub-populations add up to the same population. I was thinking about standardizing the rate of sub-population A+ and A- to that of the general population, but I don't know if that makes any sense being that both come from the same population. Another option is to restrict the general population to the age at risk for the diseases. But this is not very precise.

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!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1423 views
  • 1 like
  • 2 in conversation