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

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