MCPcopy Create free account
hub / github.com/TheAlgorithms/C / stats_computer1

Function stats_computer1

numerical_methods/realtime_stats.c:24–51  ·  view source on GitHub ↗

* continuous mean and variance computance using * first value as an approximation for the mean. * If the first number is much far form the mean, the algorithm becomes very * inaccurate to compute variance and standard deviation. * \param[in] x new value added to data set * \param[out] mean if not NULL, mean returns mean of data set * \param[out] variance if not NULL, mean returns variance of

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

test_functionFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_functionFunction · 0.68