Cochran-Mantel-Haenszel Statistics using Proc FREQ

The Cochran-Mantel-Haenszel test statistic is one of the many statistical measures used in case control studies. To obtain this useful statistic, which compares the odds ratio, you can declare the CMH option on the TABLE statement in PROC FREQ.

General Syntax

PROC FREQ DATA = ;
TABLE X*Y/CMH;
RUN;


Example:

The data set Migraine contains hypothetical data for a clinical trial of migraine treatment. Subjects of both genders receive either a new drug therapy or a placebo. Their response to treatment is coded as ‘Better’ or ‘Same’. The data are recorded as cell counts, and the number of subjects for each treatment and response combination is recorded in the variable Count.


data Migraine;
input Gender $ Treatment $ Response $ Count @@;
datalines;
female Active Better 16 female Active Same 11
female Placebo Better 5 female Placebo Same 20
male Active Better 12 male Active Same 16
male Placebo Better 7 male Placebo Same 19
;
Run;

The following PROC FREQ statements create a multiway table stratified by Gender, where Treatment forms the rows and Response forms the columns. The CMH option produces the Cochran-Mantel-Haenszel statistics. For this stratified table, estimates of the common relative risk and the Breslow-Day test for homogeneity of the odds ratios are also displayed. The NOPRINT option suppresses the display of the contingency tables. 


proc freq data=Migraine;
tables Gender*Treatment*Response / cmh; 
weight Count;
title ‘Clinical Trial for Treatment of Migraine Headaches’;
run;




For a stratified table, the three CMH statistics displayed in Output above test the same hypothesis. The significant -value (0.004) indicates that the association between treatment and response remains strong after adjusting for gender.

The CMH option also produces a table of relative risks, as shown in next Output. Because this is a prospective study, the relative risk estimate assesses the effectiveness of the new drug; the “Cohort (Col1 Risk)” values are the appropriate estimates for the first column (the risk of improvement). The probability of migraine improvement with the new drug is just over two times the probability of improvement with the placebo.
The large -value for the Breslow-Day test (0.2218) in Output 3.7.3 indicates no significant gender difference in the odds ratios.







EPOCH RESEARCH INSTITUTE OFFER: 
Email us: info@epoch.co.in Call :079 – 40327000
SAS Training & Placement Programs with Internship : Epoch Research Institute India Largest and Oldest  SAS Training Institute
Epoch Research Institute Links:
Labels:
CHM, Proc Freq, Procedure, SAS, Statistics, 
#Base SAS training#BIGDATASASTRAININGEPOCH#Clinical SAS Online Training#epochresearchinstitute SAS TRAINING#Live SAS web Training#online SAS training#SAS Live web classroom Training#SAS Online Training%display%goto%windowAdd-InsAdvanceAdvance interviewAdvance SASallanalyticsanalysisanalyticsanalytics courses onlineanalytics training coursesapplicationBANGLOREbaseBase SASBASE SAS CERTIFICATIONBase SAS trainingBeginnerBIBig Databig data analytics training bangalorebigdatabioavalibilitybooksBusiness IntelligenceCareerCertified SAS ProgrammerCHMclinicalclinical data namagementclinical SASClinical SAS Online Trainingclinical trialClinical Trial Questionscodecode freeCodingCorrelationCROcustom styleDASHBOARDdataData ExplorationData IntegrationDATA MANAGEMENTDEBUGdefinationdefinitiondrug discoveryEGElectronic SubmissionEminorenhance editorEnterprise Guideepoch feedbackepoch sas trainingEPOCH SAS TRAINING AHMEDABADERRORETLexcelExploreFDAForecastingFREEFree SASFree TrainingFREE WEBINARfreq reportGCHARThadoopICH GCP quizIMPORTIndexInterview QuestionsJOBknowLibraryLife ScienceLive SAS web TraininglocfLOGmacroMacro interview questionsmarketingNewsOLAPonline SAS trainingOptionsPerformance Tuningpharmaphase trialPivot tablePredictive analyticsPredictive ModelingProc FreqProc meansProc Mixedproc sqlPROC TRANSPOSEProcedureProgrammerprogrammingquizREGRegulatory Authorityreportingsample programSASSAS 9.3SAS AdvanceSAS BISAS BI CertificationSAS BI Dashboard 4.3 – What’s Newsas bookSAS ConsultantSAS DatasetSAS DI CertificationSAS EG 5.1SAS Eminorsas enterprise guidesas functionsSAS Good programming PracticeSAS GraphSAS Instructor TipsSAS Interview PreparationSAS LinksSAS Live web classroom TrainingSAS MacroSAS Online TrainingSAS Programming Tipssas publicationSAS ReportingSAS Stored ProcessSAS StyleSAS TIPSSAS TrainingSAS WBCASTSAS WebinarsastalkssastrainingSHORTCUTSQLSQL. DATA STEPSStandardsSTATStatisticsStrategysummarizingTechnologyterminologyTIPSTrafic lightingtrainingtraining.TRANSPOSEtrialTTESTuser interfaceutilityvariableWeb Report StudioWebinarWhats NewWhats new in SAS 9.3http://www.epoch.co.in