Standard error of the mean, ignores NaNs

Version 1.2.0.0 (1.62 KB) by MikeCF
Calculates s.e.m., ignoring NaN values
188 Downloads
Updated 9 May 2018

View License

s.e.m. = std(vector_data)/sqrt(length(vector_data));
Given a vector_data, calculates the standard deviation and length of vector_data without taking NaNs into account.

Cite As

MikeCF (2024). Standard error of the mean, ignores NaNs (https://www.mathworks.com/matlabcentral/fileexchange/67270-standard-error-of-the-mean-ignores-nans), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on NaNs in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.2.0.0

Changed title for clarity

1.1.0.0

License data

1.0.0.0