

 Amazon Forecast 不再提供給新客戶。Amazon Forecast 的現有客戶可以繼續正常使用服務。[進一步了解」](https://aws.amazon.com/blogs/machine-learning/transition-your-amazon-forecast-usage-to-amazon-sagemaker-canvas/)

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# Statistics
<a name="API_Statistics"></a>

使用 [CreateDatasetImportJob](https://docs.aws.amazon.com/forecast/latest/dg/API_CreateDatasetImportJob.html) 操作，提供匯入至 Amazon Forecast 資料集的每個資料欄位的統計資料。

## 目錄
<a name="API_Statistics_Contents"></a>

 ** Avg **   <a name="forecast-Type-Statistics-Avg"></a>
對於數值欄位，欄位的平均值。  
類型：Double  
必要：否

 ** Count **   <a name="forecast-Type-Statistics-Count"></a>
欄位中的值數目。如果回應值為 -1，請參閱 `CountLong`。  
類型：整數  
必要：否

 ** CountDistinct **   <a name="forecast-Type-Statistics-CountDistinct"></a>
欄位中不同值的數量。如果回應值為 -1，請參閱 `CountDistinctLong`。  
類型：整數  
必要：否

 ** CountDistinctLong **   <a name="forecast-Type-Statistics-CountDistinctLong"></a>
欄位中不同值的數量。`CountDistinct`如果值大於 2，147，483，647，`CountDistinctLong`則會使用 而非 。  
類型：Long  
必要：否

 ** CountLong **   <a name="forecast-Type-Statistics-CountLong"></a>
欄位的值數目。`Count`如果值大於 2，147，483，647，`CountLong`則會使用 而非 。  
類型：Long  
必要：否

 ** CountNan **   <a name="forecast-Type-Statistics-CountNan"></a>
欄位中 NAN （非數字） 值的數目。如果回應值為 -1，請參閱 `CountNanLong`。  
類型：整數  
必要：否

 ** CountNanLong **   <a name="forecast-Type-Statistics-CountNanLong"></a>
欄位中的 NAN （非數字） 值數目。`CountNan`如果值大於 2，147，483，647，`CountNanLong`則會使用 而非 。  
類型：Long  
必要：否

 ** CountNull **   <a name="forecast-Type-Statistics-CountNull"></a>
欄位中的 null 值數目。如果回應值為 -1，請參閱 `CountNullLong`。  
類型：整數  
必要：否

 ** CountNullLong **   <a name="forecast-Type-Statistics-CountNullLong"></a>
欄位中的 null 值數目。`CountNull`如果值大於 2，147，483，647，`CountNullLong`則會使用 而非 。  
類型：Long  
必要：否

 ** Max **   <a name="forecast-Type-Statistics-Max"></a>
對於數值欄位，欄位的最大值。  
類型：字串  
長度限制：長度上限為 256。  
模式：`^[a-zA-Z0-9\_]+$`  
必要：否

 ** Min **   <a name="forecast-Type-Statistics-Min"></a>
對於數值欄位，請在 欄位中設定最小值。  
類型：字串  
長度限制：長度上限為 256。  
模式：`^[a-zA-Z0-9\_]+$`  
必要：否

 ** Stddev **   <a name="forecast-Type-Statistics-Stddev"></a>
對於數值欄位，則為標準差。  
類型：Double  
必要：否

## 另請參閱
<a name="API_Statistics_SeeAlso"></a>

如需在其中一種語言特定 AWS SDKs中使用此 API 的詳細資訊，請參閱下列內容：
+  [AWS 適用於 C\$1\$1 的 SDK](https://docs.aws.amazon.com/goto/SdkForCpp/forecast-2018-06-26/Statistics) 
+  [AWS 適用於 Java V2 的 SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/forecast-2018-06-26/Statistics) 
+  [AWS 適用於 Ruby V3 的 SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/forecast-2018-06-26/Statistics) 