Chances of Getting Pregnant After Sex/Data: Difference between revisions
m Text replacement - "datatable2" to "riskdata" |
Better version of the page from Gemini |
||
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. | |||
<riskdata table=" | === Age-Related Fertility === | ||
This table provides a relative fertility multiplier based on the woman's age. A value of 1.0 represents peak fertility, with lower values representing the average decline in fecundability (the per-cycle probability of conception) with age. | |||
<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> | </riskdata> | ||
The risk is based on per-cycle conception rates. | |||
* [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.acog.org/womens-health/faqs/having-a-baby-after-age-35-how-aging-affects-fertility-and-pregnancy Having a Baby After Age 35: How Aging Affects Fertility and Pregnancy], American College of Obstetricians and Gynecologists (ACOG), 2021. | |||
=== Timing of Intercourse === | |||
This table provides the baseline, single-event probability of conception based on when intercourse occurred relative to the start of the last menstrual period. This model assumes a regular, average-length (28-day) cycle for this baseline data. A value of -1 indicates that the time window is too uncertain to calculate a meaningful probability. | |||
<riskdata table="timing_data" columns="timing_description|timing_base_probability"> | |||
1-7 days ago (During or just after my period)|0.01 | |||
8-13 days ago (About a week after my period)|0.15 | |||
14-20 days ago (About two weeks after my period)|0.33 | |||
21-28 days ago (In the week my next period was due)|0.005 | |||
More than 28 days ago|-1 | |||
</riskdata> | |||
The probabilities represent the chance of conception from a single act of intercourse. | |||
* [https://www.nejm.org/doi/full/10.1056/nejm199512073332301 Timing of Sexual Intercourse in Relation to Ovulation — Effects on the Probability of Conception, Survival of the Pregnancy, and Sex of the Baby], Wilcox A.J. et al, New England Journal of Medicine, 1995. | |||
=== Menstrual Cycle Profile === | |||
This table provides a multiplier to adjust the risk based on cycle regularity. An irregular cycle makes it difficult to predict ovulation, so the probability is adjusted downward from the "peak timing" assumption to a general average, and the uncertainty is increased. A `cycle_uncertainty_factor` greater than 1.0 triggers a special message. | |||
<riskdata table=" | <riskdata table="cycle_data" columns="cycle_description|cycle_multiplier|cycle_uncertainty_factor"> | ||
Regular and short (25 days or less)|1.0|1.0 | |||
Regular and average (26-31 days)|1.0|1.0 | |||
Regular and long (32 days or more)|1.0|1.0 | |||
Irregular or I don't know|0.2|2.0 | |||
</riskdata> | </riskdata> | ||
The multiplier adjusts the single-event probability. | |||
* [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. | |||
=== Risk Models === | |||
This section defines the calculations and output text for the risk estimates on the main page. | |||
< | <riskmodel name="PregnancyRiskPerEvent" calculation="timing_base_probability * age_multiplier * cycle_multiplier"> | ||
The chance of | {{#ifexpr: {result} < 0 | ||
</ | | ''Because your last period started more than 28 days ago, it is not possible to provide a reliable estimate. You could be in a low-risk or high-risk phase of your cycle, or you may already be pregnant. Consider taking a pregnancy test if your period is late.'' | ||
| {{#ifexpr: {cycle_uncertainty_factor} > 1.5 | |||
| ''Because your cycle is irregular, your chances are highly variable and difficult to predict. The risk can range from almost zero on non-fertile days to a peak of about a {{One_In_X|{{#expr:0.33 * {age_multiplier} }} }} chance on your most fertile day.'' | |||
| Your estimated chance of pregnancy is about '''{{One_In_X|{result}}}''' from this event. | |||
}} | |||
}} | |||
</riskmodel> | |||
''Calculation | ''Calculation Explanation:'' The model calculates the final risk by taking the '''timing_base_probability''' and adjusting it using the multipliers for '''age_multiplier''' and '''cycle_multiplier'''. The model then displays one of three messages based on the result: a specific chance for a standard calculation, a message about variability for irregular cycles, or a message about uncertainty if the timing is unknown. | ||
---- | ---- | ||
Initially created by [[https://gemini.google.com|'''Gemini (Sept. 2025)''']] |
Revision as of 23:24, 15 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.
Age-Related Fertility
This table provides a relative fertility multiplier based on the woman's age. A value of 1.0 represents peak fertility, with lower values representing the average decline in fecundability (the per-cycle probability of conception) with age.
age_description | age_multiplier |
---|---|
Under 25 |
1.0 |
25-30 |
0.9 |
31-39 |
0.65 |
40 and over |
0.25 |
The risk is based on per-cycle conception rates.
- Age and Fertility: A Guide for Patients, American Society for Reproductive Medicine (ASRM), 2021.
- Having a Baby After Age 35: How Aging Affects Fertility and Pregnancy, American College of Obstetricians and Gynecologists (ACOG), 2021.
Timing of Intercourse
This table provides the baseline, single-event probability of conception based on when intercourse occurred relative to the start of the last menstrual period. This model assumes a regular, average-length (28-day) cycle for this baseline data. A value of -1 indicates that the time window is too uncertain to calculate a meaningful probability.
timing_description | timing_base_probability |
---|---|
1-7 days ago (During or just after my period) |
0.01 |
8-13 days ago (About a week after my period) |
0.15 |
14-20 days ago (About two weeks after my period) |
0.33 |
21-28 days ago (In the week my next period was due) |
0.005 |
More than 28 days ago |
-1 |
The probabilities represent the chance of conception from a single act of intercourse.
- Timing of Sexual Intercourse in Relation to Ovulation — Effects on the Probability of Conception, Survival of the Pregnancy, and Sex of the Baby, Wilcox A.J. et al, New England Journal of Medicine, 1995.
Menstrual Cycle Profile
This table provides a multiplier to adjust the risk based on cycle regularity. An irregular cycle makes it difficult to predict ovulation, so the probability is adjusted downward from the "peak timing" assumption to a general average, and the uncertainty is increased. A `cycle_uncertainty_factor` greater than 1.0 triggers a special message.
cycle_description | cycle_multiplier | cycle_uncertainty_factor |
---|---|---|
Regular and short (25 days or less) |
1.0 |
1.0 |
Regular and average (26-31 days) |
1.0 |
1.0 |
Regular and long (32 days or more) |
1.0 |
1.0 |
Irregular or I don't know |
0.2 |
2.0 |
The multiplier adjusts the single-event probability.
- Your Menstrual Cycle, Office on Women's Health, U.S. Department of Health & Human Services, 2021.
Risk Models
This section defines the calculations and output text for the risk estimates on the main page.
RiskModel: Chances of Getting Pregnant After Sex/Data:PregnancyRiskPerEvent Content: {{#ifexpr: {result} < 0 | ''Because your last period started more than 28 days ago, it is not possible to provide a reliable estimate. You could be in a low-risk or high-risk phase of your cycle, or you may already be pregnant. Consider taking a pregnancy test if your period is late.'' | {{#ifexpr: {cycle_uncertainty_factor} > 1.5 | ''Because your cycle is irregular, your chances are highly variable and difficult to predict. The risk can range from almost zero on non-fertile days to a peak of about a {{One_In_X|{{#expr:0.33 * {age_multiplier} }} }} chance on your most fertile day.'' | Your estimated chance of pregnancy is about '''{{One_In_X|{result}}}''' from this event. }} }}
Calculation Explanation: The model calculates the final risk by taking the timing_base_probability and adjusting it using the multipliers for age_multiplier and cycle_multiplier. The model then displays one of three messages based on the result: a specific chance for a standard calculation, a message about variability for irregular cycles, or a message about uncertainty if the timing is unknown.
Initially created by [Gemini (Sept. 2025)]