Algorithm to pick a single value from a vector in matlab? -
i have vector of equiprobable values. let's say:
[ 12.62 22.856 22.983 23.111 24.295]
i have pick single value among these values. in case, in opinion, exclude 12.62. mean value among remaining (22.856 22.983 23.111 24.295) 23.311. think 23.111 should choice between these equiprobable values. when considering general vector of arbitrary values , dimension criterion/algorithm should use pick single value inside considered vector?
i'm trying read (i.e., guess) question , comments far criteria you're implicitly applying. came these:
- the vector shall mapped 1 of elements.
- outliers amongst elements shall neither candidates nor influence of other elements chosen.
- the mean of candidates shall in way relevant candidate chosen.
with these criteria, 1 can come following algorithm:
- identify outliers (criteria of constitutes outlier determined)
- remove outliers
- compute mean of remaining values
- choose 1 of remaining values closest mean
off course there infinitely many other algorithms that'd satisfy identified criteria, varying meaningfulness , varying applicability different use-cases. , off course, again depending on actual use-case, criteria identified might or might not correct generalization of did.
Comments
Post a Comment