{
"cells": [
{
"cell_type": "markdown",
"id": "b62440cf",
"metadata": {},
"source": [
"# New Variables `..sumprop..`, `..sumpct..`
in the `count` and `count2d` Statistics\n",
"\n",
"Computed variables `..sumprop..` and `..sumpct..` take the value of the share of observations at a given location relative to the total number of observations.\n",
"\n",
"This is in contrast to computed variables `..prop..` and `..proppct..` which take the value of the share of observations belonging to a given group relative to the number of observations at a given location."
]
},
{
"cell_type": "code",
"execution_count": 1,
"id": "6a485503",
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"
DataFrame: rowsCount = 3, columnsCount = 12
\n", "| untitled | manufacturer | model | displ | year | cyl | trans | drv | cty | hwy | fl | class |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | audi | a4 | 1.800000 | 1999 | 4 | auto(l5) | f | 18 | 29 | p | compact |
| 2 | audi | a4 | 1.800000 | 1999 | 4 | manual(m5) | f | 21 | 29 | p | compact |
| 3 | audi | a4 | 2.000000 | 2008 | 4 | manual(m6) | f | 20 | 31 | p | compact |