[#BloombergLP-bdlsta-Moment-09-mean] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlsta.adoc[bdlsta]::xref:BloombergLP/bdlsta/Moment-09.adoc[Moment<BloombergLP::bdlsta::MomentLevel::e_M4>]::mean :relfileprefix: ../../../ :mrdocs: Return the mean of the data set. The behavior is undefined unless `1 <= count`. == Synopsis Declared in `<bdlsta_moment.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- double mean() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#