Statistiche e stimatori

Scegli le operazioni per riepiloghi, quantili e stimatori statistici e verifica le opzioni per valori non finiti e pesi.

Calcolo, modelli, statistiche e Dataset con Python

Definire la popolazione osservata

Dichiara ordine, campione effettivo, pesi e policy per non finiti. La deviazione standard di popolazione e quella campionaria hanno denominatori diversi. Un peso di frequenza, un peso relativo e un’inversa varianza hanno interpretazioni distinte. Distingui media, SEM, quantili e descrizione della dispersione prima di confrontare gruppi. La PCA restituisce varianza nelle direzioni principali secondo standardizzazione e forma dichiarate.

Riferimento delle operazioni

Vai a un’operazione

residual_sequence

Accesso
registrata nel Job Python
Argomenti
vettore dei residui, chiavi di ordinamento esatte (vuote per le posizioni di ingresso), opzioni di ordinamento esplicite
Unità
Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
Esito
fatti di sequenza limitati e impronte di ingresso/ordinamento; l’interpretazione spetta a CORE e non si calcolano p-value
Effetto
Fatti sulla sequenza dei residui in ordine esplicito; l’interpretazione spetta a CORE
Tipi
vector
Forma dichiarata
same_length
Opzioni
ordering=input,ascending;max_lag=1..64;nonfinite=error,omit
Non finiti
error,omit
Regola unità
dimensionless
gxtxt_api_call("NUMERIC_API_v1", "residual_sequence", args)
Risultato registrato · residual_sequence

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  {
    "shape": [
      5
    ],
    "dtype": "float64",
    "values": [
      -1.0,
      2.0,
      -1.0,
      1.0,
      -1.0
    ]
  },
  {
    "shape": [
      5
    ],
    "dtype": "float64",
    "values": [
      0.0,
      1.0,
      2.0,
      3.0,
      4.0
    ]
  },
  {
    "ordering": "input"
  }
]

Esito, anteprima

{
  "numeric_api": "NUMERIC_API_v1",
  "operation": "residual_sequence",
  "schema": "gxtxt.residual_sequence_numeric.v1",
  "input_count": 5.0,
  "n": 5.0,
  "omitted_count": 0.0,
  "nonfinite_policy": "error",
  "ordering": "input",
  "key_storage_class": "double",
  "generated_input_positions": false,
  "tie_count": 0.0,
  "tie_policy": "stable_input_order",
  "input_residual_sha256": "8b33ba939a6a3272f8a2e93dd9ed4c8e9c50a87daf7e331039f967250688cf41",
  "input_order_sha256": "5a5af3993435cef7c2014d4561400dcb5a46e73e2b257a9178642ec688e821e1",
  "ordered_residual_sha256": "8b33ba939a6a3272f8a2e93dd9ed4c8e9c50a87daf7e331039f967250688cf41",
  "ordered_keys_sha256": "5a5af3993435cef7c2014d4561400dcb5a46e73e2b257a9178642ec688e821e1",
  "positive_count": 2.0,
  "negative_count": 3.0
}
Esito del controllo negativo o del tentativo · residual_sequence

Scarica lo script dell’esempio.

Esito, anteprima

"GXTXT:Numeric:Sequence: Declare ordering=input or ascending explicitly"

event_period

Accesso
registrata nel Job Python
Argomenti
vettore degli attraversamenti e opzioni vuote facoltative
Unità
Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
Esito
fatti limitati su periodo e frequenza
Effetto
Periodi tra attraversamenti del riferimento aritmetico, senza inferenza dell’incertezza di campionamento.
Tipi
vector
Forma dichiarata
finite_nondecreasing
Non finiti
error
Regola unità
seconds
gxtxt_api_call("NUMERIC_API_v1", "event_period", args)
Risultato registrato · event_period

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  {
    "shape": [
      4
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.0,
      3.0,
      4.0
    ]
  }
]

Esito, anteprima

{
  "n": 3.0,
  "crossing_count": 4.0,
  "period_count": 3.0,
  "method": "arithmetic_intercrossing_intervals",
  "period": 1.0,
  "frequency_hz": 1.0
}

pulse_timing

Accesso
registrata nel Job Python
Argomenti
vettori dei fronti di salita e di discesa e opzioni vuote facoltative
Unità
Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
Esito
Indicatori descrittivi limitati di periodo, durata, ciclo di lavoro e dispersione campionaria.
Effetto
Durate degli impulsi completi, periodo medio e dispersione campionaria dei periodi.
Tipi
vector
Forma dichiarata
finite_nondecreasing
Non finiti
error
Regola unità
seconds
gxtxt_api_call("NUMERIC_API_v1", "pulse_timing", args)
Risultato registrato · pulse_timing

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  {
    "shape": [
      4
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.0,
      3.0,
      4.0
    ]
  },
  {
    "shape": [
      4
    ],
    "dtype": "float64",
    "values": [
      1.25,
      2.25,
      3.25,
      4.25
    ]
  }
]

Esito, anteprima

{
  "n": 3.0,
  "crossing_count": 4.0,
  "period_count": 3.0,
  "method": "complete_pulse_intervals",
  "width_count": 3.0,
  "period_seconds": 1.0,
  "frequency_hz": 1.0,
  "pulse_width_seconds": 0.25,
  "duty_cycle": 0.25,
  "jitter_std_seconds": 0.0
}

replicate_summary

Accesso
registrata nel Job Python
Argomenti
Matrice dei valori, ID delle sorgenti ed eventuali opzioni per modalità, campionamento e local_dispersion.
Unità
Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
Esito
Statistiche, inviluppi e indicatori di ammissibilità per coordinata.
Effetto
Sommari replicati allineati con raggruppamento di sorgenti esplicite e presupposti di campionamento
Tipi
matrix,vector
Forma dichiarata
coordinate_rows_and_curve_columns
Opzioni
mode=labelled_traces_anova,unlabelled_point_cloud;sampling_model=unspecified,independent_traces;local_dispersion=matrix;local_available=matrix
Non finiti
error
Regola unità
caller_owned
Token del catalogo
replicate_summary
gxtxt_api_call("NUMERIC_API_v1", "replicate_summary", args)
Risultato registrato · replicate_summary

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  {
    "shape": [
      3,
      2
    ],
    "dtype": "float64",
    "values": [
      1.0,
      3.0,
      6.0,
      2.0,
      4.0,
      9.0
    ]
  },
  [
    1,
    2
  ]
]

Esito, anteprima

{
  "y_mean": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      1.5,
      3.5,
      7.5
    ]
  },
  "y_median": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      1.5,
      3.5,
      7.5
    ]
  },
  "y_std": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      0.7071067811865476,
      0.7071067811865476,
      2.1213203435596424
    ]
  },
  "y_sem": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      NaN,
      NaN,
      NaN
    ]
  },
  "sigma_within": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      NaN,
      NaN,
      NaN
    ]
  },
  "sigma_between": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      NaN,
      NaN,
      NaN
    ]
  },
  "sigma_total": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      NaN,
      NaN,
      NaN
    ]
  },
  "n": 2.0,
  "n_sources": 2.0,
  "within_df": 0.0,
  "component_coefficient": 1.0,
  "components_identifiable": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0,
      0.0
    ]
  },
  "between_clamped": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      NaN,
      NaN,
      NaN
    ]
  },
  "lower_std": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      0.7928932188134524,
      2.7928932188134525,
      5.378679656440358
    ]
  },
  "upper_std": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      2.2071067811865475,
      4.207106781186548,
      9.621320343559642
    ]
  },
  "lower_sem": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      NaN,
      NaN,
      NaN
    ]
  },
  "upper_sem": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      NaN,
      NaN,
      NaN
    ]
  },
  "lower_total": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      NaN,
      NaN,
      NaN
    ]
  }
}
Interrogazione del contratto · expression-name:replicate_summary

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  "replicate_summary"
]

Esito, anteprima

"GXTXT:ScriptBridge:RemoteError: NUMERIC_API_v1/operationByExpressionName: math.numeric API v1: unknown or ambiguous expression operation 'replicate_summary'"

welch_aggregate

Accesso
registrata nel Job Python
Argomenti
sum_psd, sum_amplitude, opzioni obbligatorie window_count/frequency_step_hz/enbw_sum_hz
Unità
Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
Esito
Vettori spettrali e fatti descrittivi limitati
Effetto
Aggrega somme di periodogramma unilaterale normalizzato senza ricalcolare la FFT
Tipi
vector
Forma dichiarata
matched_vectors_min_2
Opzioni
window_count=positive_integer;frequency_step_hz=positive_scalar;enbw_sum_hz=positive_scalar
Non finiti
error
Regola unità
caller_owned
Funzione d’espressione
welch_aggregate
gxtxt_api_call("NUMERIC_API_v1", "welch_aggregate", args)
Risultato registrato · welch_aggregate

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  {
    "shape": [
      4
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.0,
      3.0,
      4.0
    ]
  },
  {
    "shape": [
      4
    ],
    "dtype": "float64",
    "values": [
      1.0,
      1.0,
      2.0,
      2.0
    ]
  },
  {
    "window_count": 2,
    "frequency_step_hz": 1.0,
    "enbw_sum_hz": 3.0
  }
]

Esito, anteprima

