introduction
“Cash cannot purchase happiness.” “You’ll be able to’t choose a guide by its cowl.” “Apples per day maintain medical doctors away.”
You have most likely heard these proverbs just a few instances, however do you truly maintain out while you take a look at the information? On this article collection, I wish to take common myths/says and put them within the take a look at utilizing precise knowledge.
They might examine for sudden truths or expose some frequent beliefs. Hopefully, in each circumstances we are able to achieve new insights into the world round us.
speculation
“Apples per day maintain medical doctors away”: Is there any actual proof to assist this?
If the parable is true, we should always anticipate Destructive correlation between per capita apple consumption and per capita doctor visits . Due to this fact, the extra apples the nation consumes, the less physician visits individuals want.
Let us take a look at the information and see what the numbers truly say.
Check the connection between Apple consumption and physician visits
Let’s begin with a easy correlation examine between per capita Apple consumption and per capita physician visits.
Knowledge Supply
The info is as follows:
Knowledge availability varies from yr to yr, so 2017 was chosen as a result of it offered essentially the most full nation quantity. Nevertheless, the outcomes have been constant over different years.

Visualize relationships
We start to visualise whether or not increased apple consumption is related to a lower in visits to medical doctors. Use a regression line to scatter plots.

The regression plot reveals a Very slim destructive correlationwhich signifies that in international locations the place individuals eat extra apples, fewer physician visits are typically virtually unremarkable.
Sadly, the development may be very weak and can’t be thought of It has that means.
OLS Return
To statistically take a look at this relationship, run a Linear Regression (OLS)visits per individual by doctor is the dependent variable, and apple consumption per individual is the impartial variable.

The outcomes verify that the scatter plot suggests.
- Coefficient of apple consumption enamel -0.0107that’s, even when it has an impact, Very small.
- p-value is 0.860 (86%)nicely above the usual significance threshold of 5 %.
- R² worth is nearly zerothat means that consumption of apples explains Nearly none Variations in physician visits.
This doesn’t strictly imply that it isn’t associated, however reasonably that we Cannot show it There may be knowledge out there. The precise impact could also be too small to detect, that different elements we didn’t embrace play a larger function, or that the information merely don’t replicate the connection nicely.
Management of confounding elements
Have we completed? Under no circumstances. To date, we’ve checked the direct relationship between Apple’s consumption and physician visits.
As talked about beforehand, many different elements can have an effect on each variables, doubtlessly hiding true relationships or creating synthetic relationships.
When contemplating this causal graph:

We assume that Apple’s consumption will instantly have an effect on physician visits. Nevertheless, different hidden elements could also be working. In the event you do not clarify them, there is a threat Doesn’t detect precise relationships If there’s.
A widely known instance of the exhibiting of confounding variables comes from a examine by Messari (2012). This discovered an fascinating correlation between chocolate consumption per capita and the variety of Nobel Prize winners.
So, will it show you how to begin consuming a number of chocolate and win a Nobel Prize? In all probability not. A attainable rationalization was that per capita GDP was a confounding issue. In different phrases, richer international locations are likely to devour extra chocolate and win each Nobel Prize winners. The noticed relationships aren’t as a result of causality, however reasonably as a result of hidden (confounding) elements.
The identical might be occurring in our case. There could also be confounding variables that have an effect on each Apple’s consumption and physician’s visits, which makes it troublesome to see the precise relationship if current.
Two necessary confounding elements to contemplate GDP per capita and Median age. In rich international locations, there are higher well being care methods and totally different dietary patterns, and older individuals have a tendency to go to medical doctors extra continuously and should have totally different dietary habits.
To manage this, we modify the mannequin by introducing these confounding elements.

Knowledge Supply
The info is as follows:


OLS regression (with confounding elements)
After controlling for median GDP and age per capita, we run a number of regressions to check whether or not Apple’s consumption has a significant impact on doctor visits.

The outcomes verify what we noticed earlier than:
- Coefficient of apple consumption It is nonetheless Very small (-0.0100)which signifies that the potential results will be negligible.
- p-value (85.5%) It’s removed from statistical significance, and remains to be very excessive.
- we You can not reject the null speculation butthat means there isn’t a sturdy proof to assist the concept that consuming extra apples ends in fewer physician visits.
As earlier than, this does not essentially imply that It is not associatedreasonably that Cannot show it Use the out there knowledge. The precise impact could also be too small to detect, or there could also be different elements that aren’t included.
Nevertheless, one fascinating statement is that it additionally reveals GDP per capita. There isn’t any necessary relationship On the physician’s go to, its p-value is 0.668 (66.8%), indicating that the information didn’t reveal that wealth accounted for variation in healthcare use.
alternatively, Median age seems to be strongly related to physician visitsthe p-value is 0.001 (0.1%) and a constructive coefficient (0.4952). This means that Older populations have a tendency to go to medical doctors extra continuouslyif we give it some thought, it is not likely stunning in actuality!
So, though no assist for Apple Delusion is discovered, the information reveals an fascinating relationship between getting old and healthcare use.
Median Age → Physician Go to
The outcomes of the OLS regression present a robust relationship between median age and doctor visits, and the visualization under confirms this development.

