X-MR管理図ツールの使い方

How to Use the X-MR Tool

個別値(1点ずつの測定値)からI管理図・MR管理図(移動範囲管理図)を作成し、結果の保存・再読み込みまでの操作方法をまとめています。

This page explains how to build an I chart (individual values) and an MR chart (moving range) from individual measurements, and how to save or reload your results.

① 個別値データ入力 ② ラベルを付ける ③ グラフタイトル ④ 「計算する」を押す ⑤ 計算方法 ⑥ 管理限界と規格限界 ⑦ 変更したら再計算 ⑧ 固定管理限界 ⑨ グラフの見た目調整 ⑩ 結果を保存 ⑪ Excel/CSV読み込み ⑫ クリアボタン ⑬ データの取り扱い

① Enter Values ② Add Labels ③ Chart Title ④ Click Calculate ⑤ How It Is Calculated ⑥ Control vs. Spec Limits ⑦ Recalculate After Edits ⑧ Fixed Control Limits ⑨ Chart Appearance ⑩ Save Results ⑪ Import Excel/CSV ⑫ Clear Buttons ⑬ Data Handling

① 個別値データを入力する

① Enter Individual Values

「個別値データ」欄に、1行=1つの値として時系列順に入力します。カンマ・スペース(全角を含む)・タブ区切りで1行に複数の値を並べても構いません(入力順に並べて扱います)。全角の数字・小数点・マイナス(12.5、−5など)も数値として読み取れます。最低2点、安定した管理限界を求めるには20点以上を推奨します。データは5,000点まで入力できます。

Enter one value per line in the "Individual Values" field, in time order. You may also put several values on one line separated by commas, spaces (including full-width spaces), or tabs (they are read in the order entered). Full-width digits, decimal points, and minus signs (such as 12.5 and −5) are also read as numbers. At least 2 values are required; 20 or more are recommended for stable control limits. You can enter up to 5,000 values.

「データのみ」では、桁区切りのカンマ(1,234 など)は値の区切りとして読まれ、1 と 234 の2つの値になります(エラーにはなりません)。Excelで桁区切りの表示形式にしているセルをコピーすると、カンマも一緒に貼り付けられるので、表示形式を外してからコピーしてください。「1列目がラベル」では、タブだけが区切りなので、桁区切りのカンマを含む値は数値でない値として扱われ、エラーになります(最初の行は見出しとして読み飛ばされることがあります)。

In "Data only", a thousands separator (such as in 1,234) is read as a separator between values, so it becomes two values, 1 and 234 (no error is shown). If you copy cells that use a thousands-separator number format in Excel, the commas are pasted too, so remove that format before copying. In "First column is the label", only the tab is a separator, so a value containing a thousands separator is treated as a non-numeric value and causes an error (the first line may be skipped as a header).

Excelから直接コピー&ペースト可能:Excel上で測定値の1列を選択してコピーし、この欄にそのまま貼り付けられます。

Paste directly from Excel: You can copy a single column of measurements from Excel and paste it directly into this field.

1列目をラベルにして貼り付ける:「入力方式」で「1列目がラベル」を選ぶと、Excelの記録表(A列に日付、B列に測定値)の範囲をコピーして「個別値データ」欄に貼り付けるだけで、1列目がラベル、2列目以降が値になります。別の「ラベル」欄は使いません。

Paste with the first column as the label: Choose "First column is the label" under "Input Mode", copy a record table from Excel (dates in column A, measurements in column B), and paste it into the "Individual Values" field. The first column becomes the label and the remaining columns become the values. The separate "Labels" field is not used.

② ラベルを付ける(任意)

② Add Labels (optional)

日付やロット名などを各点に表示したい場合は、「ラベル(日付・ロット名など)を使う」にチェックを入れると、専用の入力欄が表示されます。「ラベル」欄と「個別値データ」欄は行番号で対応します(ラベル欄の1行目は、データ欄の1行目の値に付きます)。データ欄の空行も1行として数えるので、Excelで同じ行の範囲をそのまま貼り付けられます(データ欄が空行の位置のラベルは使われません)。1行に複数の値を並べたときは、その行のすべての値に同じラベルが付きます。ラベルを付けない行は空行のままにしてください。グラフのX軸・結果テーブル・Excel/CSV出力にラベルが反映されます。

To label each point with a date, lot name, etc., check "Use labels" to reveal a dedicated input field. The "Labels" field and the "Individual Values" field are matched by line number (line 1 of the Labels field goes with the value(s) on line 1 of the Individual Values field). Blank lines in the data field still count as lines, so you can paste ranges from the same rows in Excel (a label on a line where the data field is blank is not used). When a line has several values, all of them get that line's label. Leave a line blank for points without a label. Labels appear on the chart's X-axis, the results table, and Excel/CSV exports.