{
  "psd": {
    "shape": [
      4,
      1
    ],
    "dtype": "float64",
    "values": [
      0.5,
      1.0,
      1.5,
      2.0
    ]
  },
  "asd": {
    "shape": [
      4,
      1
    ],
    "dtype": "float64",
    "values": [
      0.7071067811865476,
      1.0,
      1.224744871391589,
      1.4142135623730951
    ]
  },
  "mean_amplitude": {
    "shape": [
      4,
      1
    ],
    "dtype": "float64",
    "values": [
      0.5,
      0.5,
      1.0,
      1.0
    ]
  },
  "psd_db": {
    "shape": [
      4,
      1
    ],
    "dtype": "float64",
    "values": [
      -3.010299956639812,
      0.0,
      1.7609125905568124,
      3.010299956639812
    ]
  },
  "frequency": {
    "shape": [
      4,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      1.0,
      2.0,
      3.0
    ]
  },
  "window_count": 2.0,
  "bin_count": 4.0,
  "df": 1.0,
  "mean_enbw_hz": 1.5,
  "integrated_power": 5.0,
  "peak_frequency": 3.0,
  "peak_psd": 2.0,
  "peak_index": 4.0,
  "zero_level_bins": 0.0,
  "zero_policy": "undefined_finite_logarithmic_level",
  "averaging": "arithmetic_periodogram_mean",
  "peak_policy": "first_positive_maximum_excluding_dc"
}

power_level

Accesso
registrata nel Job Python
Argomenti
potenza, opzioni facoltative reference_rms
Unità
Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
Esito
Potenza, RMS, livello finito o marcatore di zero non definito
Effetto
RMS e livello logaritmico di potenze di banda spettrale integrate, finite e non negative
Tipi
scalar,vector,matrix
Forma dichiarata
same_as_input
Opzioni
reference_rms=positive_scalar
Non finiti
error
Regola unità
caller_owned
Funzione d’espressione
power_level
gxtxt_api_call("NUMERIC_API_v1", "power_level", args)
Risultato registrato · power_level

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  {
    "shape": [
      4
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.0,
      3.0,
      4.0
    ]
  }
]

Esito, anteprima

{
  "power": {
    "shape": [
      4,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.0,
      3.0,
      4.0
    ]
  },
  "root_power": {
    "shape": [
      4,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      1.4142135623730951,
      1.7320508075688772,
      2.0
    ]
  },
  "level_db": {
    "shape": [
      4,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      3.010299956639812,
      4.771212547196624,
      6.020599913279624
    ]
  },
  "reference_rms": 1.0,
  "zero_policy": "undefined_finite_logarithmic_level"
}

spectral_features

Accesso
registrata nel Job Python
Argomenti
frequenza, valori, opzioni facoltative
Unità
Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
Esito
Descrittori scalari acquisiti e vettori di distribuzione
Effetto
Distribuzione spettrale descrittiva a spaziatura uniforme; nessuna nuova FFT
Tipi
vector
Forma dichiarata
matched_vectors_min_3
Opzioni
input_semantics=amplitude,power,psd;exclude_dc=boolean
Non finiti
error
Regola unità
caller_owned
Funzione d’espressione
spectral_features
gxtxt_api_call("NUMERIC_API_v1", "spectral_features", args)
Risultato registrato · spectral_features

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  {
    "shape": [
      4
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.0,
      3.0,
      4.0
    ]
  },
  {
    "shape": [
      4
    ],
    "dtype": "float64",
    "values": [
      1.0,
      1.0,
      2.0,
      2.0
    ]
  }
]

Esito, anteprima

{
  "frequency": {
    "shape": [
      4,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.0,
      3.0,
      4.0
    ]
  },
  "source_value": {
    "shape": [
      4,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      1.0,
      2.0,
      2.0
    ]
  },
  "power_equivalent": {
    "shape": [
      4,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      1.0,
      4.0,
      4.0
    ]
  },
  "normalized_power": {
    "shape": [
      4,
      1
    ],
    "dtype": "float64",
    "values": [
      0.1,
      0.1,
      0.4,
      0.4
    ]
  },
  "cumulative_power": {
    "shape": [
      4,
      1
    ],
    "dtype": "float64",
    "values": [
      0.1,
      0.2,
      0.6000000000000001,
      1.0
    ]
  },
  "relative_power_db": {
    "shape": [
      4,
      1
    ],
    "dtype": "float64",
    "values": [
      -6.020599913279624,
      -6.020599913279624,
      0.0,
      0.0
    ]
  },
  "quantile_definition": "weighted empirical CDF inverse",
  "input_semantics": "amplitude",
  "exclude_dc": true,
  "df": 1.0,
  "spacing_relative_deviation": 0.0,
  "bin_count": 4.0,
  "dominant_frequency": 3.0,
  "spectral_centroid": 3.1,
  "rms_frequency": 3.24037034920393,
  "spectral_bandwidth": 0.9433981132056604,
  "frequency_05": 1.0,
  "frequency_50": 3.0
}

statistics

Accesso
registrata nel Job Python
Argomenti
valori, opzioni facoltative
Unità
Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
Esito
Riepilogo numerico grezzo per l’interpretazione di CORE
Effetto
Statistiche descrittive con ingresso esplicito e conteggi validi
Tipi
vector
Forma dichiarata
vector
Opzioni
nonfinite=error,omit;empty_policy=error,undefined
Non finiti
error,omit
Regola unità
field_specific
Token del catalogo
statistics
gxtxt_api_call("NUMERIC_API_v1", "statistics", args)
Risultato registrato · statistics

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  {
    "shape": [
      4
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.0,
      3.0,
      4.0
    ]
  }
]

Esito, anteprima

{
  "n": 4.0,
  "n_input": 4.0,
  "n_valid": 4.0,
  "n_nonfinite": 0.0,
  "min": 1.0,
  "max": 4.0,
  "max_absolute": 4.0,
  "range": 3.0,
  "sum": 10.0,
  "mean": 2.5,
  "median": 2.5,
  "q25": 1.75,
  "q75": 3.25,
  "iqr": 1.5,
  "variance_population": 1.25,
  "std_population": 1.118033988749895,
  "variance_sample": 1.6666666666666667,
  "std_sample": 1.2909944487358056
}
Esito del controllo negativo o del tentativo · statistics:inexact-list

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  [
    9007199254740993
  ]
]

Esito, anteprima

"GXTXT:Numeric:Arguments: Integer vector values outside the exact binary64 range require an explicit scientific conversion or typed array"

statistics_summary

Accesso
registrata nel Job Python
Argomenti
valori tipizzati, opzioni facoltative contract_version1
Unità
Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
Esito
gxtxt.numeric.statistics_summary.v1
Effetto
Fatti selezionati e versionati sulla popolazione, con media in virgola mobile a somma fedele e RMS pubblico dei residui
Tipi
vector
Forma dichiarata
vector
Opzioni
contract_version=1
Non finiti
exclude_and_count
Regola unità
field_specific
gxtxt_api_call("NUMERIC_API_v1", "statistics_summary", args)
Risultato registrato · statistics_summary:float32

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  {
    "shape": [
      65
    ],
    "dtype": "float32",
    "values": [
      0.0,
      1.0,
      2.0,
      3.0,
      4.0,
      5.0,
      6.0,
      7.0,
      8.0,
      9.0,
      10.0,
      11.0
    ]
  },
  {
    "contract_version": 1
  }
]

Esito, anteprima

{
  "total_count": 65.0,
  "finite_count": 65.0,
  "nan_count": 0.0,
  "positive_inf_count": 0.0,
  "negative_inf_count": 0.0,
  "schema": "gxtxt.numeric.statistics_summary.v1",
  "minimum": 0.0,
  "maximum": 64.0,
  "mean": 32.0,
  "stddev": 18.76166303929372,
  "availability": "available",
  "variance": "population",
  "nonfinite_policy": "exclude_and_count",
  "arithmetic": "numeric.faithful_expansion_mean_residual_rms"
}

histogram_summary

Accesso
registrata nel Job Python
Argomenti
valori tipizzati, opzioni facoltative di dominio nativo o limitato esplicito
Unità
Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
Esito
gxtxt.numeric.histogram_summary.v1 con conteggi uint64 tipizzati
Effetto
Istogramma versionato, nativo o limitato, composto da operazioni Numeric esistenti
Tipi
vector
Forma dichiarata
vector
Opzioni
contract_version=1;mode=native,bounded;bins=1..4096;domain_low=finite;domain_high=finite
Non finiti
exclude_and_count
Regola unità
preserve_edges
gxtxt_api_call("NUMERIC_API_v1", "histogram_summary", args)
Risultato registrato · histogram_summary

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  {
    "shape": [
      4
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.0,
      3.0,
      4.0
    ]
  },
  {
    "contract_version": 1,
    "mode": "bounded",
    "bins": 3,
    "domain_low": 1.0,
    "domain_high": 4.0
  }
]

Esito, anteprima

{
  "total_count": 4.0,
  "finite_count": 4.0,
  "nan_count": 0.0,
  "positive_inf_count": 0.0,
  "negative_inf_count": 0.0,
  "schema": "gxtxt.numeric.histogram_summary.v1",
  "counts": {
    "shape": [
      3,
      1
    ],
    "dtype": "uint64",
    "values": [
      1,
      1,
      2
    ]
  },
  "mode": "bounded",
  "dtype": "float64",
  "bins": 3.0,
  "lower": 1.0,
  "upper": 4.0,
  "width": 1.0,
  "last_inclusive": true,
  "edge_rule": "lower_plus_width_times_index",
  "count_dtype": "uint64",
  "in_range_count": 4.0,
  "underflow_count": 0.0
}