There’s a clear upward development, indicating that Nations with older adults have a tendency to extend per capita physician visits.
Since we solely take a look at median age and doctor visits, we are able to argue that per capita GDP is a confounding issue and might have an effect on each. Nevertheless, earlier OLS regressions demonstrated that this relationship stays sturdy and statistically vital, even when GDP was included within the mannequin.
This means that Median age is a vital issue explaining the variations in physician visits throughout the nationhas nothing to do with GDP.
GDP → Consumption of apples
Though it isn’t instantly associated to physician visits, an fascinating secondary discovering seems when trying on the relationship between them. Per capita GDP and apple consumption.
One attainable rationalization is that rich international locations have higher entry to contemporary merchandise. One other chance is that local weather and geography play a job. Due to this fact, many excessive GDP international locations are positioned in areas with sturdy apple manufacturing, making apples extra accessible and inexpensive.
In fact, different elements might have an effect on this relationship, however we do not go into it in depth right here.

Scatter plot reveals a Constructive correlation: As Per capita GDP tends to extend and apple consumption additionally will increase. Nevertheless, in comparison with median age and physician visits, this development is weakknowledge fluctuations enhance.

OLS checks the connection. Utilizing the 0.2257 coefficient of GDP per capita, we are able to estimate a rise in Apple consumption per capita of roughly 0.23 kg for every enhance in GDP per capita.
A p-value of three.8% permits the null speculation to be rejected. Due to this fact, the connection is statistically vital. Nevertheless, as a result of the R² worth (0.145) is comparatively low, GDP explains the fluctuations in Apple’s consumption, however many different elements might contribute.
Conclusion
Saying says:
“Apples per day maintain medical doctors away.”
Nevertheless, after testing this delusion with precise knowledge, the outcomes don’t appear to be in step with this proverb. The outcomes had been constant over a number of years. No significant relationships emerged between Apple consumption and doctor visits even after controlling for confounding elements. Apples alone aren’t sufficient to maintain medical doctors away.
Nevertheless, this doesn’t utterly disprove the concept that consuming extra apples can scale back physician visits. Noticed knowledge, irrespective of how nicely they management confounding elements, can not totally show or disprove causality.
To get a extra statistically correct reply and rule out all attainable confounding elements at a stage of viable granularity for a person, A/B Check.
In such an experiment, individuals are randomly assigned to 2 teams. For instance, one eats mounted apples each day, and the opposite avoids apples. Evaluating doctor visits between these two teams over time was in a position to decide whether or not these variations occurred and supply stronger proof of causal results.
For apparent causes, I selected to not go that route. Hiring many individuals is pricey and it’s undoubtedly uncertain to implement individuals ethically to keep away from apples for science.
Nevertheless, I discovered some fascinating patterns. The strongest predictor of physician visits was median age, not apple consumption. The older the nation’s inhabitants, the extra frequent the individuals see medical doctors..
in the meantime, GDP confirmed delicate hyperlink to apple consumptionpresumably as a result of rich international locations have higher entry to contemporary produce, or as a result of apple rising areas are typically extra developed.
So, though we can not verify the unique delusion, we are able to present one thing that isn’t poetic, Knowledge again Model:
“Your youthful age retains medical doctors away.”
If you wish to take pleasure in this evaluation and join, yow will discover me Linkedin.
This offers you an entire evaluation Github Notebook.
Knowledge Supply
Fruit consumption: United Nations Meals and Agriculture Group (2023) – Main processing of knowledge by our world. “Per-person consumption of apples – FAO” [dataset]. UN Meals and Agriculture Group, “Meals Stability: Meals Stability (-2013, Previous Methodology and Inhabitants)”; UN Meals and Agriculture Group, “Meals Stability: Meals Stability (2010-)” [original data]. License CC by 4.0.
Physician’s go to:OECD (2024), session, URL (Accessed January 22, 2025). License CC by 4.0.
GDP per capita: World Financial institution (2025) – Minor processing of knowledge by our world. “GDP per capita – World Financial institution – Fixed 2021 Worldwide $” [dataset]. World Financial institution, “World Financial institution’s World Growth Indicator” [original data]. Retrieved from January 31, 2025 https://ourworldindata.org/grapher/gdp-per-capita-worldbank. License CC by 4.0.
Median age:un, World Inhabitants Outlook (2024) – Processing of Knowledge by Our World. “Medium age, medium projection – un wpp” [dataset]. United Nations: “World Inhabitants Outlook” [original data]. License CC by 4.0.
Except in any other case said, all photos are from the writer.

