BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Cornelis
Fluorite | Level 6

Dear all,

 

A fine colleague has measured a sample by colour.

 

Tube Colour
1 1.4
1 1.3
1 1.4
2 1.1
2 1.0
2 1.1
3 1.1
3 1.1
3 1.0

 

 

He measured a sample i n a tube three times.

Themn he poursed teh same sample in onther tube 2 and 3 and measured again 3 times each.

My question:

Is there a SAS procedure that can calculate

a) variation of colour measurements from the same tube

b) from different tube and

c) compare variations between a) and b) is there a significant difference.

 

Hope that you can provide me an example

 

Best regards,

Cornelis

1 ACCEPTED SOLUTION

Accepted Solutions
PeterClemmensen
Tourmaline | Level 20
data have;
input Tube$ Colour;
datalines; 
1 1.4
1 1.3
1 1.4
2 1.1
2 1.0
2 1.1
3 1.1
3 1.1
3 1.0
;

ods graphics on;
proc anova data = have;
	class tube;
	model colour = tube;
run;
ods graphics off;

View solution in original post

2 REPLIES 2
PeterClemmensen
Tourmaline | Level 20
data have;
input Tube$ Colour;
datalines; 
1 1.4
1 1.3
1 1.4
2 1.1
2 1.0
2 1.1
3 1.1
3 1.1
3 1.0
;

ods graphics on;
proc anova data = have;
	class tube;
	model colour = tube;
run;
ods graphics off;
Cornelis
Fluorite | Level 6

Thank you fo your contribution. You are right, PROC ANOVA is the most simple solution to handle this data set.

Spoiler
 

 

sas-innovate-2024.png

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.

 

Register now!

What is ANOVA?

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.

Discussion stats
  • 2 replies
  • 1307 views
  • 0 likes
  • 2 in conversation