histogram

Accesso
registrata nel Job Python
Argomenti
valori, bordi e opzioni facoltativi
Unità
Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
Esito
Campi dell’istogramma Numeric esistente
Effetto
Istogramma riproducibile con conteggi e frequenze
Tipi
vector
Forma dichiarata
vector
Opzioni
nonfinite=error,omit;bin_mode=auto,count,width,edges;bin_count=positive_integer;bin_width=positive_number
Non finiti
error,omit
Regola unità
preserve_edges
Token del catalogo
histogram
gxtxt_api_call("NUMERIC_API_v1", "histogram", args)
Risultato registrato · histogram

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  {
    "shape": [
      4
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.0,
      3.0,
      4.0
    ]
  },
  {
    "shape": [
      4
    ],
    "dtype": "float64",
    "values": [
      0.0,
      2.0,
      4.0,
      6.0
    ]
  },
  {
    "bin_mode": "edges"
  }
]

Esito, anteprima

{
  "edges": {
    "shape": [
      4,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      2.0,
      4.0,
      6.0
    ]
  },
  "centers": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      3.0,
      5.0
    ]
  },
  "counts": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.0,
      1.0
    ]
  },
  "relative_frequency": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      0.25,
      0.5,
      0.25
    ]
  },
  "cumulative_frequency": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      0.25,
      0.75,
      1.0
    ]
  },
  "bin_mode": "edges",
  "n_input": 4.0,
  "n_valid": 4.0,
  "n_nonfinite": 0.0,
  "n_inside": 4.0,
  "n_outside": 0.0
}
Interrogazione del contratto · expression-name:histogram

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  "histogram"
]

Esito, anteprima

"GXTXT:ScriptBridge:RemoteError: NUMERIC_API_v1/operationByExpressionName: math.numeric API v1: unknown or ambiguous expression operation 'histogram'"

weighted_statistics

Accesso
registrata nel Job Python
Argomenti
valori, pesi, opzioni facoltative
Unità
Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
Esito
Riepilogo numerico grezzo per l’interpretazione di CORE
Effetto
Statistiche descrittive pesate con semantica esplicita del conteggio
Tipi
vector
Forma dichiarata
same_length
Opzioni
nonfinite=error,omit;weight_semantics=relative,inverse_variance
Non finiti
error,omit
Regola unità
field_specific
Token del catalogo
weighted_statistics
gxtxt_api_call("NUMERIC_API_v1", "weighted_statistics", args)
Risultato registrato · weighted_statistics

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  {
    "shape": [
      4
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.0,
      3.0,
      4.0
    ]
  },
  {
    "shape": [
      4
    ],
    "dtype": "float64",
    "values": [
      1.0,
      1.0,
      2.0,
      2.0
    ]
  }
]

Esito, anteprima

{
  "n_total": 4.0,
  "n_input": 4.0,
  "n_valid": 4.0,
  "n_nonfinite": 0.0,
  "n_zero_weight": 0.0,
  "n_positive_weight": 4.0,
  "n_positive": 4.0,
  "sum_weights": 6.0,
  "effective_n": 3.6,
  "min": 1.0,
  "max": 4.0,
  "range": 3.0,
  "weighted_sum": 17.0,
  "mean": 2.8333333333333335,
  "median": 3.0,
  "q25": 2.0,
  "q75": 4.0,
  "iqr": 2.0
}
Interrogazione del contratto · expression-name:weighted_statistics

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  "weighted_statistics"
]

Esito, anteprima

"GXTXT:ScriptBridge:RemoteError: NUMERIC_API_v1/operationByExpressionName: math.numeric API v1: unknown or ambiguous expression operation 'weighted_statistics'"

quantiles

Accesso
registrata nel Job Python
Argomenti
valori, probabilità, opzioni facoltative
Unità
Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
Esito
Valori con l’ordine esatto delle probabilità e la definizione dello stimatore
Effetto
Calcola quantili di tipo 7
Tipi
vector
Forma dichiarata
value_and_probability_vectors
Opzioni
nonfinite=error,omit
Non finiti
error,omit
Regola unità
preserve
Token del catalogo
quantiles
gxtxt_api_call("NUMERIC_API_v1", "quantiles", args)
Risultato registrato · quantiles

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  {
    "shape": [
      4
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.0,
      3.0,
      4.0
    ]
  },
  {
    "shape": [
      3
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.5,
      1.0
    ]
  }
]

Esito, anteprima

{
  "probabilities": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.5,
      1.0
    ]
  },
  "quantiles": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.5,
      4.0
    ]
  },
  "n": 4.0,
  "definition": "Hyndman-Fan type 7 linear interpolation"
}
Interrogazione del contratto · expression-name:quantiles

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  "quantiles"
]

Esito, anteprima

"GXTXT:ScriptBridge:RemoteError: NUMERIC_API_v1/operationByExpressionName: math.numeric API v1: unknown or ambiguous expression operation 'quantiles'"

weighted_quantiles

Accesso
registrata nel Job Python
Argomenti
valori, pesi, probabilità, opzioni facoltative
Unità
Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
Esito
Valori con l’ordine esatto delle probabilità e la definizione dello stimatore
Effetto
Quantili empirici pesati con conteggi espliciti
Tipi
vector
Forma dichiarata
same_length_values_weights
Opzioni
nonfinite=error,omit
Non finiti
error,omit
Regola unità
preserve
Token del catalogo
weighted_quantiles
gxtxt_api_call("NUMERIC_API_v1", "weighted_quantiles", args)
Risultato registrato · weighted_quantiles

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  {
    "shape": [
      4
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.0,
      3.0,
      4.0
    ]
  },
  {
    "shape": [
      4
    ],
    "dtype": "float64",
    "values": [
      1.0,
      1.0,
      2.0,
      2.0
    ]
  },
  {
    "shape": [
      3
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.5,
      1.0
    ]
  }
]

Esito, anteprima

{
  "probabilities": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.5,
      1.0
    ]
  },
  "quantiles": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      3.0,
      4.0
    ]
  },
  "n_total": 4.0,
  "n_input": 4.0,
  "n_valid": 4.0,
  "n_nonfinite": 0.0,
  "n_zero_weight": 0.0,
  "n_positive_weight": 4.0,
  "n_positive": 4.0,
  "sum_weights": 6.0,
  "definition": "weighted empirical CDF inverse"
}
Interrogazione del contratto · expression-name:weighted_quantiles

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  "weighted_quantiles"
]

Esito, anteprima

"GXTXT:ScriptBridge:RemoteError: NUMERIC_API_v1/operationByExpressionName: math.numeric API v1: unknown or ambiguous expression operation 'weighted_quantiles'"

resampling_summary

Accesso
registrata nel Job Python
Argomenti
distribuzione, statistica osservata, opzioni facoltative
Unità
Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
Esito
Intervallo numerico o fatti di probabilità corretti per l’interpretazione di CORE
Effetto
Intervallo percentile sulle repliche esistenti o probabilità di permutazione con correzione plus-one
Tipi
vector,scalar
Forma dichiarata
observations
Opzioni
method=bootstrap,permutation_independent,permutation_paired;alternative=two_sided,greater,less;confidence=probability;n_x=integer;n_y=integer
Non finiti
error
Regola unità
field_specific
gxtxt_api_call("NUMERIC_API_v1", "resampling_summary", args)
Risultato registrato · resampling_summary

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  {
    "shape": [
      4
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.0,
      3.0,
      4.0
    ]
  },
  2.0,
  {
    "method": "bootstrap"
  }
]

Esito, anteprima

{
  "method": "bootstrap",
  "replicates": 4.0,
  "estimate": 2.0,
  "confidence": 0.95,
  "alternative": "two_sided",
  "ci_lower": 1.0750000000000002,
  "ci_upper": 3.925,
  "p_value": NaN,
  "extreme_count": 0.0,
  "bootstrap_standard_error": 1.2909944487358056,
  "distribution_variance": 1.6666666666666667,
  "inference": "percentile_confidence_interval",
  "quantile_definition": "Hyndman-Fan type 7 linear interpolation",
  "tail_tolerance": NaN
}

one_way_anova

Accesso
registrata nel Job Python
Argomenti
valori, etichette di gruppo, opzioni facoltative
Unità
Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
Esito
Risultati numerici per gruppo e test per l’interpretazione di CORE
Effetto
ANOVA a una via o confronto di gruppi eteroschedastici di Welch
Tipi
vector
Forma dichiarata
same_length
Opzioni
method=ordinary,welch;nonfinite=error,omit
Non finiti
error,omit
Regola unità
field_specific
gxtxt_api_call("NUMERIC_API_v1", "one_way_anova", args)
Risultato registrato · one_way_anova

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  {
    "shape": [
      6
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.0,
      3.0,
      5.0,
      6.0,
      7.0
    ]
  },
  {
    "shape": [
      6
    ],
    "dtype": "float64",
    "values": [
      1.0,
      1.0,
      1.0,
      2.0,
      2.0,
      2.0
    ]
  }
]

Esito, anteprima

