Help using Base SAS procedures

trends over time

Accepted Solution Solved
Reply
Occasional Contributor EMB
Occasional Contributor
Posts: 5
Accepted Solution

trends over time

I am sorry- I will try to explain.

The data analyzed was collected in 4 periods but in each period we collected data about different patients. I would like to assess if there is a significant change in age of first diagnosis in the various periods- for example, we have data on age of diagnosis of asthma for all the new patients in a defined community in 2008 and data on age of diagnosis of asthma for all the new patients in 2012 and in 2016. Mean age at each period was different and the difference is significant. My question is how can I evaluate if there is a pattern in the change (is the mean age increasing linearly over these periods?).

I hope this is more clear.

Thanks again!


Accepted Solutions
Solution
‎06-27-2017 02:28 PM
Super User
Posts: 17,963

Re: trends over time

Because the participants are at different times I don't think you need to worry about the time component of this analysis and you can do standard statistical comparison to see if the average age is different between the groups. This would be done via an ANOVA.

 

The only reason time may need to be a factor is if you had a different criteria for joining at each time point. 

View solution in original post


All Replies
Solution
‎06-27-2017 02:28 PM
Super User
Posts: 17,963

Re: trends over time

Because the participants are at different times I don't think you need to worry about the time component of this analysis and you can do standard statistical comparison to see if the average age is different between the groups. This would be done via an ANOVA.

 

The only reason time may need to be a factor is if you had a different criteria for joining at each time point. 

Occasional Contributor EMB
Occasional Contributor
Posts: 5

Re: trends over time

Thanks!

Super User
Posts: 17,963

Re: trends over time

Sorry, that should read, different participants at different times. If it was the same participants at different times you'd have a different issue.

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 3 replies
  • 205 views
  • 0 likes
  • 2 in conversation