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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

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
  • 1296 views
  • 1 like
  • 2 in conversation