Excelで日付列を丸ごとコピーして「ラベル」欄に、測定値の列を「個別値データ」欄に、それぞれ別に貼り付けると簡単です。

Tip: copy the date column from Excel into the "Labels" field, and the measurement column into the "Individual Values" field, as two separate pastes.

Excelの記録表をそのまま貼り付けたいときは、①の「1列目をラベルにして貼り付ける」を使います。

To paste an Excel record table as it is, use "Paste with the first column as the label" in ①.

③ グラフタイトルを入力する

③ Enter a Chart Title

グラフタイトルは任意です。空欄の場合は既定名 "X-MR Control Chart" が使われます。グラフタイトルは40文字までです。

Chart Title is optional — it defaults to "X-MR Control Chart" if left blank. The chart title is up to 40 characters.

④ 「計算する」を押す

④ Click "Calculate"

I管理図(個別値の推移)とMR管理図(隣り合う値の差の絶対値=移動範囲の推移)が1枚のグラフとして表示されます。あわせて、平均・移動範囲の平均(MR-bar)・管理限界・データごとの詳細(値・MR)が一覧表示されます。管理限界を外れた点は赤色でハイライトされます。画面では、データごとの詳細の表(「データ詳細」)は保存欄の下にあり、31件以上のときは閉じた状態で表示されます(見出しをクリックすると開きます)。

An I chart (individual values over time) and an MR chart (moving range = absolute difference between consecutive values) are displayed together. The mean, average moving range (MR-bar), control limits, and a per-point breakdown (value, MR) are also shown. Points outside the control limits are highlighted in red. On the page, the per-point table ("Details") is below the save section; with 31 or more points it starts collapsed (click its heading to open it).

⑤ 計算方法(Minitab準拠)

⑤ How the Calculation Works (Minitab-compatible)

詳しい考え方・計算方法は、解説記事「X-MR管理図(I-MR管理図)とは?(新しいタブで開きます)」で説明しています。

For a detailed explanation of the concepts and calculations, see I-MR Chart (X-MR Chart) (opens in a new tab).

⑥ 管理限界と規格限界(公差)の違い

⑥ Control Limits vs. Specification Limits (Tolerance)

グラフに出てくる UCL・LCL は「管理限界」です。似た言葉に「規格限界(公差)」がありますが、まったく別のものです。

The UCL and LCL lines on the chart are "control limits". There is a similar-sounding term, "specification limits" (tolerance), but they are a completely different thing.

この2つは独立していて、混同しないでください。たとえば、工程が安定していても(管理限界の内側に収まっていても)規格から外れている場合があります。逆に、すべて規格の内側でも、工程が不安定(管理外れが出ている)な場合もあります。

The two are independent, so please do not mix them up. For example, a process can be stable (inside the control limits) and still be outside the specification. Conversely, every value can be inside the specification while the process is unstable (points are out of control).

このツールに規格限界を入力する欄がないのは、管理図が「安定性を見るためのもの」だからです。規格との比較(Cp・Cpk・Pp・Ppk などの工程能力の評価)は、統計解析ツール ポータルの「工程能力(Cpk)計算ツール」で行ってください。

This tool has no field for specification limits because a control chart is for checking stability. To compare against a specification (process capability such as Cp, Cpk, Pp, and Ppk), use the "Process Capability (Cpk) Calculator" on the Statistical Analysis Tools Portal.

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

⑦ After Any Change, Click "Calculate" Again

このツールは自動更新されません。以下のいずれかを変更した場合、下の「計算する」を押すまで画面の結果・グラフは更新されません。

This tool does not update automatically. If you change any of the following, the results and chart on screen will not update until you press "Calculate" again.

つまり、測定データを直しただけの場合も、グラフの設定だけ変えた場合も、必ず「計算する」を押し直す必要があります。

In other words, whether you only edited the measurement data or only changed a chart setting, you must press "Calculate" again either way.

⑧ 固定管理限界(過去の管理限界を継続使用したい場合)

⑧ Fixed Control Limits (Reusing Established Limits)

通常は入力したデータから中心線(平均・MR-bar)を自動計算しますが、すでに過去の安定した期間から管理限界を確立している場合は、「固定 平均」「固定 MR-bar」の両方に値を入力してください。その値を中心線として使い、管理限界も固定した平均とMR-barから計算されます(I管理図:平均 ± 2.66 × MR-bar、MR管理図:UCL = 3.267 × MR-bar)。片方だけの入力はエラーになります。固定 MR-bar は0より大きい数値にしてください(0以下はエラーになります)。空欄のままなら、今まで通り入力データから自動計算されます。

