Is it possible to code for control charts in SAS base?
Yes it's possible to compute a control chart with BASE SAS alone, but you would need to estimate the process mean and process sd "by hand" (with proc means or SQL or whatever), and then compute the process limits, apply Westgard rules, and make a chart using GTL. If you have a simple case it woudln't be that hard. I've done it as a validation exercise.
But if you have SAS/QC licensed, there is PROC SHEWHART which does all of that for you. It's nifty.
If you happen to have JMP, I'm pretty sure it will do control charts.
Side-note, I'm always curious if SAS/QC will ever be merged into SAS/STAT. I never understood the separatation of these PROCs into a separate package, but I guess it's probably a business decision.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.