{
  "method": "ordinary",
  "n_input": 6.0,
  "n_valid": 6.0,
  "n_nonfinite": 0.0,
  "group_count": 2.0,
  "group_names": [
    "1",
    "2"
  ],
  "group_counts": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      3.0,
      3.0
    ]
  },
  "group_means": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      2.0,
      6.0
    ]
  },
  "group_variances": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      1.0
    ]
  },
  "group_standard_deviations": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      1.0
    ]
  },
  "overall_mean": 4.0,
  "ss_between": 24.0,
  "ss_within": 4.0,
  "ss_total": 28.0,
  "df_between": 1.0,
  "df_within": 4.0,
  "ms_between": 24.0,
  "ms_within": 1.0
}

hypothesis_test

Accesso
registrata nel Job Python
Argomenti
metodo, primi valori, secondi valori, opzioni facoltative
Unità
Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
Esito
Risultato grezzo del test numerico per l’interpretazione di CORE
Effetto
Test t comuni e test basati sui ranghi con semantica esplicita
Tipi
scalar,vector
Forma dichiarata
method_specific
Opzioni
alternative=two_sided,greater,less;confidence=probability;mu0=number;nonfinite=error,omit
Non finiti
error,omit
Regola unità
field_specific
gxtxt_api_call("NUMERIC_API_v1", "hypothesis_test", args)
Risultato registrato · hypothesis_test

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  "paired_t",
  {
    "shape": [
      4
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.0,
      3.0,
      4.0
    ]
  },
  {
    "shape": [
      4
    ],
    "dtype": "float64",
    "values": [
      1.0,
      1.0,
      2.0,
      2.0
    ]
  }
]

Esito, anteprima

{
  "method": "paired_t",
  "statistic": 2.449489742783178,
  "degrees_of_freedom": 3.0,
  "n_input_x": 4.0,
  "n_input_y": 4.0,
  "n_x": 4.0,
  "n_y": 4.0,
  "p_value": 0.09172111331157191,
  "alternative": "two_sided",
  "confidence": 0.95,
  "null_value": 0.0,
  "estimate": 1.0,
  "ci_lower": -0.2992282636251098,
  "ci_upper": 2.2992282636251096,
  "ci_status": "defined",
  "standard_error": 0.408248290463863,
  "test_standard_deviation": 0.816496580927726,
  "interval_margin": 1.2992282636251098
}

mad

Accesso
registrata nel Job Python
Argomenti
valori, opzioni facoltative
Unità
Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
Esito
Fatti su mediana e MAD grezza/scalata per l’interpretazione di CORE
Effetto
Deviazione assoluta mediana con scalatura esplicita
Tipi
vector
Forma dichiarata
vector
Opzioni
nonfinite=error,omit;scale=raw,normal_consistency
Non finiti
error,omit
Regola unità
preserve
Funzione d’espressione
mad
gxtxt_api_call("NUMERIC_API_v1", "mad", args)
Risultato registrato · mad

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  {
    "shape": [
      4
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.0,
      3.0,
      4.0
    ]
  }
]

Esito, anteprima

{
  "mad": 1.0,
  "raw_mad": 1.0,
  "median": 2.5,
  "scale": "raw",
  "scale_factor": 1.0,
  "n_input": 4.0,
  "n_valid": 4.0,
  "n_nonfinite": 0.0
}

matrix_statistics

Accesso
registrata nel Job Python
Argomenti
matrice, opzione facoltativa della dimensione
Unità
Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
Esito
Conteggio numerico e vettori dei momenti indicizzati
Effetto
Statistiche descrittive per dimensione della matrice
Tipi
matrix
Forma dichiarata
axis_reduction
Opzioni
dimension=1,2
Non finiti
error
Regola unità
field_specific
Token del catalogo
matrix_statistics
gxtxt_api_call("NUMERIC_API_v1", "matrix_statistics", args)
Risultato registrato · matrix_statistics

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  {
    "shape": [
      3,
      2
    ],
    "dtype": "float64",
    "values": [
      1.0,
      3.0,
      6.0,
      2.0,
      4.0,
      9.0
    ]
  }
]

Esito, anteprima

{
  "n": 3.0,
  "mean": {
    "shape": [
      1,
      2
    ],
    "dtype": "float64",
    "values": [
      3.3333333333333335,
      5.0
    ]
  },
  "median": {
    "shape": [
      1,
      2
    ],
    "dtype": "float64",
    "values": [
      3.0,
      4.0
    ]
  },
  "variance_population": {
    "shape": [
      1,
      2
    ],
    "dtype": "float64",
    "values": [
      4.222222222222222,
      8.666666666666666
    ]
  },
  "std_population": {
    "shape": [
      1,
      2
    ],
    "dtype": "float64",
    "values": [
      2.0548046676563256,
      2.943920288775949
    ]
  },
  "variance_sample": {
    "shape": [
      1,
      2
    ],
    "dtype": "float64",
    "values": [
      6.333333333333334,
      13.0
    ]
  },
  "std_sample": {
    "shape": [
      1,
      2
    ],
    "dtype": "float64",
    "values": [
      2.5166114784235836,
      3.605551275463989
    ]
  },
  "min": {
    "shape": [
      1,
      2
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.0
    ]
  },
  "max": {
    "shape": [
      1,
      2
    ],
    "dtype": "float64",
    "values": [
      6.0,
      9.0
    ]
  },
  "requested_dimension": 1.0,
  "input_shape": {
    "shape": [
      1,
      2
    ],
    "dtype": "float64",
    "values": [
      3.0,
      2.0
    ]
  },
  "output_shape": {
    "shape": [
      1,
      2
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.0
    ]
  }
}
Interrogazione del contratto · expression-name:matrix_statistics

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  "matrix_statistics"
]

Esito, anteprima

"GXTXT:ScriptBridge:RemoteError: NUMERIC_API_v1/operationByExpressionName: math.numeric API v1: unknown or ambiguous expression operation 'matrix_statistics'"

pca_summary

Accesso
registrata nel Job Python
Argomenti
valori singolari, numero di osservazioni, flag facoltativo di centratura
Unità
Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
Esito
Colonne ordinate di fatti sulle componenti per l’interpretazione di CORE
Effetto
Momenti e rapporti delle componenti PCA dai moduli SVD esistenti, senza ricalcolare la SVD
Tipi
vector,scalar
Forma dichiarata
descending_svd_components
Opzioni
centered=true,false
Non finiti
error
Regola unità
source_or_standardized_units
gxtxt_api_call("NUMERIC_API_v1", "pca_summary", args)
Risultato registrato · pca_summary

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  {
    "shape": [
      2
    ],
    "dtype": "float64",
    "values": [
      3.0,
      2.0
    ]
  },
  6
]

Esito, anteprima

{
  "n": 6.0,
  "singular_value": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      3.0,
      2.0
    ]
  },
  "component_variance": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      1.8,
      0.8
    ]
  },
  "explained_ratio": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      0.6923076923076923,
      0.3076923076923077
    ]
  },
  "cumulative_ratio": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      0.6923076923076923,
      1.0
    ]
  },
  "component_index": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.0
    ]
  },
  "component_count": 2.0,
  "total_component_variance": 2.6,
  "method": "centered_sample_covariance"
}

derived_properties

Accesso
registrata nel Job Python
Argomenti
piano pubblico CORE delle proprietà derivate
Unità
Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
Esito
Valori, disponibilità delle derivate analitiche e covarianza propagata, senza ripetere il fit.
Effetto
Valuta espressioni di parametri fisici con la convalida delle unità esistente e derivate analitiche, poi propaga una sola volta la covarianza completa
Tipi
struct
Forma dichiarata
CORE_derived_properties_1_to_32
Non finiti
error
Regola unità
explicit_CORE_plan
gxtxt_api_call("NUMERIC_API_v1", "derived_properties", args)
Risultato registrato · derived_properties

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  {
    "api_id": "STATISTICAL_DERIVED_PROPERTIES_PLAN_v1",
    "api_version": 1,
    "source_model_id": "math.numeric.nonlinear",
    "coefficient_space": "original_physical",
    "parameter_ids": [
      "a",
      "b"
    ],
    "parameter_aliases": [
      "p0",
      "p1"
    ],
    "parameter_units": [
      "1",
      "1"
    ],
    "parameter_roles": [
      "free",
      "free"
    ],
    "parameter_values": {
      "shape": [
        2,
        1
      ],
      "dtype": "float64",
      "values": [
        1.9985809013354445,
        0.9866665673334654
      ]
    },
    "free_indices": {
      "shape": [
        2,
        1
      ],
      "dtype": "float64",
      "values": [
        1.0,
        2.0
      ]
    },
    "source_covariance": {
      "shape": [
        2,
        2
      ],
      "dtype": "float64",
      "values": [
        0.00027298018465493444,
        -0.0009554306462922706,
        -0.0009554306462922706,
        0.003966878715104643
      ]
    },
    "definitions": [
      {
        "id": "sum",
        "label": "sum",
        "expression": "p0+p1",
        "unit": "1",
        "constants": []
      }
    ],
    "status": "value",
    "reason": ""
  }
]

Esito, anteprima

