File:MR chart for a paired individuals and MR chart.svg
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
Size of this PNG preview of this SVG file: 600 × 599 pixels. Other resolutions: 240 × 240 pixels | 481 × 480 pixels | 769 × 768 pixels | 1,026 × 1,024 pixels | 2,051 × 2,048 pixels | 630 × 629 pixels.
Original file (SVG file, nominally 630 × 629 pixels, file size: 38 KB)
File information
Structured data
Captions
Summary
[edit]DescriptionMR chart for a paired individuals and MR chart.svg |
English: Example MR chart for a process that experienced a 1.5σ drift starting at midnight. |
Date | |
Source | Own work |
Author | DanielPenfield |
Creation technique
[edit]- Simulate process observations using en:perl, output to file.
- Read file into R, use qcc package to render control chart.
- Save to PDF.
- Import into en:Inkscape, save to SVG.
#!/usr/bin/perl -w
use strict;
use Math::Random;
my %shiftSchedule = (
"first" => { "start" => 6.00, "end" => 14.00 },
"second" => { "start" => 14.00, "end" => 22.00 },
"third" => { "start" => 22.00, "end" => 6.00 }
);
my $shift = "third"; # shift to monitor
my $inspectionRate = 1 / 2; # every 1/2 hour
my $drift = 1.5; # drift to simulate
my $m = 25; # samples in control chart setup
my $target = 100.0; # quality characteristic target
my $i;
my $observation;
my $setupM = $m;
print "unit observation phase\r\n";
for ($i = 1; $i <= $m; $i++) {
$observation = $target + random_normal();
printf "%4d %7.3f setup\r\n", $i, $observation;
}
$m = $shiftSchedule{$shift}{"end"} - $shiftSchedule{$shift}{"start"};
if ($m < 0) {
$m += 24;
}
$m /= $inspectionRate;
for ($i = 1; $i <= $m; $i++) {
$observation = $target + random_normal();
if ($i >= (0.25 * $m)) {
if ($i < (0.75 * $m)) {
$observation += ($drift / (0.5 * $m)) * ($i - (0.25 * $m));
} else {
$observation += $drift;
}
}
printf "%4d %7.3f monitoring\r\n", 2 * $setupM + $i, $observation;
}
Licensing
[edit]I, the copyright holder of this work, hereby publish it under the following licenses:
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.http://www.gnu.org/copyleft/fdl.htmlGFDLGNU Free Documentation Licensetruetrue |
You may select the license of your choice.
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 21:47, 16 January 2010 | 630 × 629 (38 KB) | DanielPenfield (talk | contribs) | {{Information |Description={{en|1=Example MR chart for a process that experienced a 1.5σ drift starting at midnight.}} |Source={{own}} |Author=DanielPenfield |Date=2010-01-16 |Permission= |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.
File usage on other wikis
The following other wikis use this file:
- Usage on en.wikipedia.org
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
Short title | MR control chart |
---|