BookmarkSubscribeRSS Feed
pkmkart
Calcite | Level 5

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?

8 REPLIES 8
Reeza
Super User

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.

pkmkart
Calcite | Level 5

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?

Reeza
Super User

You may want to control for different plants, meats, etc so you may going into proc panel or mixed here.

StatDave
SAS Super FREQ

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.

ets_kps
SAS Employee

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. 

SteveDenham
Jade | Level 19

And if it is a very simple before/after comparison on a single variable, PROC TTEST may be all that is needed.

Steve Denham

Reeza
Super User

If it's counts it may also be a chi-square test...

pkmkart
Calcite | Level 5

I used proc mixed, it gives the output more similar to the required output. Thanks to everyone for the reply and help.

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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
  • 8 replies
  • 2439 views
  • 6 likes
  • 5 in conversation