I want to know the procedure(s) which will best compare and contrast the the performance of an event before and after implementation of new policy or after certain date?
For example: In a industry they have implemented new policy, so they wanted to compare the effectiveness of the policy, by comparing the before and after performance for one year, since the policy was implemented, they would like to compare the outcome (Percent, significance testing) based upon certain event?
Please let me know what procedures will help in doing these type of analysis?
Do you have a control group to test against? How can attribute changes to implementation versus other factors?
You haven't provided enough information but it sounds like a basic ANOVA or even t-test procedure.
Thanks for the reply. Actually My data is the from the meet industry where they perform sampling for few pathogens, so to prevent food borne disease they have implemented new inspection procedures for the industry. so now they have to compare the rates of positive counts of pathogens, their significance testing using certain model and volume weighted positive rates (depends on the amount of meet produced in that industry) before and after the implementation of the inspection for a certain period of time may be months, or quarter or bi-yearly, yearly and so on. so now they wanted to calculate this comparison in one procedure. I wanted one procedure which could do it.? if you have worked on this type of scenarios, please do help me?
You may want to control for different plants, meats, etc so you may going into proc panel or mixed here.
Rates are typically modeled using Poisson or negative binomial regression. This can be done in PROC GENMOD. See the discussion and example in this note.
I am not sure you have access to the SAS/ETS tools but this is exactly what PROC PANEL is built for. Here is a link to the documentation SAS/ETS(R) 13.2 User's Guide
It certainly is possible to do this with something like PROC MIXED but it would take quite a bit more coding to accomplish.
And if it is a very simple before/after comparison on a single variable, PROC TTEST may be all that is needed.
Steve Denham
If it's counts it may also be a chi-square test...
I used proc mixed, it gives the output more similar to the required output. Thanks to everyone for the reply and help.
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!
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.