Hello:
I'm using a PROC SHEWHART (DATA = work.SPCTable ); IRCHART. I'm looking to plot our production batches on the X-axis with humidity on the Y-axis. I'd like to plot the humidity against batch, but under the chart I'd like to see the dates along the X-axis. I.e., plot against one parameter, but display another on the X-axis. Make sense?
Try using a format, such that each batch has a formatted date associated.
Steve Denham
You can't really plot two x-axis variables, but you can display the dates via the block variables that are in the IRCHART syntax.
For example, if year month and day are variables in your data set with obvious meaning, then this would give you a chart with effectively 2 different x-axes.
IRCHART HUMIDITY*BATCH(year month day);
I think for this to work properly, the data would have to be sorted by year month and day, and also by batch (which of course should have the same sort order as year month day)
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.