I have a shapefile with an attribute field with a range of numerical values.
How do I derive z-score values for this field using ArcGIS for Desktop?
Answer
Here are the steps for calculating Z-Scores in ArcGIS, in this case I have included some screen captures of calculating Z-scores for a field named SourceData.
- Open up the attribute table and right click on the field header for SourceData and select Statistics from the pop up menu.
- Record the values for Mean and Standard Deviation. In this case the Mean is 565.43 and the Standard Deviation is 1954.39.
- Create a new field to store the Z-scores, make sure that this field is a Double.
- Right click on the field header of the new field you created in step 3.
The formula for Z-Scores is SourceData - Mean / Standard Deviation. Here's what it looks like the Formula Calculator (Note the parenthesis around the first part of the formula):
You can check your results by running Statistics on the zscore field. A Z-score will have a mean of zero and a standard deviation of one.
No comments:
Post a Comment