We deliver solutions for the AI eraâcombining symbolic computation, data-driven insights and deep technology expertise.
TrimmedMean[list,f]
gives the mean of the elements in list after dropping a fraction f of the smallest and largest elements.
TrimmedMean[list,{f1,f2}]
gives the mean when a fraction f1 of the smallest elements and a fraction f2 of the largest elements are removed.
TrimmedMean[dist,…]
gives the trimmed mean of a univariate distribution dist.
DetailsTrimmed mean after removing extreme values:
Trimmed mean after removing the smallest extreme values:
Trimmed mean of a list of dates:
Trimmed mean of a symbolic distribution:
Scope (10) Data (9)Exact input yields exact output:
Approximate input yields approximate output:
TrimmedMean for a matrix gives columnwise means:
Trimmed mean works with large arrays:
SparseArray data can be used just like dense arrays:
Trimmed mean of a TimeSeries:
Trimmed mean depends only on the values:
Trimmed mean works with data involving quantities:
Compute trimmed mean of dates:
Compute trimmed mean of times:
List of times with different time zone specifications:
Distributions (1)The trimmed mean for a univariate distribution:
Applications (3)Obtain a robust estimate of location when outliers are present:
Extreme values have a large influence on the Mean:
Simulate a trajectory with heavy-tailed measurement noise:
The underlying signal and simulated path with noise:
Smooth the trajectory using a moving TrimmedMean:
Increasing the block size gives a smoother trajectory:
Find a trimmed mean for the heights of children in a class:
Plot the trimmed mean as a function of trimmed fraction:
Properties & Relations (5) Wolfram Research (2007), TrimmedMean, Wolfram Language function, https://reference.wolfram.com/language/ref/TrimmedMean.html (updated 2024). TextWolfram Research (2007), TrimmedMean, Wolfram Language function, https://reference.wolfram.com/language/ref/TrimmedMean.html (updated 2024).
CMSWolfram Language. 2007. "TrimmedMean." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2024. https://reference.wolfram.com/language/ref/TrimmedMean.html.
APAWolfram Language. (2007). TrimmedMean. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/TrimmedMean.html
BibTeX@misc{reference.wolfram_2025_trimmedmean, author="Wolfram Research", title="{TrimmedMean}", year="2024", howpublished="\url{https://reference.wolfram.com/language/ref/TrimmedMean.html}", note=[Accessed: 11-July-2025 ]}
BibLaTeX@online{reference.wolfram_2025_trimmedmean, organization={Wolfram Research}, title={TrimmedMean}, year={2024}, url={https://reference.wolfram.com/language/ref/TrimmedMean.html}, note=[Accessed: 11-July-2025 ]}
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4