Sex: Difference between revisions
Jump to navigation
Jump to search
(first draft) |
(sex2 added) |
||
Line 4: | Line 4: | ||
Dimension: [[:Category:Person or group|Person or group]] | Dimension: [[:Category:Person or group|Person or group]] | ||
==Sex== | |||
{|{{prettytable}} | {|{{prettytable}} | ||
Line 12: | Line 13: | ||
| Female | | Female | ||
|} | |} | ||
==Sex2== | |||
{|{{prettytable}} | |||
! Value | |||
! Explanation | |||
|----- | |||
| 1 | |||
| Male | |||
|----- | |||
| 2 | |||
| Female | |||
|----- | |||
| 9 | |||
| Unknown | |||
|} | |||
[[Index conversion function]] (weight table) for Sex and Sex2: | |||
{| {{prettytable}} | |||
| TextTable EditTable Sex2_sex | |||
|---- | |||
| Sex | |||
| Male | |||
| Female | |||
|---- | |||
| Sex2 | |||
|---- | |||
| 1 | |||
| 1 | |||
| 0 | |||
|---- | |||
| 2 | |||
| 0 | |||
| 1 | |||
|---- | |||
| 9 | |||
| array(direction,[0,uniform(0,1)]) | |||
| 'rest' | |||
|---- | |||
|} | |||
<anacode> | |||
TextTable EditTable Sex2_sex | |||
Sex Male Female | |||
Sex2 | |||
1 1 0 | |||
2 0 1 | |||
9 array(direction,[0,uniform(0,1)]) 'rest' | |||
</anacode> |
Latest revision as of 09:18, 7 March 2009
Metadata for this index (please use these attributes in Analytica and Result database) | |
Ind_name (identifier in Analytica) | Wik_id |
Op_en2780 | 1 |
Category:Index]]
Dimension: Person or group
Sex
Sex |
---|
Male |
Female |
Sex2
Value | Explanation |
---|---|
1 | Male |
2 | Female |
9 | Unknown |
Index conversion function (weight table) for Sex and Sex2:
TextTable EditTable Sex2_sex | ||
Sex | Male | Female |
Sex2 | ||
1 | 1 | 0 |
2 | 0 | 1 |
9 | array(direction,[0,uniform(0,1)]) | 'rest' |
<anacode> TextTable EditTable Sex2_sex Sex Male Female Sex2 1 1 0 2 0 1 9 array(direction,[0,uniform(0,1)]) 'rest' </anacode>