{
  "numeric_api": "NUMERIC_API_v1",
  "operation": "derived_properties",
  "plan": {
    "api_id": "STATISTICAL_DERIVED_PROPERTIES_PLAN_v1",
    "api_version": 1.0,
    "source_model_id": "math.numeric.nonlinear",
    "coefficient_space": "original_physical",
    "parameter_ids": [
      "a",
      "b"
    ],
    "parameter_aliases": [
      "p0",
      "p1"
    ],
    "parameter_units": [
      "1",
      "1"
    ],
    "parameter_roles": [
      "free",
      "free"
    ],
    "parameter_values": {
      "shape": [
        2,
        1
      ],
      "dtype": "float64",
      "values": [
        1.9985809013354445,
        0.9866665673334654
      ]
    },
    "free_indices": {
      "shape": [
        2,
        1
      ],
      "dtype": "float64",
      "values": [
        1.0,
        2.0
      ]
    },
    "source_covariance": {
      "shape": [
        2,
        2
      ],
      "dtype": "float64",
      "values": [
        0.00027298018465493444,
        -0.0009554306462922706,
        -0.0009554306462922706,
        0.003966878715104643
      ]
    },
    "definitions": [
      {
        "id": "sum",
        "label": "sum",
        "expression": "p0+p1",
        "unit": "1",
        "constants": {
          "shape": [
            0,
            1
          ],
          "dtype": "float64",
          "values": []
        }
      }
    ],
    "status": "value",
    "reason": ""
  },
  "properties": [
    {
      "id": "sum",
      "value_status": "value",
      "value": 2.98524746866891,
      "reason": "",
      "derivative_valid": true,
      "source_sha256": "9711efe3d20f7754ff89a14b919ec2ffdfe00e48f68b0d5d6cfd3ab60a3b2a65",
      "binding_sha256": "495168708db4c8918f14582d2d1ee2b699807fc94d29375392226b77e46fed6a"
    }
  ],
  "propagation_indices": 1.0,
  "propagation": {
    "covariance": 0.002328997607175036,
    "standard_uncertainty": 0.04825968925692577,
    "jacobian": {
      "shape": [
        1,
        2
      ],
      "dtype": "float64",
      "values": [
        1.0,
        1.0
      ]
    },
    "input_covariance": {
      "shape": [
        2,
        2
      ],
      "dtype": "float64",
      "values": [
        0.00027298018465493444,
        -0.0009554306462922706,
        -0.0009554306462922706,
        0.003966878715104643
      ]
    },
    "method": "first_order_linear_propagation",
    "input_kind": "covariance",
    "input_count": 2.0,
    "output_count": 1.0
  },
  "derivative_method": "two_sided_automatic_differentiation",
  "fit_performed": false
}
Esito del controllo negativo o del tentativo · derived_properties

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  {
    "api_id": "STATISTICAL_DERIVED_PROPERTIES_PLAN_v1",
    "api_version": 1,
    "source_model_id": "math.numeric.nonlinear",
    "coefficient_space": "original_physical",
    "parameter_ids": [
      "a",
      "b"
    ],
    "parameter_aliases": [
      "p0",
      "p1"
    ],
    "parameter_units": [
      "1",
      "1"
    ],
    "parameter_roles": [
      "free",
      "free"
    ],
    "parameter_values": {
      "shape": [
        2,
        1
      ],
      "dtype": "float64",
      "values": [
        1.9985809013354445,
        0.9866665673334654
      ]
    },
    "free_indices": {
      "shape": [
        2,
        1
      ],
      "dtype": "float64",
      "values": [
        1.0,
        2.0
      ]
    },
    "source_covariance": {
      "shape": [
        2,
        2
      ],
      "dtype": "float64",
      "values": [
        0.00027298018465493444,
        -0.0009554306462922706,
        -0.0009554306462922706,
        0.003966878715104643
      ]
    },
    "definitions": [
      {
        "id": "sum",
        "label": "sum",
        "expression": "a+b",
        "unit": "1",
        "constants": []
      }
    ],
    "status": "value",
    "reason": ""
  }
]

Esito, anteprima

"GXTXT:Numeric:DerivedProperties: A derived property must depend on at least one captured parameter alias"

residual_metrics

Accesso
registrata nel Job Python
Argomenti
osservati, previsti, opzioni facoltative
Unità
Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
Esito
Metriche numeriche grezze per l’interpretazione di CORE
Effetto
Calcola le metriche di errore dei residui
Tipi
vector
Forma dichiarata
same_length
Opzioni
relative_floor=nonnegative
Non finiti
error
Regola unità
field_specific
Token del catalogo
residual_metrics
gxtxt_api_call("NUMERIC_API_v1", "residual_metrics", args)
Risultato registrato · residual_metrics

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  {
    "shape": [
      6
    ],
    "dtype": "float64",
    "values": [
      0.0,
      1.0,
      2.0,
      3.0,
      4.0,
      5.0
    ]
  },
  {
    "shape": [
      6
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.0,
      3.0,
      4.0,
      5.0,
      6.0
    ]
  }
]

Esito, anteprima

{
  "n": 6.0,
  "sse": 6.0,
  "mse": 1.0,
  "rmse": 1.0,
  "mae": 1.0,
  "max_abs_error": 1.0,
  "r2": 0.6571428571428571,
  "response_variance": 2.9166666666666665,
  "max_relative_error": 1.0,
  "rms_relative_error": 0.5410380968307336,
  "relative_n": 5.0,
  "relative_floor": 0.0
}
Interrogazione del contratto · expression-name:residual_metrics

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  "residual_metrics"
]

Esito, anteprima

"GXTXT:ScriptBridge:RemoteError: NUMERIC_API_v1/operationByExpressionName: math.numeric API v1: unknown or ambiguous expression operation 'residual_metrics'"

replicate_xy_summary

Accesso
registrata nel Job Python
Argomenti
[{“name”: “X”, “kind”: “numeric array or options”, “required”: true}, {“name”: “Y”, “kind”: “numeric array or options”, “required”: true}, {“name”: “source_ids”, “kind”: “numeric array or options”, “required”: true}, {“name”: “options”, “kind”: “numeric array or options”, “required”: false}]
Esito
replicate_summary di x/y e covarianza campionaria covariance_xy
Funzione
Profili per coordinata e covarianza incrociata campionaria mediante le riduzioni Numeric esistenti.
gxtxt_api_call("NUMERIC_API_v1", "replicate_xy_summary", args)
Risultato registrato · replicate_xy_summary

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  {
    "shape": [
      3,
      2
    ],
    "dtype": "float64",
    "values": [
      1.0,
      3.0,
      6.0,
      2.0,
      4.0,
      9.0
    ]
  },
  {
    "shape": [
      3,
      2
    ],
    "dtype": "float64",
    "values": [
      3.0,
      5.0,
      8.0,
      4.0,
      6.0,
      11.0
    ]
  },
  [
    1,
    2
  ],
  {}
]

Esito, anteprima

