Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95414

Calculate Doubling rate

$
0
0

@hajo62 wrote:

I would like to calculate the doubling rate of the COVID-19 data.
The formula is: ln(2) / ln(1 - (n_today-n_yesterday) / n_yesterday)
ln means the mathematical function natural logarithm.

Questions:
Is there a way to use the yesterdays value of a sensor?
How to calculate a natural logarithm?

Any other ideas to get value from Covid data?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95414

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>