Hello everyone,

This is my data.
Chlordecone level category Total births Preterm births No preterm births ln(odds)
1 163 16
2 165 21
3 162 23
4 165 30
5 163 25
I was wondering how to calculate number of "no preterm birth" and ln(odds) and then draw a graph using ln(odds) against chlordecone level (like below) in a concise way:
Array

Thank you!