BookmarkSubscribeRSS Feed
Nicolai70
Fluorite | Level 6

Hi.

 

I have used this code to generate a n by n run and obtain 19 times 6 results:

 

Is it possible to create a matrix output of the type 3 tests only in the form of "interval" by "ud_size" and highlight the significant (on a 0.05 level) effects? I am ony interested in the P values.

 

Or, should i use another method?

 

Nicoai

 

 

proc sort data=ARTICLE2.TEMP_5_60_SPAT_5_95 out=Work.TempDataSorted;
	by interval ud_size ;
run;

proc mixed data=Work.TempDataSorted covtest;
	class area breed f_age ageclass no_lambs farm year ID interval ud_size farm;
	model areakm2= area breed year ageclass /solution DDFM= SATTERTHWAITE;
	lsmeans area breed year ageclass /diff;
	random ID /S;
	by interval ud_size;
run;

proc delete data=Work.TempDataSorted;
run;

 

3 REPLIES 3
Nicolai70
Fluorite | Level 6

Hi.

 

I have used this code to generate a n by n run and obtain 19 times 6 results:

 

Is it possible to create a matrix output of the type 3 tests only in the form of "interval" by "ud_size" and highlight the significant (on a 0.05 level) effects? I am ony interested in the P values.

 

Or, should i use another method?

 

Nicoai

 

 

proc sort data=ARTICLE2.TEMP_5_60_SPAT_5_95 out=Work.TempDataSorted;
	by interval ud_size ;
run;

proc mixed data=Work.TempDataSorted covtest;
	class area breed f_age ageclass no_lambs farm year ID interval ud_size farm;
	model areakm2= area breed year ageclass /solution DDFM= SATTERTHWAITE;
	lsmeans area breed year ageclass /diff;
	random ID /S;
	by interval ud_size;
run;

proc delete data=Work.TempDataSorted;
run;

 

ballardw
Super User

You might use ODS Output to capture the results of the table(s) of interest and pipe the results into a report procedure that let's you use some of the display options to highlight results.

Nicolai70
Fluorite | Level 6
Do you have any good sources of knowledge on this?

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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
  • 3 replies
  • 1316 views
  • 0 likes
  • 2 in conversation