Chances of Getting Pregnant After Sex/Data: Difference between revisions
Better version of the page from Gemini |
Updated RiskModel based on a bell curve around ovulation |
||
Line 1: | Line 1: | ||
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. | 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. | ||
=== Age-Related Fertility | == Baseline Fertility Parameters == | ||
This table provides a | These are single-value constants used in the risk model calculation. | ||
* Peak Conception Probability (A): 0.33 | |||
* Fertile Window Width (σ, in days): 2.5 | |||
* Approximation of 'e': 2.71828 | |||
---- | |||
== 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"> | <riskdata table="age_data" columns="age_description|age_multiplier"> | ||
Line 11: | Line 18: | ||
</riskdata> | </riskdata> | ||
* Reference: [https://www.asrm.org/globalassets/asrm/asrm-content/resources/patient-resources/protect-your-fertility/age-and-fertility.pdf Age and Fertility: A Guide for Patients], American Society for Reproductive Medicine (ASRM), 2021. | |||
* [https://www.asrm.org/globalassets/asrm/asrm-content/resources/patient-resources/protect-your-fertility/age-and-fertility.pdf Age and Fertility: A Guide for Patients], American Society for Reproductive Medicine (ASRM | |||
== | ---- | ||
This table provides the | == 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. | |||
<riskdata table=" | <riskdata table="cycle_data" columns="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 | |||
</riskdata> | </riskdata> | ||
* 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. | |||
* [https://www. | |||
== | ---- | ||
This table | == 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=" | <riskdata table="timing_data" columns="timing_description|timing_intercourse_day_x"> | ||
1-7 days ago (During or just after my period)|4 | |||
8-13 days ago (About a week after my period)|11 | |||
14-20 days ago (About two weeks after my period)|17 | |||
21-28 days ago (In the week my next period was due)|25 | |||
More than 28 days ago|-1 | |||
</riskdata> | </riskdata> | ||
* Reference: Based on standard menstrual cycle phases. | |||
* | |||
---- | |||
This | == 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=" | <riskmodel name="PregnancyRiskPerEvent" calculation="0.33 * (2.71828 ^ (-0.5 * ((timing_intercourse_day_x - cycle_ovulation_day_mu) / 2.5) ^ 2)) * age_multiplier"> | ||
{{#ifexpr: { | {{#ifexpr: {cycle_ovulation_day_mu} < 0 or {timing_intercourse_day_x} < 0 | ||
| ''Because your | | ''Because your cycle is irregular or the timing is too uncertain, it's not possible to provide a reliable estimate with this tool.'' | ||
| Your estimated chance of pregnancy is about '''{{One_In_X|{result}}}''' from this event. | |||
}} | }} | ||
</riskmodel> | </riskmodel> | ||
''Calculation Explanation:'' | ''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). | |||
Initially created by |
Revision as of 17:25, 16 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.
- Peak Conception Probability (A): 0.33
- Fertile Window Width (σ, in days): 2.5
- Approximation of 'e': 2.71828
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: A Guide for Patients, 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 |
---|---|
1-7 days ago (During or just after my period) |
4 |
8-13 days ago (About a week after my period) |
11 |
14-20 days ago (About two weeks after my period) |
17 |
21-28 days ago (In the week my next period was due) |
25 |
More than 28 days ago |
-1 |
- Reference: Based on standard menstrual cycle phases.
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 Content: {{#ifexpr: {cycle_ovulation_day_mu} < 0 or {timing_intercourse_day_x} < 0 | ''Because your cycle is irregular or the timing is too uncertain, it's not possible to provide a reliable estimate with this tool.'' | Your estimated chance of pregnancy is about '''{{One_In_X|{result}}}''' from this event. }}
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).