Skip to main content
Skip table of contents

How to handle weights in DataTile

After uploading a database, it's essential to specify a weight variable accordingly. Otherwise, DataTile classifies them as plain numeric variables by default.

How to set a variable as a weight

  1. Go to the Project settings → Meta-Editor.

  2. Find a variable and click the circle badge on the right.

  3. From the popup menu choose ‘Weight factor’. Your dataset can contain several variables indicated as weights, but you can apply for calculations only one at a time.

An activated weight variable has a blue 'W' next to it and the icon of the weight variable type.

Weight settings

After the variable is marked as weight, we can set it as default and apply other settings for weights.

Go to Project settings → Settings → Weights

weight settings.png
  1. Default weighting: after a weight variable is set as default weight, all further calculations will be based on weighted data.

  2. Hide the weighting switcher from the user interface and apply weight implicitly: if it’s necessary hide it completely and provide weighted runs without exposing that there's the weight applied.

  3. Force weighting of sample metrics: if a weight wasn't applied previously, choosing a weight variable here triggers recalculation with the weighted data. If a user chooses here another weight variable than default, all metrics will be recalculated with a new one.

  4. Forbid unweighted calculations: if this option is chosen, the applied weight will be shown in the interface and exports, but users will not be able to unselect it.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.