By default, the center lines (mean, MR-bar) are calculated automatically from the entered data. If you have already established control limits from a previous stable period, enter values in both "Fixed Mean" and "Fixed MR-bar" — these are used as the center lines, and the control limits are calculated from them (I chart: mean ± 2.66 × MR-bar; MR chart: UCL = 3.267 × MR-bar). Entering only one of the two fields will result in an error. Fixed MR-bar must be a number greater than 0 (0 or less causes an error). Leave both blank to keep the default automatic calculation.

⑨ グラフの見た目を調整する

⑨ Adjusting the Chart's Appearance

グラフの縦横比:標準・横長(ラベルが多い場合など)から選べます(既定は「標準」)。ラベルがX軸で見切れたり重なったりする場合は「横長」を選ぶと改善します。画像は常に高画質で生成されます。

Chart aspect ratio: Choose Standard or Wide (useful when labels overlap or get cut off) (default: Standard). Images are always generated at high quality.

ラベルの間引き数:X軸に何件おきに表示するかを「自動」「2〜5件ごと」「全部表示(最大)」から選べます(既定は「自動」)。指定した間引き数ではラベルが収まらない場合は自動的に調整され、グラフ内と画面上の両方にその旨の注記が表示されます。ラベルを入力していない場合も、連番(1, 2, 3...)にこの設定が適用されます。「全部表示(最大)」を選ぶと、件数が多い場合にラベル同士が重なって見づらくなることがあります(画面上に注意書きが表示されますが、グラフ画像・Excel/CSV出力には含まれません)。

Label interval: Choose how many labels to show on the X-axis: Auto, every 2–5, or Show all (max) (default: Auto). If the requested interval doesn't fit, it is automatically adjusted, with a note shown both on the chart and on the page. Even without custom labels, this setting also applies to the sequence numbers (1, 2, 3...). With "Show all (max)", labels may overlap and become hard to read when there are many points (a notice appears on the page, but it is not included in the chart image or Excel/CSV export).

I管理図/MR管理図のラベル表示:上下それぞれのグラフでラベルを表示するかどうかを個別に切り替えられます(既定は両方オン)。

I chart / MR chart label display: You can independently toggle whether labels are shown on the top and bottom charts (both are on by default).

⑩ 結果を保存する

⑩ Save the Results

⑪ Excel/CSVから読み込む(インポート)

⑪ Import from Excel or CSV

本ツールから出力したExcel(.xlsx)またはCSV(.csv)ファイルをページ上部の「Excel / CSVから読み込む」から選択すると、個別値データ・ラベル・タイトル・(使用していれば)固定管理限界の値がそのまま復元されます(アップロードは最大10MBまで)。グラフの縦横比・ラベルの間引き数・I管理図/MR管理図のラベル表示はファイルに保存されないため、読み込み後は既定値(標準・自動・両方オン)に戻ります。データが5,000点を超えるファイルは読み込めません。

Select an .xlsx or .csv file previously exported from this tool under "Import from Excel or CSV" at the top of the page to restore its data, labels, title, and (if used) fixed control limit values (max upload size: 10MB). The chart aspect ratio, label interval, and I chart / MR chart label display are not saved in the file, so they return to their defaults (Standard, Auto, both on) after importing. Files with more than 5,000 values cannot be imported.

出力したファイルを書き換えて読み込む:出力したファイルの「Input Data」シート(CSVでは、先頭から「全体の統計量 / Overall Statistics」の行の手前まで)を書き換えてから読み込むと、書き換えた内容で計算し直します。例えば、データの追加・削除、値・ラベル・グラフタイトル・固定 平均/固定 MR-barの変更ができます。

Editing an exported file before importing: you can edit the "Input Data" sheet of an exported file (in CSV, everything from the top down to just above the "全体の統計量 / Overall Statistics" row) and then import it; the tool recalculates from the edited content. For example, you can add or delete values, or change values, labels, the chart title, or Fixed Mean / Fixed MR-bar.

⑫ クリアボタン

⑫ Clear Buttons

⑬ データの取り扱いについて

⑬ Data Handling

入力・アップロードしたデータは、計算とグラフ作成のためにだけ処理され、サーバーに保存されません(通信はCloudflareを経由します。詳しくはプライバシーポリシーをご覧ください)。機密情報を含むデータは入力せず、品名・顧客名などは除くか記号に置き換えてご利用ください。

Data you enter or upload is processed only to perform calculations and create charts, and is not stored on the server (traffic passes through Cloudflare; see the Privacy Policy for details). Please do not enter confidential information; remove product or customer names or replace them with generic labels.