Weighting

Compute RIM weight from target distributions

Compute a RIM weight (iterative proportional fitting).

Targets is a JSON array:

[
  {"variable": "CLA_EDAD", "targets": {"1": 33.3, "2": 33.3, "3": 33.4}},
  {"variable": "F1", "targets": {"1": 50.0, "2": 50.0}}
]

Each variable's targets must sum to ~100%. Returns weight statistics, convergence info, and before/after distributions.

post/v1/weight/compute

Request

  • Base URL: https://spss.insightgenius.io (the document declares no server; this is the origin it was published from)
  • URL: https://spss.insightgenius.io/v1/weight/compute
  • Auth: none declared

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.