{
  "x": {
    "y_mean": {
      "shape": [
        3,
        1
      ],
      "dtype": "float64",
      "values": [
        1.5,
        3.5,
        7.5
      ]
    },
    "y_median": {
      "shape": [
        3,
        1
      ],
      "dtype": "float64",
      "values": [
        1.5,
        3.5,
        7.5
      ]
    },
    "y_std": {
      "shape": [
        3,
        1
      ],
      "dtype": "float64",
      "values": [
        0.7071067811865476,
        0.7071067811865476,
        2.1213203435596424
      ]
    },
    "y_sem": {
      "shape": [
        3,
        1
      ],
      "dtype": "float64",
      "values": [
        NaN,
        NaN,
        NaN
      ]
    },
    "sigma_within": {
      "shape": [
        3,
        1
      ],
      "dtype": "float64",
      "values": [
        NaN,
        NaN,
        NaN
      ]
    },
    "sigma_between": {
      "shape": [
        3,
        1
      ],
      "dtype": "float64",
      "values": [
        NaN,
        NaN,
        NaN
      ]
    },
    "sigma_total": {
      "shape": [
        3,
        1
      ],
      "dtype": "float64",
      "values": [
        NaN,
        NaN,
        NaN
      ]
    },
    "n": 2.0,
    "n_sources": 2.0,
    "within_df": 0.0,
    "component_coefficient": 1.0,
    "components_identifiable": {
      "shape": [
        3,
        1
      ],
      "dtype": "float64",
      "values": [
        0.0,
        0.0,
        0.0
      ]
    },
    "between_clamped": {
      "shape": [
        3,
        1
      ],
      "dtype": "float64",
      "values": [
        NaN,
        NaN,
        NaN
      ]
    },
    "lower_std": {
      "shape": [
        3,
        1
      ],
      "dtype": "float64",
      "values": [
        0.7928932188134524,
        2.7928932188134525,
        5.378679656440358
      ]
    },
    "upper_std": {
      "shape": [
        3,
        1
      ],
      "dtype": "float64",
      "values": [
        2.2071067811865475,
        4.207106781186548,
        9.621320343559642
      ]
    },
    "lower_sem": {
      "shape": [
        3,
        1
      ],
      "dtype": "float64",
      "values": [
        NaN,
        NaN,
        NaN
      ]
    },
    "upper_sem": {
      "shape": [
        3,
        1
      ],
      "dtype": "float64",
      "values": [
        NaN,
        NaN,
        NaN
      ]
    },
    "lower_total": {
      "shape": [
        3,
        1
      ],
      "dtype": "float64",
      "values": [
        NaN,
        NaN,
        NaN
      ]
    }
  },
  "y": {
    "y_mean": {
      "shape": [
        3,
        1
      ],
      "dtype": "float64",
      "values": [
        3.5,
        5.5,
        9.5
      ]
    },
    "y_median": {
      "shape": [
        3,
        1
      ],
      "dtype": "float64",
      "values": [
        3.5,
        5.5,
        9.5
      ]
    },
    "y_std": {
      "shape": [
        3,
        1
      ],
      "dtype": "float64",
      "values": [
        0.7071067811865476,
        0.7071067811865476,
        2.1213203435596424
      ]
    },
    "y_sem": {
      "shape": [
        3,
        1
      ],
      "dtype": "float64",
      "values": [
        NaN,
        NaN,
        NaN
      ]
    },
    "sigma_within": {
      "shape": [
        3,
        1
      ],
      "dtype": "float64",
      "values": [
        NaN,
        NaN,
        NaN
      ]
    },
    "sigma_between": {
      "shape": [
        3,
        1
      ],
      "dtype": "float64",
    
[…]
Esito del controllo negativo o del tentativo · replicate_xy_summary

Scarica lo script dell’esempio.

Esito, anteprima

"GXTXT:Numeric: Each curve needs one positive integer source ID"

statisticsSummary

Accesso
registrata nel Job Python
Argomenti
values {options {kind struct fields {}}}
Unità
Mantiene le unità e l’interpretazione del componente responsabile senza rietichettarle.
Esito
Risultato originale completo, con i tipi number/boolean/string/vector/matrix/tensor/struct/cell restituiti da resultTypes del componente responsabile subito dopo la chiamata
Funzione
Esegue invariata l’operazione Numeric originale statisticsSummary.
gxtxt_api_call("NUMERIC_API_v1", "statisticsSummary", args)
Risultato registrato · statisticsSummary

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  {
    "kind": "array",
    "shape": [
      4,
      1
    ],
    "real": [
      1.0,
      2.0,
      3.0,
      4.0
    ]
  }
]

Esito, anteprima

{
  "total_count": 4.0,
  "finite_count": 4.0,
  "nan_count": 0.0,
  "positive_inf_count": 0.0,
  "negative_inf_count": 0.0,
  "schema": "gxtxt.numeric.statistics_summary.v1",
  "minimum": 1.0,
  "maximum": 4.0,
  "mean": 2.5,
  "stddev": 1.118033988749895,
  "availability": "available",
  "variance": "population",
  "nonfinite_policy": "exclude_and_count",
  "arithmetic": "numeric.faithful_expansion_mean_residual_rms"
}
Esito del controllo negativo o del tentativo · statisticsSummary

Scarica lo script dell’esempio.

Esito, anteprima

"GXTXT:ScriptBridge:RemoteError: NUMERIC_API_v1/statisticsSummary: math.numeric API v1: operation 'statistics_summary' operands must be typed nodes"

histogramSummary

Accesso
registrata nel Job Python
Argomenti
values {options {kind struct fields {}}}
Unità
Mantiene le unità e l’interpretazione del componente responsabile senza rietichettarle.
Esito
Risultato originale completo, con i tipi number/boolean/string/vector/matrix/tensor/struct/cell restituiti da resultTypes del componente responsabile subito dopo la chiamata
Funzione
Esegue invariata l’operazione Numeric originale histogramSummary.
gxtxt_api_call("NUMERIC_API_v1", "histogramSummary", args)
Risultato registrato · histogramSummary

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  {
    "kind": "array",
    "shape": [
      4,
      1
    ],
    "real": [
      1.0,
      2.0,
      3.0,
      4.0
    ]
  },
  {
    "kind": "struct",
    "fields": {
      "mode": {
        "kind": "text",
        "value": "bounded"
      },
      "bins": {
        "kind": "array",
        "shape": [
          1,
          1
        ],
        "real": [
          3
        ]
      },
      "domain_low": {
        "kind": "array",
        "shape": [
          1,
          1
        ],
        "real": [
          1.0
        ]
      },
      "domain_high": {
        "kind": "array",
        "shape": [
          1,
          1
        ],
        "real": [
          4.0
        ]
      }
    }
  }
]

Esito, anteprima

{
  "total_count": 4.0,
  "finite_count": 4.0,
  "nan_count": 0.0,
  "positive_inf_count": 0.0,
  "negative_inf_count": 0.0,
  "schema": "gxtxt.numeric.histogram_summary.v1",
  "counts": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      1.0,
      2.0
    ]
  },
  "mode": "bounded",
  "dtype": "float64",
  "bins": 3.0,
  "lower": 1.0,
  "upper": 4.0,
  "width": 1.0,
  "last_inclusive": true,
  "edge_rule": "lower_plus_width_times_index",
  "count_dtype": "uint64",
  "in_range_count": 4.0,
  "underflow_count": 0.0
}
Esito del controllo negativo o del tentativo · histogramSummary

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  {
    "kind": "array",
    "shape": [
      4,
      1
    ],
    "real": [
      1.0,
      2.0,
      3.0,
      4.0
    ]
  }
]

Esito, anteprima

"GXTXT:ScriptBridge:RemoteError: NUMERIC_API_v1/histogramSummary: Native histogram requires original uint8/uint16/int16 dtype"

statisticsResponsive

Accesso
registrata nel Job Python
Argomenti
values {options {}} {progress {}}
Unità
Mantiene le unità e l’interpretazione del componente responsabile senza rietichettarle.
Esito
Risultato originale completo, con i tipi number/boolean/string/vector/matrix/tensor/struct/cell restituiti da resultTypes del componente responsabile subito dopo la chiamata
Funzione
Esegue invariata l’operazione Numeric originale statisticsResponsive.
gxtxt_api_call("NUMERIC_API_v1", "statisticsResponsive", args)
Risultato registrato · statisticsResponsive

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  {
    "shape": [
      4
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.0,
      3.0,
      4.0
    ]
  }
]

Esito, anteprima

{
  "n": 4.0,
  "n_input": 4.0,
  "n_valid": 4.0,
  "n_nonfinite": 0.0,
  "min": 1.0,
  "max": 4.0,
  "max_absolute": 4.0,
  "range": 3.0,
  "sum": 10.0,
  "mean": 2.5,
  "median": 2.5,
  "q25": 1.75,
  "q75": 3.25,
  "iqr": 1.5,
  "variance_population": 1.25,
  "std_population": 1.118033988749895,
  "variance_sample": 1.6666666666666667,
  "std_sample": 1.2909944487358056
}

rank

Accesso
registrata nel Job Python
Argomenti
values {options {}}
Unità
Mantiene le unità e l’interpretazione del componente responsabile senza rietichettarle.
Esito
Risultato originale completo, con i tipi number/boolean/string/vector/matrix/tensor/struct/cell restituiti da resultTypes del componente responsabile subito dopo la chiamata
Effetto
Ranghi dei valori con gestione deterministica dei valori uguali
Tipi
vector
Forma dichiarata
vector
Opzioni
nonfinite=error,omit;ties=average,min,max,dense
Non finiti
error,omit
Regola unità
dimensionless_output
Funzione d’espressione
rank
gxtxt_api_call("NUMERIC_API_v1", "rank", args)
Risultato registrato · rank

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  {
    "shape": [
      4
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.0,
      3.0,
      4.0
    ]
  }
]

Esito, anteprima

{
  "ranks": {
    "shape": [
      4,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.0,
      3.0,
      4.0
    ]
  },
  "n_input": 4.0,
  "n_valid": 4.0,
  "n_nonfinite": 0.0,
  "ties": "average"
}

correlation

Accesso
registrata nel Job Python
Argomenti
x y {options {}}
Unità
Mantiene le unità e l’interpretazione del componente responsabile senza rietichettarle.
Esito
Risultato originale completo, con i tipi number/boolean/string/vector/matrix/tensor/struct/cell restituiti da resultTypes del componente responsabile subito dopo la chiamata
Effetto
Correlazione di Pearson o Spearman con conteggi appaiati
Tipi
vector
Forma dichiarata
same_length
Opzioni
nonfinite=error,omit;method=pearson,spearman
Non finiti
error,omit
Regola unità
dimensionless_output
Funzione d’espressione
correlation
gxtxt_api_call("NUMERIC_API_v1", "correlation", args)
Risultato registrato · correlation

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  {
    "shape": [
      4
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.0,
      3.0,
      4.0
    ]
  },
  {
    "shape": [
      4
    ],
    "dtype": "float64",
    "values": [
      1.0,
      1.0,
      2.0,
      2.0
    ]
  }
]

Esito, anteprima

{
  "correlation": 0.8944271909999159,
  "method": "pearson",
  "status": "ok",
  "n_input": 4.0,
  "n_valid": 4.0,
  "n_nonfinite": 0.0,
  "missing_pair_policy": "pairwise",
  "tie_method": "average"
}

ecdf

Accesso
registrata nel Job Python
Argomenti
values {options {}}
Unità
Mantiene le unità e l’interpretazione del componente responsabile senza rietichettarle.
Esito
Risultato originale completo, con i tipi number/boolean/string/vector/matrix/tensor/struct/cell restituiti da resultTypes del componente responsabile subito dopo la chiamata
Effetto
Distribuzione cumulativa empirica con supporto univoco
Tipi
vector
Forma dichiarata
vector
Opzioni
nonfinite=error,omit
Non finiti
error,omit
Regola unità
preserve_support
Token del catalogo
ecdf
gxtxt_api_call("NUMERIC_API_v1", "ecdf", args)
Risultato registrato · ecdf

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  {
    "shape": [
      4
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.0,
      3.0,
      4.0
    ]
  }
]

Esito, anteprima

