BookmarkSubscribeRSS Feed
maria_sas
Calcite | Level 5

 

Hi

I´m new to SAS and statistical analyses. I hope I´m posting in the right  forum.

I´m trying to perform a logistic regression on my data.

My dataset contains patients with a chronic disease and a controlgroup. They are pooled in no disease=1, light disease=2 and severe disease=3 (90 patients and 250 controls, matched by age groups). I want to investige the relation to impotence, impotent=1, not impotent=2 

My statement is as follows:

 

proc logistic data = controlsandpatients;
class disease (ref = "1") / param=ref ;
model impotent (event = "1") = disease / lackfit ;
run;

 

I get a quasi-complete separation problem, The maximum likelihood estimate may not exist. I´ve tried to do an exact test, but that doesen´t solve the problem. Is this the right way to analyse this or should i use PROC FREQ?

I hope you can help me

 

Best regards 

Maria

 

4 REPLIES 4
Ksharp
Super User

Since you have control group, do you consider to use conditional logistic regression ?

maria_sas
Calcite | Level 5

Thanks for your reply.

I am new to sas programming, and have never done a conditional logistic regression - I tried looking in sas support pages but I am not sure how I would set it up? 

 

Ksharp
Super User

There is an example in Documentation about conditional LR.

I remember you should use STRATA statement .

maria_sas
Calcite | Level 5

Thanks!

SAS Innovate 2025: Call for Content

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 16. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 4 replies
  • 1749 views
  • 0 likes
  • 2 in conversation