BookmarkSubscribeRSS Feed
Jade_SAS
Pyrite | Level 9

Hi All,

 

    What statistics analysis is recommended if you have dichotomous independent variables and continuous depend variable? The depend variable values includes 0, 1 and values between 0 and 1 (the probability of an accident).

 

Thank you!

 

Thanks,

Jade

5 REPLIES 5
sbxkoenk
SAS Super FREQ

Hello,

 

Your dependent (=outcome) variable is not entirely continuous.
As it is a proportion, it is bounded by 0 and 1 (included). So you have a limited dependent variable.

You have to look at the distribution of the outcome.
Based on that you can decide to fit a GLMM with Poisson distribution (PROC GLIMMIX).

But the safest choice is probably a GLMM with beta regression (also with PROC GLIMMIX).

 

You might have to tackle some non-convergence problems, but we can look into this at a later stage (should you stumble upon non-convergence).

Good luck,
Koen

Jade_SAS
Pyrite | Level 9

Thank you! 

If I choose another Binary dependent variable (0 &1 only, the independent variables are all dichotomous ), will logistic regression be recommended?

Ksharp
Super User
That could be done. But I would suggest to use PROC FREQ or PROC CATMOD if all the variable are 0 & 1 .
StatDave
SAS Super FREQ

Since your response is a proportion, if you have the numerator and denominator values for each of the proportions, then you can use the events/trials response syntax in PROC LOGISTIC and fit a logistic model. See the example in the Getting Started section of the PROC LOGISTIC documentation. If those are not available or conceptually don't exist, they you can fit a fractional logistic model or a 4- or 5-parameter logistic model as described in this note.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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
  • 5 replies
  • 514 views
  • 3 likes
  • 4 in conversation