{
  "support": {
    "shape": [
      4,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.0,
      3.0,
      4.0
    ]
  },
  "counts": {
    "shape": [
      4,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      1.0,
      1.0,
      1.0
    ]
  },
  "probability": {
    "shape": [
      4,
      1
    ],
    "dtype": "float64",
    "values": [
      0.25,
      0.5,
      0.75,
      1.0
    ]
  },
  "n_input": 4.0,
  "n_valid": 4.0,
  "n_nonfinite": 0.0
}
Interrogazione del contratto · expression-name:ecdf

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  "ecdf"
]

Esito, anteprima

"GXTXT:ScriptBridge:RemoteError: NUMERIC_API_v1/operationByExpressionName: math.numeric API v1: unknown or ambiguous expression operation 'ecdf'"

normalCdf

Accesso
registrata nel Job Python
Argomenti
x mu sigma {options {}}
Unità
Mantiene le unità e l’interpretazione del componente responsabile senza rietichettarle.
Esito
Risultato originale completo, con i tipi number/boolean/string/vector/matrix/tensor/struct/cell restituiti da resultTypes del componente responsabile subito dopo la chiamata
Funzione
Esegue invariata l’operazione Numeric originale normalCdf.
gxtxt_api_call("NUMERIC_API_v1", "normalCdf", args)
Risultato registrato · normalCdf

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  {
    "kind": "scalar",
    "value": 0.0
  },
  {
    "kind": "scalar",
    "value": 0.0
  },
  {
    "kind": "scalar",
    "value": 1.0
  }
]

Esito, anteprima

{
  "values": 0.5
}
Esito del controllo negativo o del tentativo · normalCdf

Scarica lo script dell’esempio.

Esito, anteprima

"GXTXT:ScriptBridge:RemoteError: NUMERIC_API_v1/normalCdf: math.numeric API v1: array operand requires kind and value"

fCdf

Accesso
registrata nel Job Python
Argomenti
f df1 df2 {options {}}
Unità
Mantiene le unità e l’interpretazione del componente responsabile senza rietichettarle.
Esito
Risultato originale completo, con i tipi number/boolean/string/vector/matrix/tensor/struct/cell restituiti da resultTypes del componente responsabile subito dopo la chiamata
Funzione
Esegue invariata l’operazione Numeric originale fCdf.
gxtxt_api_call("NUMERIC_API_v1", "fCdf", args)
Risultato registrato · fCdf

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  {
    "kind": "scalar",
    "value": 1.0
  },
  {
    "kind": "scalar",
    "value": 4.0
  },
  {
    "kind": "scalar",
    "value": 4.0
  }
]

Esito, anteprima

{
  "values": 0.49999999999999994
}
Esito del controllo negativo o del tentativo · fCdf

Scarica lo script dell’esempio.

Esito, anteprima

"GXTXT:ScriptBridge:RemoteError: NUMERIC_API_v1/fCdf: math.numeric API v1: array operand requires kind and value"

resampleIndices

Accesso
registrata nel Job Python
Argomenti
populationSize drawCount replicates seed {options {}}
Unità
Mantiene le unità e l’interpretazione del componente responsabile senza rietichettarle.
Esito
Risultato originale completo, con i tipi number/boolean/string/vector/matrix/tensor/struct/cell restituiti da resultTypes del componente responsabile subito dopo la chiamata
Funzione
Esegue invariata l’operazione Numeric originale resampleIndices.
gxtxt_api_call("NUMERIC_API_v1", "resampleIndices", args)
Risultato registrato · resampleIndices

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  8,
  4,
  3,
  8126
]

Esito, anteprima

{
  "indices": {
    "shape": [
      3,
      4
    ],
    "dtype": "float64",
    "values": [
      1.0,
      3.0,
      8.0,
      8.0,
      3.0,
      3.0,
      1.0,
      3.0,
      3.0,
      8.0,
      4.0,
      7.0
    ]
  },
  "population_size": 8.0,
  "draw_count": 4.0,
  "replicates": 3.0,
  "seed": 8126.0,
  "next_seed": 1669538450.0,
  "replace": true,
  "generator": "park_miller_16807_v1"
}

residualMetrics

Accesso
registrata nel Job Python
Argomenti
observed predicted {options {}}
Unità
Mantiene le unità e l’interpretazione del componente responsabile senza rietichettarle.
Esito
Risultato originale completo, con i tipi number/boolean/string/vector/matrix/tensor/struct/cell restituiti da resultTypes del componente responsabile subito dopo la chiamata
Funzione
Esegue invariata l’operazione Numeric originale residualMetrics.
gxtxt_api_call("NUMERIC_API_v1", "residualMetrics", args)
Risultato registrato · residualMetrics

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  {
    "shape": [
      6
    ],
    "dtype": "float64",
    "values": [
      0.0,
      1.0,
      2.0,
      3.0,
      4.0,
      5.0
    ]
  },
  {
    "shape": [
      6
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.0,
      3.0,
      4.0,
      5.0,
      6.0
    ]
  }
]

Esito, anteprima

{
  "n": 6.0,
  "sse": 6.0,
  "mse": 1.0,
  "rmse": 1.0,
  "mae": 1.0,
  "max_abs_error": 1.0,
  "r2": 0.6571428571428571,
  "response_variance": 2.9166666666666665,
  "max_relative_error": 1.0,
  "rms_relative_error": 0.5410380968307336,
  "relative_n": 5.0,
  "relative_floor": 0.0
}

weightedQuantiles

Accesso
registrata nel Job Python
Argomenti
values weights probabilities {options {}}
Unità
Mantiene le unità e l’interpretazione del componente responsabile senza rietichettarle.
Esito
Risultato originale completo, con i tipi number/boolean/string/vector/matrix/tensor/struct/cell restituiti da resultTypes del componente responsabile subito dopo la chiamata
Funzione
Esegue invariata l’operazione Numeric originale weightedQuantiles.
gxtxt_api_call("NUMERIC_API_v1", "weightedQuantiles", args)
Risultato registrato · weightedQuantiles

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  {
    "shape": [
      4
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.0,
      3.0,
      4.0
    ]
  },
  {
    "shape": [
      4
    ],
    "dtype": "float64",
    "values": [
      1.0,
      1.0,
      2.0,
      2.0
    ]
  },
  {
    "shape": [
      3
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.5,
      1.0
    ]
  }
]

Esito, anteprima

{
  "probabilities": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.5,
      1.0
    ]
  },
  "quantiles": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      3.0,
      4.0
    ]
  },
  "n_total": 4.0,
  "n_input": 4.0,
  "n_valid": 4.0,
  "n_nonfinite": 0.0,
  "n_zero_weight": 0.0,
  "n_positive_weight": 4.0,
  "n_positive": 4.0,
  "sum_weights": 6.0,
  "definition": "weighted empirical CDF inverse"
}

weightedStatistics

Accesso
registrata nel Job Python
Argomenti
values weights {options {}}
Unità
Mantiene le unità e l’interpretazione del componente responsabile senza rietichettarle.
Esito
Risultato originale completo, con i tipi number/boolean/string/vector/matrix/tensor/struct/cell restituiti da resultTypes del componente responsabile subito dopo la chiamata
Funzione
Esegue invariata l’operazione Numeric originale weightedStatistics.
gxtxt_api_call("NUMERIC_API_v1", "weightedStatistics", args)
Risultato registrato · weightedStatistics

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  {
    "shape": [
      4
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.0,
      3.0,
      4.0
    ]
  },
  {
    "shape": [
      4
    ],
    "dtype": "float64",
    "values": [
      1.0,
      1.0,
      2.0,
      2.0
    ]
  }
]

Esito, anteprima

{
  "n_total": 4.0,
  "n_input": 4.0,
  "n_valid": 4.0,
  "n_nonfinite": 0.0,
  "n_zero_weight": 0.0,
  "n_positive_weight": 4.0,
  "n_positive": 4.0,
  "sum_weights": 6.0,
  "effective_n": 3.6,
  "min": 1.0,
  "max": 4.0,
  "range": 3.0,
  "weighted_sum": 17.0,
  "mean": 2.8333333333333335,
  "median": 3.0,
  "q25": 2.0,
  "q75": 4.0,
  "iqr": 2.0
}

derivedProperties

Accesso
registrata nel Job Python
Argomenti
plan
Unità
Mantiene le unità e l’interpretazione del componente responsabile senza rietichettarle.
Esito
Risultato originale completo, con i tipi number/boolean/string/vector/matrix/tensor/struct/cell restituiti da resultTypes del componente responsabile subito dopo la chiamata
Funzione
Esegue invariata l’operazione Numeric originale derivedProperties.
gxtxt_api_call("NUMERIC_API_v1", "derivedProperties", args)
Risultato registrato · derivedProperties

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  {
    "api_id": "STATISTICAL_DERIVED_PROPERTIES_PLAN_v1",
    "api_version": 1,
    "source_model_id": "math.numeric.nonlinear",
    "coefficient_space": "original_physical",
    "parameter_ids": [
      "a",
      "b"
    ],
    "parameter_aliases": [
      "p0",
      "p1"
    ],
    "parameter_units": [
      "1",
      "1"
    ],
    "parameter_roles": [
      "free",
      "free"
    ],
    "parameter_values": {
      "shape": [
        2,
        1
      ],
      "dtype": "float64",
      "values": [
        1.9985809013354445,
        0.9866665673334654
      ]
    },
    "free_indices": {
      "shape": [
        2,
        1
      ],
      "dtype": "float64",
      "values": [
        1.0,
        2.0
      ]
    },
    "source_covariance": {
      "shape": [
        2,
        2
      ],
      "dtype": "float64",
      "values": [
        0.00027298018465493444,
        -0.0009554306462922706,
        -0.0009554306462922706,
        0.003966878715104643
      ]
    },
    "definitions": [
      {
        "id": "sum",
        "label": "sum",
        "expression": "p0+p1",
        "unit": "1",
        "constants": []
      }
    ],
    "status": "value",
    "reason": ""
  }
]

