spc

irChart

Description

Produces individual measurements and moving range charts.

spc.irChart chartsTable={caslib="string", compress=TRUE | FALSE, indexVars={"variable-name-1" , "variable-name-2", ...}, label="string", lifetime=64-bit-integer, maxMemSize=64-bit-integer, memoryFormat="DVR" | "INHERIT" | "STANDARD", name="table-name", promote=TRUE | FALSE, replace=TRUE | FALSE, replication=integer, tableRedistUpPolicy="DEFER" | "NOREDIST" | "REBALANCE", threadBlockSize=64-bit-integer, timeStamp="string", where={"string-1" , "string-2", ...}}, ciAlpha=double, ciIndices=TRUE | FALSE, ciType="LOWER" | "TWOSIDED" | "UPPER", display={caseSensitive=TRUE | FALSE, exclude=TRUE | FALSE, excludeAll=TRUE | FALSE, keyIsPath=TRUE | FALSE, names={"string-1" , "string-2", ...}, pathType="LABEL" | "NAME", traceNames=TRUE | FALSE}, exChart=TRUE | FALSE, groupByLimit=64-bit-integer, limitsTable={caslib="string", computedOnDemand=TRUE | FALSE, computedVars={{format="string", formattedLength=integer, label="string", name="variable-name", nfd=integer, nfl=integer}, ...}, computedVarsProgram="string", dataSourceOptions={key-1=any-list-or-data-type-1 , key-2=any-list-or-data-type-2, ...}, groupBy={{format="string", formattedLength=integer, label="string", name="variable-name", nfd=integer, nfl=integer}, ...}, groupByMode="NOSORT" | "REDISTRIBUTE", importOptions={fileType="ANY" | "AUDIO" | "AUTO" | "BASESAS" | "CSV" | "DELIMITED" | "DOCUMENT" | "DTA" | "ESP" | "EXCEL" | "FMT" | "HDAT" | "IMAGE" | "JMP" | "LASR" | "PARQUET" | "SOUND" | "SPSS" | "VIDEO" | "XLS", fileType-specific-parameters}, name="table-name", orderBy={{format="string", formattedLength=integer, label="string", name="variable-name", nfd=integer, nfl=integer}, ...}, singlePass=TRUE | FALSE, vars={{format="string", formattedLength=integer, label="string", name="variable-name", nfd=integer, nfl=integer}, ...}, where="where-expression", whereTable={casLib="string", dataSourceOptions={adls_noreq-parameters | bigquery-parameters | cas_noreq-parameters | clouddex-parameters | db2-parameters | dnfs-parameters | esp-parameters | fedsvr-parameters | gcs_noreq-parameters | hadoop-parameters | hana-parameters | impala-parameters | informix-parameters | jdbc-parameters | mongodb-parameters | mysql-parameters | odbc-parameters | oracle-parameters | path-parameters | postgres-parameters | redshift-parameters | s3-parameters | sapiq-parameters | sforce-parameters | singlestore_standard-parameters | snowflake-parameters | spark-parameters | spde-parameters | sqlserver-parameters | ss_noreq-parameters | teradata-parameters | vertica-parameters | yellowbrick-parameters}, importOptions={fileType="ANY" | "AUDIO" | "AUTO" | "BASESAS" | "CSV" | "DELIMITED" | "DOCUMENT" | "DTA" | "ESP" | "EXCEL" | "FMT" | "HDAT" | "IMAGE" | "JMP" | "LASR" | "PARQUET" | "SOUND" | "SPSS" | "VIDEO" | "XLS", fileType-specific-parameters}, name="table-name", vars={{format="string", formattedLength=integer, label="string", name="variable-name", nfd=integer, nfl=integer}, ...}, where="where-expression"}}, nMvgRange=integer, no3SigmaCheck=TRUE | FALSE, outLimitsTable={caslib="string", compress=TRUE | FALSE, indexVars={"variable-name-1" , "variable-name-2", ...}, label="string", lifetime=64-bit-integer, maxMemSize=64-bit-integer, memoryFormat="DVR" | "INHERIT" | "STANDARD", name="table-name", promote=TRUE | FALSE, replace=TRUE | FALSE, replication=integer, tableRedistUpPolicy="DEFER" | "NOREDIST" | "REBALANCE", threadBlockSize=64-bit-integer, timeStamp="string", where={"string-1" , "string-2", ...}}, outputTables={groupByVarsRaw=TRUE | FALSE, includeAll=TRUE | FALSE, names={"string-1" , "string-2", ...} | {key-1={casouttable-1}, key-2={casouttable-2}, ...}}, repeated=TRUE | FALSE, replace=TRUE | FALSE}, primaryTests={test1=TRUE | FALSE, test2=TRUE | FALSE, test3=TRUE | FALSE, test4=TRUE | FALSE, test5=TRUE | FALSE, test6=TRUE | FALSE, test7=TRUE | FALSE, test8=TRUE | FALSE}, processName="variable-name", processValue="variable-name", sigmas=double, sMethod="MAD" | "MMR" | "MVGRANGE", specsTable={caslib="string", computedOnDemand=TRUE | FALSE, computedVars={{format="string", formattedLength=integer, label="string", name="variable-name", nfd=integer, nfl=integer}, ...}, computedVarsProgram="string", dataSourceOptions={key-1=any-list-or-data-type-1 , key-2=any-list-or-data-type-2, ...}, groupBy={{format="string", formattedLength=integer, label="string", name="variable-name", nfd=integer, nfl=integer}, ...}, groupByMode="NOSORT" | "REDISTRIBUTE", importOptions={fileType="ANY" | "AUDIO" | "AUTO" | "BASESAS" | "CSV" | "DELIMITED" | "DOCUMENT" | "DTA" | "ESP" | "EXCEL" | "FMT" | "HDAT" | "IMAGE" | "JMP" | "LASR" | "PARQUET" | "SOUND" | "SPSS" | "VIDEO" | "XLS", fileType-specific-parameters}, name="table-name", orderBy={{format="string", formattedLength=integer, label="string", name="variable-name", nfd=integer, nfl=integer}, ...}, singlePass=TRUE | FALSE, vars={{format="string", formattedLength=integer, label="string", name="variable-name", nfd=integer, nfl=integer}, ...}, where="where-expression", whereTable={casLib="string", dataSourceOptions={adls_noreq-parameters | bigquery-parameters | cas_noreq-parameters | clouddex-parameters | db2-parameters | dnfs-parameters | esp-parameters | fedsvr-parameters | gcs_noreq-parameters | hadoop-parameters | hana-parameters | impala-parameters | informix-parameters | jdbc-parameters | mongodb-parameters | mysql-parameters | odbc-parameters | oracle-parameters | path-parameters | postgres-parameters | redshift-parameters | s3-parameters | sapiq-parameters | sforce-parameters | singlestore_standard-parameters | snowflake-parameters | spark-parameters | spde-parameters | sqlserver-parameters | ss_noreq-parameters | teradata-parameters | vertica-parameters | yellowbrick-parameters}, importOptions={fileType="ANY" | "AUDIO" | "AUTO" | "BASESAS" | "CSV" | "DELIMITED" | "DOCUMENT" | "DTA" | "ESP" | "EXCEL" | "FMT" | "HDAT" | "IMAGE" | "JMP" | "LASR" | "PARQUET" | "SOUND" | "SPSS" | "VIDEO" | "XLS", fileType-specific-parameters}, name="table-name", vars={{format="string", formattedLength=integer, label="string", name="variable-name", nfd=integer, nfl=integer}, ...}, where="where-expression"}}, subgroupName="variable-name", subgroupValue="variable-name", table={caslib="string", computedOnDemand=TRUE | FALSE, computedVars={{format="string", formattedLength=integer, label="string", name="variable-name", nfd=integer, nfl=integer}, ...}, computedVarsProgram="string", dataSourceOptions={key-1=any-list-or-data-type-1 , key-2=any-list-or-data-type-2, ...}, groupBy={{format="string", formattedLength=integer, label="string", name="variable-name", nfd=integer, nfl=integer}, ...}, groupByMode="NOSORT" | "REDISTRIBUTE", importOptions={fileType="ANY" | "AUDIO" | "AUTO" | "BASESAS" | "CSV" | "DELIMITED" | "DOCUMENT" | "DTA" | "ESP" | "EXCEL" | "FMT" | "HDAT" | "IMAGE" | "JMP" | "LASR" | "PARQUET" | "SOUND" | "SPSS" | "VIDEO" | "XLS", fileType-specific-parameters}, name="table-name", orderBy={{format="string", formattedLength=integer, label="string", name="variable-name", nfd=integer, nfl=integer}, ...}, singlePass=TRUE | FALSE, vars={{format="string", formattedLength=integer, label="string", name="variable-name", nfd=integer, nfl=integer}, ...}, where="where-expression", whereTable={casLib="string", dataSourceOptions={adls_noreq-parameters | bigquery-parameters | cas_noreq-parameters | clouddex-parameters | db2-parameters | dnfs-parameters | esp-parameters | fedsvr-parameters | gcs_noreq-parameters | hadoop-parameters | hana-parameters | impala-parameters | informix-parameters | jdbc-parameters | mongodb-parameters | mysql-parameters | odbc-parameters | oracle-parameters | path-parameters | postgres-parameters | redshift-parameters | s3-parameters | sapiq-parameters | sforce-parameters | singlestore_standard-parameters | snowflake-parameters | spark-parameters | spde-parameters | sqlserver-parameters | ss_noreq-parameters | teradata-parameters | vertica-parameters | yellowbrick-parameters}, importOptions={fileType="ANY" | "AUDIO" | "AUTO" | "BASESAS" | "CSV" | "DELIMITED" | "DOCUMENT" | "DTA" | "ESP" | "EXCEL" | "FMT" | "HDAT" | "IMAGE" | "JMP" | "LASR" | "PARQUET" | "SOUND" | "SPSS" | "VIDEO" | "XLS", fileType-specific-parameters}, name="table-name", vars={{format="string", formattedLength=integer, label="string", name="variable-name", nfd=integer, nfl=integer}, ...}, where="where-expression"}}, test2Run=integer, test3Run=integer, testNStd=TRUE | FALSE, testOverlap=TRUE | FALSE;
Settings
ParameterDescription
chartsTable specifies the charts summary output data table. For more information about specifying the chartsTable parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).
ciAlpha specifies the confidence level that is used to compute capability index confidence limits. Default: 0.05, Minimum value (exclusive): 0
ciIndices when set to True, computes capability index confidence limits that are based on subgroup summary data. Default: FALSE
ciType specifies the type of confidence limits that are computed for capability indices: lower, upper, or two-sided. Default: TWOSIDED. Values: LOWER, TWOSIDED, UPPER
display specifies a list of results tables to send to the client for display. For more information about specifying the display parameter, see the common displayTables parameter (Appendix A: Common Parameters).
exChart when set to True, includes a control chart in the results only when exceptions occur. Default: FALSE
groupByLimit suppresses the analysis if the number of groups exceeds the specified value. Minimum value: 1
limitsTable specifies the control limits data table. For more information about specifying the limitsTable parameter, see the common castable (Form 1) parameter (Appendix A: Common Parameters).
nMvgRange specifies the number of consecutive subgroups that are used to calculate the moving range. Default: 2, Range: 2–25
no3SigmaCheck when set to True, enables tests for special causes when the control limits are not three sigma limits. Default: FALSE
outLimitsTable specifies the output control limits data table. For more information about specifying the outLimitsTable parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).
outputTables lists the names of results tables to save as CAS tables on the server. For more information about specifying the outputTables parameter, see the common outputTables parameter (Appendix A: Common Parameters). Alias: displayOut
primaryTests requests one or more tests for special causes for the primary control chart. The tests value can be one or more of the following: - test1: requests a test for one point beyond Zone A (outside the control limits). Default: FALSE - test2: requests a test for nine points in a row on one side of the center line. Default: FALSE - test3: requests a test for six points in a row steadily increasing or decreasing. Default: FALSE - test4: requests a test for fourteen points in a row alternating up and down. Default: FALSE - test5: requests a test for two out of three points in a row in Zone A or beyond. Default: FALSE - test6: requests a test for four out of five points in a row in Zone B or beyond. Default: FALSE - test7: requests a test for fifteen points in a row in Zone C (above and below the center line). Default: FALSE - test8: requests a test for eight points in a row on both sides of the center line with none in Zone C. Default: FALSE
processName specifies the variable in the input data table that contains the names of processes to be analyzed. Default: "processName"
processValue specifies the variable in the input data table that contains the process measurements to be analyzed. Default: "process"
sigmas specifies the width of the control limits as a multiple of the standard error of the subgroup summary statistic. Default: 3, Minimum value (exclusive): 0
sMethod specifies the method of estimating the process standard deviation. Default: MVGRANGE. Values: MAD, MMR, MVGRANGE
specsTable specifies the specification limits data table and computes process capability indices. For more information about specifying the specsTable parameter, see the common castable (Form 1) parameter (Appendix A: Common Parameters).
subgroupName specifies the variable in the input data table that contains the names of subgroup variables. Default: "subgroupName"
subgroupValue specifies the variable in the input data table that contains the subgroup values. Default: "subgroup"
table specifies the settings for an input table. For more information about specifying the table parameter, see the common castable (Form 1) parameter (Appendix A: Common Parameters).
test2Run specifies the length of the pattern for Test 2. Default: 9
test3Run specifies the length of the pattern for Test 3. Default: 6
testNStd when set to True, enables tests for special causes with varying subgroup sample sizes. Default: FALSE
testOverlap when set to True, applies tests for special causes to overlapping patterns of points. Default: FALSE
Data Preparation View data prep sheet
Data Creation

The HTML document does not contain explicit data creation examples. Here is a generic example for creating a CAS table.

Copied!
1DATA mycas.my_table;
2 INPUT var1 var2;
3 DATALINES;
4 1 10
5 2 20
6 3 30
7 ;
8RUN;
9 

Examples

FAQ

What is chartsTable?
What is ciAlpha?
What is ciIndices?
What is ciType and what are its options?
What is display?
What is exChart?
What is groupByLimit?
What is limitsTable?
What is nMvgRange?
What is no3SigmaCheck?
What is outLimitsTable?
What is outputTables?
What are the primaryTests and their options?
What is processName?
What is processValue?
What is sigmas?
What is sMethod and what are its options?
What is specsTable?
What is subgroupName?
What is subgroupValue?
What is table?
What is test2Run?
What is test3Run?
What is testNStd?
What is testOverlap?