Programming the statistical procedures from SAS

Variation between different ube and same tube

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 5
Accepted Solution

Variation between different ube and same tube

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


Accepted Solutions
Solution
‎06-14-2017 05:43 AM
PROC Star
Posts: 634

Re: Variation between different ube and same tube

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


All Replies
Solution
‎06-14-2017 05:43 AM
PROC Star
Posts: 634

Re: Variation between different ube and same tube

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;
Occasional Contributor
Posts: 5

Re: Variation between different ube and same tube

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

Spoiler
 

 

☑ This topic is solved.

Need further help from the community? Please ask a new question.

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