| Variables | Erectile dysfunction | COR (CI: 95%) | AOR (95% CI) | P-value | ||
| No | Yes | |||||
| Type of DM |
|
| ||||
| Type 1 | 101 | 105 | 1 | 1 | 0.048 | |
| Type 2 | 45 | 111 | 2.37 (1.53 - 3.69) | 1.95 (1.007 - 3.76)* | ||
| Duration of DM |
|
| ||||
| <10 years | 133 | 91 | 1 | 1 | 0.001 | |
| ≥10 years | 13 | 125 | 14.05 (7.48 - 26.39) | 6.20 (2.78 - 13.85)* | ||
| Alcohol drinking |
|
| ||||
| Yes | 23 | 65 | 2.30 (1.35 - 3.92) | 3.09 (1.45 - 6.59)* | 0.003 | |
| No | 123 | 151 | 1 | 1 | ||
| Physical exercise |
|
| ||||
| Yes | 54 | 24 | 1 | 1 | 0.003 | |
| No | 92 | 192 | 4.69 (2.73 - 8.07) | 3.57 (1.53 - 8.19)* | ||
| BMI |
|
| ||||
| Over weight | 9 | 75 | 8.1 (3.9 - 16.81) | 1.16 (0.401 - 3.35) | 0.78 | |
| Normal | 137 | 141 | 1 | 1 | ||
| Blood pressure |
|
| ||||
| Hypertensive | 12 | 88 | 7.68 (4.01 - 14.71) | 3.59 (1.58 - 8.19)* | 0.002 | |
| Normal | 134 | 128 | 1 | 1 | ||
| Blood sugar level |
|
| ||||
| ≥126 gm/dl | 23 | 175 | 22.82 (13.0339.97) | 15.26 (7.82 - 29.77)* | 0.004 | |
| <126 gm/dl | 123 | 41 | 1 | 1 | ||