How do I log normalise a set of positively skewed data and find the z scores?
5 views (last 30 days)
Show older comments
Hi there,
I have a set of positively skewed data (A) that I wish to log normalise before I find the z scores of the data. However, after applying log to my data, the z scores returned with NaN for all indexes.
log_A = log(A);
zscore_A = zscore(log_A);
After taking the log of the data:
After using the z score function:
Am I doing something wrong?
I really appreciate your help! Thank you in advance!
2 Comments
Image Analyst
on 11 May 2020
Please attach A in a .mat file.
save('answers.mat', 'A');
Use the paper clip icon to attach the mat file.
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!