BookmarkSubscribeRSS Feed
magwoodj
Calcite | Level 5

Is it possible to code for control charts in SAS base?

1 REPLY 1
Quentin
Super User

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.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1679 views
  • 2 likes
  • 2 in conversation