Stream: helpdesk (published)

Topic: :matlab: rmoutliers equivalent?


view this post on Zulip Kevin Bonham (Jul 24 2022 at 13:46):

I have some matlab code from a collaborator that I'd like to replicate, but I don't speak matlab. Most of it is comprehensible (I think), they're making a new table for each of a number of features, and the do a linear model, but theres a call to rmoutliers(fitTable, 'quartiles') that I'm not totally sure how to interpret.

It seems to be this function, but the examples in the docs are all univariate, and the function in my example is being called on the whole table. Is it doing per-column outlier removal, or somehow controlling across variables?

Also, if you're aware of a good julia package for outlier removal, that would be helpful, but mostly I just want to understand what the matlab code is doing.

view this post on Zulip Sebastian Pfitzner (Jul 24 2022 at 14:20):

If A is a table or timetable, rmoutliers detects outliers in each variable of A separately and removes the entire row.


Last updated: Dec 28 2024 at 04:38 UTC