Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: Changed formula to calculate zscore #48

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

CarolynMcNabb
Copy link

zmetric=(metric-avg)./stdev in line 76 produced an error when run in Matlab 2015b
I updated the code to use zscore:
zmetric=zscore(metric)
The code now runs with no issues

zmetric=(metric-avg)./stdev  in line 76 produced an error when run in Matlab 2015b
I updated the code to use zscore:
zmetric=zscore(metric)
The code now runs with no issues
@jamienear
Copy link
Contributor

Thank you for this! Would you mind pasting in the text of the original error message so that I can see what the issue was?

Thanks!
-Jamie

@jamienear
Copy link
Contributor

The reason I ask is because I think the function 'zscore' is a member of the 'Statistics and Machine Learning Toolbox'. So an implementation involving the 'zscore' function may not work for all users. For that reason, I would prefer to stick with an implementation that does not involve any toolbox functions.

So if you show me the error message, maybe I can fix it without using 'zscore'.

Thanks!
-Jamie

@CarolynMcNabb
Copy link
Author

CarolynMcNabb commented Apr 21, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants