BookmarkSubscribeRSS Feed
SAS_Muggle
Fluorite | Level 6

I have some data where I have 2 dependent variables, method (1 or 2), and location (1, 2, 3, or 4).

I ran an anova and got a significant result. Thus I want to do post hoc comparisons. I'm not interested in all comparisons, but only for location1 (method 1 vs 2), for location2 (method 1 vs 2), etc. How can I do this in proc glm?

 

I need these adjusted p-values to report in my paper. Is the only way to do it using contrasts and then adjust my alpha (bonferroni)? I think it will be too conservative.

1 REPLY 1
Ksharp
Super User
You could use
LSMEANS locateion/diff pdiff adjust=turkey ;
and choose the mothod you like.


Also could use ESTIMATES rather than CONTRAST:
https://support.sas.com/kb/38/384.html

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 Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 229 views
  • 0 likes
  • 2 in conversation