Jump to content

Chances of Getting Pregnant After Sex/Data: Difference between revisions

From RiskiPedia
Remove <head> sections from datatable2 tables
Fix formatting of RiskModel display text
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''Per-day conception probabilities (verbatim)'''
This subpage contains the data and risk models used on the [[Chances_of_Getting_Pregnant_After_Sex|main page]]. The data is based on population averages and is used to generate a risk estimate.


<datatable2 table="conception_probability_by_cycle_day" columns="day_relative_to_ovulation|per_act_probability_day_specific">
== Baseline Fertility Parameters ==
5|0.10
4|0.17
3|0.24
2|0.30
1|0.33
0|0.33
</datatable2>


Copied verbatim from:
These are single-value constants used in the risk model calculation. The descriptions are linked to the primary sources.
* [https://www.nejm.org/doi/full/10.1056/nejm199512073332301 Peak Conception Probability (A)]: 0.33
* [https://www.ncbi.nlm.nih.gov/pmc/articles/PMC27529/ Fertile Window Width (σ, in days)]: 2.5
* Approximation of 'e': 2.71828


* Wilcox AJ, Weinberg CR, Baird DD. "Timing of sexual intercourse in relation to ovulation: Effects on the probability of conception, survival of the pregnancy, and sex of the baby." ''New England Journal of Medicine''. 1995;333(23):1517–1521. [https://www.nejm.org/doi/full/10.1056/NEJM199512073332301 Link]
----
== Age-Related Fertility ==
This table provides a final multiplier based on the woman's age, which adjusts the overall result from the bell curve calculation.


<riskdata table="age_data" columns="age_description|age_multiplier">
Under 25|1.0
25-30|0.9
31-39|0.65
40 and over|0.25
</riskdata>


'''Friendly timing options (verbatim-based selections)'''
* Reference: [https://www.reproductivefacts.org/news-and-publications/patient-fact-sheets-and-booklets/documents/fact-sheets-and-info-booklets/age-and-fertility/ Age and Fertility], American Society for Reproductive Medicine (ASRM), 2021.


<datatable2 table="friendly_timing_options" columns="timing_label|per_act_probability_friendly">
----
Not sure (timing unknown)|0.031
== Menstrual Cycle Profile ==
A few days before ovulation (1–2 days before)|0.30
This table provides the estimated '''peak ovulation day (μ)''' for different cycle profiles. A value of -1 indicates an irregular cycle where a peak cannot be reliably predicted.
Day of ovulation|0.33
Earlier in the fertile window (3–5 days before)|0.24
</datatable2>


Notes and references: 
<riskdata table="cycle_data" columns="cycle_description|cycle_ovulation_day_mu">
* **“Not sure (timing unknown) = 0.031 per act**:** Wilcox AJ et al. (2001) estimated the probability of pregnancy from a single **random** act of unprotected intercourse at **3.1%**. This serves as a population-average when timing is unknown. * Wilcox AJ, Dunson D, Weinberg CR, Trussell J, Baird DD. "Likelihood of conception with a single act of intercourse: providing benchmark rates for assessment of post-coital contraceptives." ''Contraception''. 2001;63(4):211–215. [https://pubmed.ncbi.nlm.nih.gov/11376648/ PubMed]
Regular and short (25 days or less)|11
 
Regular and average (26-31 days)|14
* **“A few days before ovulation (1–2 days before) = 0.30”** and **“Day of ovulation = 0.33”** are **verbatim** from Wilcox 1995 for days −2 and 0. :contentReference[oaicite:2]{index=2} 
Regular and long (32 days or more)|18
* **“Earlier in the fertile window (3–5 days before) = 0.24”** uses the **verbatim** day −3 figure (0.24) from Wilcox 1995 as a representative value for earlier fertile-window timing (days −3 to −5 are 0.24, 0.17, 0.10 respectively). We select 0.24 to avoid under- or over-stating risk while keeping numbers copied from the source. Reviewers can see all day-specific values above.
Irregular or I don't know|-1
</riskdata>


<RiskModel name="conception_model" calculation="per_act_probability_friendly / 1">
* Reference: [https://www.womenshealth.gov/menstrual-cycle/your-menstrual-cycle Your Menstrual Cycle], Office on Women's Health, U.S. Department of Health & Human Services, 2021.
The chance of getting pregnant is {{One_In_X|{result}}}.
</RiskModel>


''Calculation note'': The friendly options reference **verbatim** probabilities from the cited studies (either a specific day from Wilcox 1995 or the “random-timing” average of **0.031** from Wilcox 2001). No averaging is performed inside the tables; the RiskModel simply uses the selected per-act probability as-is.
----
== Timing of Intercourse ==
This table converts the user's time window into a single '''day of the cycle (x)''' for use in the calculation (using the midpoint of the range).
 
<riskdata table="timing_data" columns="timing_description|timing_intercourse_day_x">
Don't know/unsure|-1
1-7 days (During or just after my period)|4
8-13 days (About a week after my period)|11
14-20 days (About two weeks after my period)|17
21-28 days (In the week my next period was due)|25
More than 28 days|-1
</riskdata>
 
* Reference: Based on standard menstrual cycle phases.


----
----
== Contraception Use Case Logic ==
This table provides mutually exclusive multipliers to simulate conditional logic. Selecting a row sets one multiplier to 1 and the others to 0.


Generated by [https://openai.com/ ChatGPT-5]
<riskdata table="logic_selectors" columns="logic_description|logic_typical|logic_perfect|logic_failed">
Unsure (Typical Use)|1|0|0
It was used correctly (Perfect Use)|0|1|0
It broke / there was a mistake (Failed Use)|0|0|1
</riskdata>
 
== Contraception Method ==
This table provides the failure rates for typical, perfect, and failed use cases for each method. A value of 1.0 means no risk reduction.
 
<riskdata table="birth_control_data" columns="bc_description|bc_typical_mult|bc_perfect_mult|bc_failed_mult">
None (unprotected sex)|1.0|1.0|1.0
Male Condom|0.13|0.02|1.0
The Pill (combined)|0.07|0.003|1.0
Withdrawal ("pulling out")|0.22|0.04|1.0
Hormonal IUD (Mirena, etc.)|0.002|0.002|1.0
Copper IUD (Paragard)|0.008|0.008|1.0
The Implant (Nexplanon)|0.001|0.001|1.0
The Shot (Depo-Provera)|0.04|0.006|1.0
</riskdata>
 
* Reference: [https://www.cdc.gov/contraception/about/index.html Contraception], U.S. Centers for Disease Control and Prevention (CDC).
 
----
== Risk Models ==
This model uses a Gaussian (bell curve) function to estimate risk, approximating the mathematical constant 'e' with 2.71828.
 
<riskmodel name="PregnancyRiskPerEvent" calculation="0.33 * (2.71828 ^ (-0.5 * ((timing_intercourse_day_x - cycle_ovulation_day_mu) / 2.5) ^ 2)) * age_multiplier * ((bc_typical_mult * logic_typical) + (bc_perfect_mult * logic_perfect) + (bc_failed_mult * logic_failed))">
'''Result:''' {{#ifexpr: {cycle_ovulation_day_mu} < 0 or {timing_intercourse_day_x} < 0
|Because the timing is uncertain, we are showing the highest possible risk. Your chance of pregnancy could be near zero, or as high as '''{{One_In_X|{{#expr: 0.33 * {age_multiplier} * (( {bc_typical_mult} * {logic_typical} ) + ( {bc_perfect_mult} * {logic_perfect} ) + ( {bc_failed_mult} * {logic_failed} ))}} }}'''. This represents the highest risk for your age and contraception choice.
| Your estimated chance of pregnancy is about '''{{One_In_X|{result}}}''' from this event.
}}
 
{{#ifexpr: {result} > 0.01
|== What You Can Do Now ==
If you have had unprotected sex recently and do not wish to become pregnant, you have options. It's important to act quickly.
 
* '''Emergency Contraception (EC):''' Often called the "morning-after pill," EC can prevent pregnancy if taken soon after sex. It is most effective the sooner you take it, and can be used up to '''3-5 days''' after unprotected sex, depending on the type. You can often get EC from a pharmacy without a prescription.
 
* '''Talk to a Professional:''' A pharmacist, doctor, or a local health clinic (like a school nurse or Planned Parenthood) can provide confidential advice, EC, and other contraceptive options.
}}
</riskmodel>
 
''Calculation Explanation:'' 🔢 This model calculates the distance in days between intercourse (`x`) and the estimated day of ovulation (`μ`), then inputs that distance into a bell curve formula to find the corresponding probability. This result is then adjusted by the '''age_multiplier'''. This method more accurately reflects the rise and fall of fertility throughout the cycle.
 
----
Initially created by Gemini (Sept. 2025).

Latest revision as of 04:38, 17 September 2025

This subpage contains the data and risk models used on the main page. The data is based on population averages and is used to generate a risk estimate.

Baseline Fertility Parameters

These are single-value constants used in the risk model calculation. The descriptions are linked to the primary sources.


Age-Related Fertility

This table provides a final multiplier based on the woman's age, which adjusts the overall result from the bell curve calculation.

age_description age_multiplier

Under 25

1.0

25-30

0.9

31-39

0.65

40 and over

0.25

  • Reference: Age and Fertility, American Society for Reproductive Medicine (ASRM), 2021.

Menstrual Cycle Profile

This table provides the estimated peak ovulation day (μ) for different cycle profiles. A value of -1 indicates an irregular cycle where a peak cannot be reliably predicted.

cycle_description cycle_ovulation_day_mu

Regular and short (25 days or less)

11

Regular and average (26-31 days)

14

Regular and long (32 days or more)

18

Irregular or I don't know

-1

  • Reference: Your Menstrual Cycle, Office on Women's Health, U.S. Department of Health & Human Services, 2021.

Timing of Intercourse

This table converts the user's time window into a single day of the cycle (x) for use in the calculation (using the midpoint of the range).

timing_description timing_intercourse_day_x

Don't know/unsure

-1

1-7 days (During or just after my period)

4

8-13 days (About a week after my period)

11

14-20 days (About two weeks after my period)

17

21-28 days (In the week my next period was due)

25

More than 28 days

-1

  • Reference: Based on standard menstrual cycle phases.

Contraception Use Case Logic

This table provides mutually exclusive multipliers to simulate conditional logic. Selecting a row sets one multiplier to 1 and the others to 0.

logic_description logic_typical logic_perfect logic_failed

Unsure (Typical Use)

1

0

0

It was used correctly (Perfect Use)

0

1

0

It broke / there was a mistake (Failed Use)

0

0

1

Contraception Method

This table provides the failure rates for typical, perfect, and failed use cases for each method. A value of 1.0 means no risk reduction.

bc_description bc_typical_mult bc_perfect_mult bc_failed_mult

None (unprotected sex)

1.0

1.0

1.0

Male Condom

0.13

0.02

1.0

The Pill (combined)

0.07

0.003

1.0

Withdrawal ("pulling out")

0.22

0.04

1.0

Hormonal IUD (Mirena, etc.)

0.002

0.002

1.0

Copper IUD (Paragard)

0.008

0.008

1.0

The Implant (Nexplanon)

0.001

0.001

1.0

The Shot (Depo-Provera)

0.04

0.006

1.0

  • Reference: Contraception, U.S. Centers for Disease Control and Prevention (CDC).

Risk Models

This model uses a Gaussian (bell curve) function to estimate risk, approximating the mathematical constant 'e' with 2.71828.

  RiskModel: Chances of Getting Pregnant After Sex/Data:PregnancyRiskPerEvent
Calculation: 0.33 * (2.71828 ^ (-0.5 * ((timing_intercourse_day_x - cycle_ovulation_day_mu) / 2.5) ^ 2)) * age_multiplier * ((bc_typical_mult * logic_typical) + (bc_perfect_mult * logic_perfect) + (bc_failed_mult * logic_failed))
    Content: 
'''Result:''' {{#ifexpr: {cycle_ovulation_day_mu} < 0 or {timing_intercourse_day_x} < 0
|Because the timing is uncertain, we are showing the highest possible risk. Your chance of pregnancy could be near zero, or as high as '''{{One_In_X|{{#expr: 0.33 * {age_multiplier} * (( {bc_typical_mult} * {logic_typical} ) + ( {bc_perfect_mult} * {logic_perfect} ) + ( {bc_failed_mult} * {logic_failed} ))}} }}'''. This represents the highest risk for your age and contraception choice.
| Your estimated chance of pregnancy is about '''{{One_In_X|{result}}}''' from this event.
}}

{{#ifexpr: {result} > 0.01
|== What You Can Do Now ==
If you have had unprotected sex recently and do not wish to become pregnant, you have options. It's important to act quickly.

* '''Emergency Contraception (EC):''' Often called the "morning-after pill," EC can prevent pregnancy if taken soon after sex. It is most effective the sooner you take it, and can be used up to '''3-5 days''' after unprotected sex, depending on the type. You can often get EC from a pharmacy without a prescription.

* '''Talk to a Professional:''' A pharmacist, doctor, or a local health clinic (like a school nurse or Planned Parenthood) can provide confidential advice, EC, and other contraceptive options.
}}

Calculation Explanation: 🔢 This model calculates the distance in days between intercourse (`x`) and the estimated day of ovulation (`μ`), then inputs that distance into a bell curve formula to find the corresponding probability. This result is then adjusted by the age_multiplier. This method more accurately reflects the rise and fall of fertility throughout the cycle.


Initially created by Gemini (Sept. 2025).