Statwerk
series weighted quantiles
Return empirical inverse-CDF quantiles from supplied nonnegative observation weights. Supplied observations only.
POST https://stat.halowerk.com/v1/series-weighted-quantilesInputs
| Field | Type | Required | Description |
|---|---|---|---|
| observations | array | Yes | |
| probabilities | array | Yes |
Show full input schema
{
"type": "object",
"properties": {
"observations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"value": {
"type": "number",
"minimum": -1000000000,
"maximum": 1000000000
},
"weight": {
"type": "number",
"minimum": 0,
"maximum": 1000000000
}
},
"required": [
"value",
"weight"
],
"additionalProperties": false
},
"maxItems": 100,
"minItems": 1
},
"probabilities": {
"type": "array",
"items": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"maxItems": 20,
"minItems": 1
}
},
"required": [
"observations",
"probabilities"
],
"additionalProperties": false
}Published input example
{
"observations": [
{
"value": 0,
"weight": 1
},
{
"value": 10,
"weight": 3
}
],
"probabilities": [
0,
0.5,
1
]
}Result & documentation
Machine-readable documentation of this hub
Source of this page: the published HALOWERK catalog. Updated: 2026-11-18 UTC.
More endpoints in this hub
- Statwerk0.005 USDC
carbon intensity
POSThttps://stat.halowerk.com/v1/carbon-intensityReturns carbon dioxide emissions for one or more countries on three bases at once: per inhabitant, per unit of purchasing-power-adjusted output, and in absolute megatonnes, each with its own period and its trend over the requested window. K
- Statwerk0.006 USDC
country macro
POSThttps://stat.halowerk.com/v1/country-macroAssembles a macroeconomic profile of a country from World Bank indicators, and refuses to present it as a snapshot of one year. Official statistics arrive on different schedules: real GDP growth may be current to last year while a labour fo
- Statwerk0.006 USDC
credit cycle
POSThttps://stat.halowerk.com/v1/credit-cycleReports the credit-to-GDP gap for a country, which is the deviation of the credit ratio from its long-run trend and the quantity the Basel framework uses to trigger the countercyclical capital buffer.