Esito, anteprima

{
  "numeric_api": "NUMERIC_API_v1",
  "operation": "derived_properties",
  "plan": {
    "api_id": "STATISTICAL_DERIVED_PROPERTIES_PLAN_v1",
    "api_version": 1.0,
    "source_model_id": "math.numeric.nonlinear",
    "coefficient_space": "original_physical",
    "parameter_ids": [
      "a",
      "b"
    ],
    "parameter_aliases": [
      "p0",
      "p1"
    ],
    "parameter_units": [
      "1",
      "1"
    ],
    "parameter_roles": [
      "free",
      "free"
    ],
    "parameter_values": {
      "shape": [
        2,
        1
      ],
      "dtype": "float64",
      "values": [
        1.9985809013354445,
        0.9866665673334654
      ]
    },
    "free_indices": {
      "shape": [
        2,
        1
      ],
      "dtype": "float64",
      "values": [
        1.0,
        2.0
      ]
    },
    "source_covariance": {
      "shape": [
        2,
        2
      ],
      "dtype": "float64",
      "values": [
        0.00027298018465493444,
        -0.0009554306462922706,
        -0.0009554306462922706,
        0.003966878715104643
      ]
    },
    "definitions": [
      {
        "id": "sum",
        "label": "sum",
        "expression": "p0+p1",
        "unit": "1",
        "constants": []
      }
    ],
    "status": "value",
    "reason": ""
  },
  "properties": [
    {
      "id": "sum",
      "value_status": "value",
      "value": 2.98524746866891,
      "reason": "",
      "derivative_valid": true,
      "source_sha256": "9711efe3d20f7754ff89a14b919ec2ffdfe00e48f68b0d5d6cfd3ab60a3b2a65",
      "binding_sha256": "495168708db4c8918f14582d2d1ee2b699807fc94d29375392226b77e46fed6a"
    }
  ],
  "propagation_indices": 1.0,
  "propagation": {
    "covariance": 0.002328997607175036,
    "standard_uncertainty": 0.04825968925692577,
    "jacobian": {
      "shape": [
        1,
        2
      ],
      "dtype": "float64",
      "values": [
        1.0,
        1.0
      ]
    },
    "input_covariance": {
      "shape": [
        2,
        2
      ],
      "dtype": "float64",
      "values": [
        0.00027298018465493444,
        -0.0009554306462922706,
        -0.0009554306462922706,
        0.003966878715104643
      ]
    },
    "method": "first_order_linear_propagation",
    "input_kind": "covariance",
    "input_count": 2.0,
    "output_count": 1.0
  },
  "derivative_method": "two_sided_automatic_differentiation",
  "fit_performed": false
}

normal_cdf

Accesso
Presente nel catalogo del servizio; verifica il selettore e se la chiamata corrisponde o viene rifiutata.
Argomenti
x,mean,scale
Forma
equal_shape_or_scalar
Unità
dimensionless_output
Esito
common_shape
Effetto
Probabilità cumulativa normale con posizione e scala esplicite
Tipi
scalar,vector,matrix
Forma dichiarata
equal_shape_or_scalar
Espansione
scalar_expansion
Opzioni
nonfinite=error,ieee
Non finiti
error,ieee
Regola unità
dimensionless_output
gxtxt_api_call("NUMERIC_API_v1", "callOperation", ["normal_cdf", operands])
Risultato registrato · call:normal_cdf

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  "normal_cdf",
  [
    {
      "kind": "array",
      "shape": [
        1,
        1
      ],
      "real": [
        0.0
      ]
    },
    {
      "kind": "array",
      "shape": [
        1,
        1
      ],
      "real": [
        0.0
      ]
    },
    {
      "kind": "array",
      "shape": [
        1,
        1
      ],
      "real": [
        1.0
      ]
    }
  ]
]

Esito, anteprima

{
  "values": 0.5
}

student_t_cdf

Accesso
Presente nel catalogo del servizio; verifica il selettore e se la chiamata corrisponde o viene rifiutata.
Argomenti
t,degrees_of_freedom
Forma
equal_shape_or_scalar
Unità
dimensionless_output
Esito
common_shape
Effetto
Probabilità cumulativa della t di Student con gradi di libertà positivi
Tipi
scalar,vector,matrix
Forma dichiarata
equal_shape_or_scalar
Espansione
scalar_expansion
Opzioni
nonfinite=error,ieee
Non finiti
error,ieee
Regola unità
dimensionless_output
gxtxt_api_call("NUMERIC_API_v1", "callOperation", ["student_t_cdf", operands])
Risultato registrato · call:student_t_cdf

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  "student_t_cdf",
  [
    {
      "kind": "array",
      "shape": [
        1,
        1
      ],
      "real": [
        0.0
      ]
    },
    {
      "kind": "array",
      "shape": [
        1,
        1
      ],
      "real": [
        9.0
      ]
    }
  ]
]

Esito, anteprima

{
  "values": 0.5
}

student_t_quantile

Accesso
Presente nel catalogo del servizio; verifica il selettore e se la chiamata corrisponde o viene rifiutata.
Argomenti
probability,degrees_of_freedom
Forma
scalar_parameters
Unità
dimensionless_output
Esito
scalar
Effetto
Probabilità cumulativa inversa della t di Student per intervalli di confidenza
Tipi
scalar
Forma dichiarata
scalar_parameters
Non finiti
error
Regola unità
dimensionless_output
gxtxt_api_call("NUMERIC_API_v1", "callOperation", ["student_t_quantile", operands])
Risultato registrato · call:student_t_quantile

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  "student_t_quantile",
  [
    {
      "kind": "array",
      "shape": [
        1,
        1
      ],
      "real": [
        0.975
      ]
    },
    {
      "kind": "array",
      "shape": [
        1,
        1
      ],
      "real": [
        9.0
      ]
    }
  ]
]

Esito, anteprima

{
  "values": 2.2621571627982036,
  "probability": 0.975,
  "degrees_of_freedom": 9.0
}

f_cdf

Accesso
Presente nel catalogo del servizio; verifica il selettore e se la chiamata corrisponde o viene rifiutata.
Argomenti
f,numerator_df,denominator_df
Forma
equal_shape_or_scalar
Unità
dimensionless_output
Esito
common_shape
Effetto
Probabilità cumulativa della F con gradi di libertà positivi
Tipi
scalar,vector,matrix
Forma dichiarata
equal_shape_or_scalar
Espansione
scalar_expansion
Opzioni
nonfinite=error,ieee
Non finiti
error,ieee
Regola unità
dimensionless_output
gxtxt_api_call("NUMERIC_API_v1", "callOperation", ["f_cdf", operands])
Risultato registrato · call:f_cdf

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  "f_cdf",
  [
    {
      "kind": "array",
      "shape": [
        1,
        1
      ],
      "real": [
        1.0
      ]
    },
    {
      "kind": "array",
      "shape": [
        1,
        1
      ],
      "real": [
        4.0
      ]
    },
    {
      "kind": "array",
      "shape": [
        1,
        1
      ],
      "real": [
        4.0
      ]
    }
  ]
]

Esito, anteprima

{
  "values": 0.49999999999999994
}

resample_indices

Accesso
Presente nel catalogo del servizio; verifica il selettore e se la chiamata corrisponde o viene rifiutata.
Argomenti
population_size,draw_count,replicates,seed
Forma
scalar_parameters
Unità
dimensionless_output
Esito
replicates_by_draw_count
Effetto
Indici di campionamento riproducibili a partire da 1, con un generatore Park–Miller isolato.
Tipi
scalar
Forma dichiarata
scalar_parameters
Opzioni
replace=true,false
Non finiti
error
Regola unità
dimensionless_output
gxtxt_api_call("NUMERIC_API_v1", "callOperation", ["resample_indices", operands])
Risultato registrato · call:resample_indices

Scarica lo script dell’esempio.

Operandi del caso, anteprima

[
  "resample_indices",
  [
    {
      "kind": "array",
      "shape": [
        1,
        1
      ],
      "real": [
        8
      ]
    },
    {
      "kind": "array",
      "shape": [
        1,
        1
      ],
      "real": [
        4
      ]
    },
    {
      "kind": "array",
      "shape": [
        1,
        1
      ],
      "real": [
        2
      ]
    },
    {
      "kind": "array",
      "shape": [
        1,
        1
      ],
      "real": [
        193
      ]
    }
  ]
]

Esito, anteprima

{
  "indices": {
    "shape": [
      2,
      4
    ],
    "dtype": "float64",
    "values": [
      1.0,
      7.0,
      4.0,
      3.0,
      7.0,
      1.0,
      5.0,
      1.0
    ]
  },
  "population_size": 8.0,
  "draw_count": 4.0,
  "replicates": 2.0,
  "seed": 193.0,
  "next_seed": 44861697.0,
  "replace": true,
  "generator": "park_miller_16807_v1"
}