Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

SAS problem For WR 2, visit the SAS/STAT(R) 9.2 User\'s Guide webpage at https:/

ID: 3362242 • Letter: S

Question

SAS problem

For WR 2, visit the SAS/STAT(R) 9.2 User's Guide webpage at

https://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm

WR 2) Using the contents panel on the left. Look in the details and syntax of the LOGISTIC procedure.

            - How does PROC LOGISTIC handle, by default, observations with missing values in the response?

            - Name three ODS graph options that are available with proc logistic.

            - What is the statement and option to get the odds ratio and the profile-likelihood confidence limits for the odds ratio?

Contents Topics About Shared Concepts and Topics Using the Output Delivery System Statistical Graphics Using ODS Procedures Previous Page | Next Page The ACECLUS Procedure The ANOVA Procedure The BOXPLOT Procedure The CALIS Procedure The CANCORR Procedure The CAN DISC Procedure The CATMOD Procedure The CLUSTER Procedure The COR RESP Procedure The DISCRIM Procedure The DISTANCE Procedure The FACTOR Procedure The FASTCLUS Procedure The FREQ Procedure The GAM Procedure The GENMOD Procedure The GLIMMIX Procedure The GLM Procedure The GLMMOD Procedure The GLMPOWER Procedure The GLMSELECT Procedure The HPMIXED Procedure The INBREED Procedure The KDE Procedure The KRIGE2D Procedure The LATTICE Procedure The LIFEREG Procedure The LIFETEST Procedure The LOESS Procedure The LOGISTIC Procedure - Overview: LOGISTIC The LOGISTIC Procedure · Overview: LOGISTIC Procedure .Getting Started: LOGISTIC Procedure . Syntax: LOGISTIC Procedure PROC LOGISTIC Statement BY Statement . CLASS Statement .CONTRAST Statement EXACT Statement FREQ Statement MODEL Statement ODDSRATIO Statement OUTPUT Statement . ROC Statement . ROCCONTRAST Statement . SCORE Statement STRATA Statement TEST Statement UNITS Statement WEIGHT Statement Details: LOGISTIC Procedure Missing Values .Response Level Ordering . CLASS Variable Parameterization .Link Functions and the Corresponding

Explanation / Answer

Any observation with missing values for the response, offset, strata, or explanatory variables is excluded from the analysis; however, missing values are valid for variables specified with the MISSING option in the CLASS or STRATA statement

b)
The ODS GRAPHICS statement enables ODS to create graphics. By default, ODS Graphics is not enabled. You can enable ODS Graphics by using either of the following equivalent statements:
ods graphics on;
ods graphics;

To disable ODS Graphics, specify the following statement:
ods graphics off;

c) use oddsratio in the proc

an example is


ods graphics on;
proc logistic data=Neuralgia plots(only)=(oddsratio(range=clip) effect);
class Treatment Sex /param=ref;
model Pain= Treatment Sex age;
oddsratio Treatment;
oddsratio Sex;
oddsratio age;
contrast 'Pairwise' Treatment 1 0,
Treatment 0 1,
Treatment 1 -1 / estimate=exp;
contrast 'Female vs Male' Sex 1 / estimate=exp;
run;
ods graphics off;