var [ grids ... ] minfrac medianover
| Arguments | ||
|---|---|---|
| label | type | description |
| var | variable | variable of which median is to be calculated |
| grids | grid set | grid(s) (i.e., independent variables) over which median is to be calculated |
| minfrac | number | Minimum fraction of data that must be present (i.e., fraction not indicated as missing) within the selected domain in order for the median to be calculated. If minfrac is not present, then a missing value is returned. If minfrac is not given, then the median is calculated regardless of the amount of data present in the domain. (optional) |
| Returns | ||
| median | variable |
median of var with respect to grids
median is not dependent on grids, but is dependent on any other grids that var depended on (if any). It is also dependent on a new grid , percentile, which contains a single value, 0.5, indicating that median represents the 50th percentile. |