This repository has been archived by the owner on Jul 18, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
notes.Rmd
55 lines (38 loc) · 2.04 KB
/
notes.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
---
output: pdf_document
params:
actor_id: "esch"
data_date: "2021-01-08"
sha: "sha"
---
<!-- \br -->
<!-- \br -->
<!-- \br -->
<!-- \br -->
## Notes
The raw data for this project originates from XXX. For this project, the raw data was scaled and standardized several ways. First, each variable was assigned to a category where a high value equates to a high opportunity ("higher value is better"), or where a high value equates to a low opportunity ("lower is better").
<br>
### Z-score
The z-score value represents the number of standard deviations x is from the mean. The z-score calculation is:
Where "higher is better": <br>
$z \, score = \frac{x - mean}{standard\,deviation}\\$
Where "lower is better": <br>
$z \, score = \frac{x - mean}{standard\,deviation}\times (-1)\\$
### Weights nominal
The weights nominal value represents where x falls nominally in the range of values, on a 0-10 scale. The weights nominal calculation is:
Where "higher is better": <br>
$weights \, nominal = \frac{x - minimum\,value}{maximum\,value - minimum\,value}\times 10\\$
Where "lower is better": <br>
$weights \, nominal = 10 - \frac{x - minimum\,value}{maximum\,value - minimum\,value}\times 10\\$
### Weights standard score
The weights standard score normally distributes the z score of x on a 0-10 scale. **This is the primary variable mapped in this tool.** It is calculated according to:
Where "higher is better": <br>
$weights \, standard\, score = (normal\, distribution\, of\, z\, score)\times 10\\$
Where "lower is better": <br>
$weights \, standard\, score = 10 - (normal\, distribution\, of\, z\, score)\times 10\\$
### Weights rank
The weights standard score normally distributes the z score of x on a 0-10 scale. It is calculated according to:
Where "higher is better": <br>
$weights \, rank = \frac{rank\, of\, the\, nominal \,weight\,of\,x}{number \, of \,tracts\, with\,data \, on\,x}\times 10\\$
Where "lower is better": <br>
$weights \, rank = \frac{rank\, of\, the\, nominal \,weight\,of\,x}{number \, of \,tracts\, with\,data \, on\,x}\times 10\\$