ヒストグラムツールの使い方

How to Use the Histogram Tool

数値データから、ヒストグラム(度数分布のグラフ)・度数分布表・基本統計量を作成し、結果を Excel/CSV に保存して読み込み直すまでの操作方法をまとめています。

This page explains how to create a histogram (a graph of the frequency distribution), a frequency table, and summary statistics from numeric data, and how to save the results to Excel/CSV and load them again.

① ヒストグラムとは ② 入力方法 ③ 設定項目 ④ 結果の読み方 ⑤ 計算方法 ⑥ Excel/CSVの保存と読み込み ⑦ 上限と注意

① What Is a Histogram? ② Entering Data ③ Settings ④ Reading the Results ⑤ How It Is Calculated ⑥ Excel/CSV Save and Import ⑦ Limits and Notes

① ヒストグラムとは

① What Is a Histogram?

データの範囲をいくつかの区間(階級)に区切り、各階級に入るデータの数(度数)を棒で表したグラフです。データが「どのあたりに集まっているか」「左右対称か」「ばらつきはどのくらいか」といった、分布の形を見るために使います。

A histogram divides the range of the data into intervals (classes) and shows the number of values in each class (the frequency) as a bar. It is used to see the shape of a distribution: where the data cluster, whether it is symmetric, and how widely it spreads.

Cpkツールとの違い:このツールは規格値(上限・下限)を使いません。データそのものの分布の形を見るためのものです。規格値を前提にした工程能力(Cp・Cpk など)を評価したいときは、ポータルの「Cpk計算ツール」を使ってください。

Difference from the Cpk tool: this tool does not use specification limits. It is for looking at the shape of the data itself. To evaluate process capability against specification limits (Cp, Cpk, etc.), use the "Process Capability (Cpk) Calculator" on the portal.

② 入力方法

② Entering Data

「入力方法」で、次の2つから選びます(既定は方式A)。どちらも、1つのグラフに1グループ、複数グループのときはグループごとにグラフを縦に並べます(最大5グループ)。

Choose one of two input methods under "Input Method" (default: Method A). Each group gets its own graph, stacked vertically when there are several groups (up to 5 groups).

方式A:グループごとに入力

Method A: Enter each group

方式B:Excelの表を貼り付け

Method B: Paste an Excel table

号機A	号機B
10	12
11	13
12	15

(タブ区切りの例。Excelからコピーすると、この形で貼り付きます)

(A tab-separated example. This is what you get when you copy from Excel.)

方式Bで入力したデータも、Excel/CSV に保存して読み込み直すと、方式Aの欄に復元されます(詳しくは⑥)。

Data entered with Method B is also restored into the Method A fields when you save it to Excel/CSV and import it again (see ⑥).

共通の注意

Common notes

③ 設定項目

③ Settings

④ 結果の読み方

④ Reading the Results

⑤ 計算方法

⑤ How It Is Calculated

例:データ A(16件)

Example: Data A (16 values)

10, 12, 14, 15, 15, 17, 18, 20, 20, 22, 23, 25, 25, 27, 30, 30

「自動」のとき:階級数 = 1 + log₂16 = 5、階級幅 = (30 − 10) ÷ 5 = 4 なので、境界は 10, 14, 18, 22, 26, 30 です。

With "Automatic": number of classes = 1 + log₂16 = 5 and class width = (30 − 10) ÷ 5 = 4, so the boundaries are 10, 14, 18, 22, 26, 30.

階級 / Class 度数 / Frequency 相対度数 / Relative 累積度数 / Cumulative 累積相対度数 / Cum. relative
[10, 14)20.125020.1250
[14, 18)40.250060.3750
[18, 22)30.187590.5625
[22, 26)40.2500130.8125
[26, 30]30.1875161.0000
合計 / Total161.0000

⑥ Excel/CSVの保存と読み込み

⑥ Saving and Importing Excel/CSV

保存:計算後の「結果を保存」から、グラフ画像(PNG)、Excel、CSV を保存できます。タイトルを入力している場合、グラフ画像(PNG)・Excel・CSVのファイル名はそのタイトル名になります(ファイル名に使えない記号は「_」に置き換わります)。空欄、または既定タイトル("Histogram")と同じ場合は、Excel・CSVは "histogram_result"、PNGは "histogram_chart" になります。

Saving: after calculating, use "Save Results" to save the chart image (PNG), Excel, or CSV. If a chart title is entered, it is used as the file name for the chart image (PNG), Excel, and CSV. (Characters not allowed in file names are replaced with "_".) If the title is blank or the same as the default title ("Histogram"), the files are named "histogram_result" (Excel/CSV) and "histogram_chart" (PNG).

読み込み:ページ上部の「Excel / CSVから読み込む」で、このツールが出力したファイルを選ぶと、設定・グループ名・データが復元され、結果が表示されます。

Importing: choose a file exported by this tool under "Import from Excel or CSV" at the top of the page, and the settings, group names, and data are restored and the results are shown.

⑦ 上限と注意:内容を変更したら、必ず「計算する」を押し直してください

⑦ Limits and Notes: After Any Change, Click "Calculate" Again