turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Find a Community

- Home
- /
- Analytics
- /
- Stat Procs
- /
- How do you code for 1-sided (side=U) in proc glm?

Topic Options

- RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

2 weeks ago

HI. I am stuck again. I never had to use a 1-sided test before. I am trying to figure out how to do a one-sided anova or proc glm test.

I tried everything. I'm sorry that is a silly question.

I want to do it on the SIM Variable. There are 18 simulations. (SIM stands for simulations)

My data looks like this: See attachment. Or I have the wide version S1-S20.

Thank you kindly!!

I don't know where that goes. For example, here is GLM code:

proc glm data=elina.widemg; (This is for the wide data of s1-s20)

class gamermg;

model s1-s20 = gamermg/ nouni;

repeated time polynomial / printe summary;

lsmeans gamermg / pdiff cl adjust=tukey;

run; quit;

Accepted Solutions

Solution

2 weeks ago

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to PaigeMiller

2 weeks ago

Thank you!!

I did not think there was one. But I read a couple of papers from journals who said that they used 1-sided tests, and I thought they were wrong, and thank you for confirming that.

I review for medical journals, and am particular about what can and can not be done. I think these authors were wrong.

Thank you so very much!!

Happy 4th. I'll be writing all week.

All Replies

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to mgrzyb

2 weeks ago

One sided test of what hypothesis? Please be specific.

The usual test in ANOVA is of the null hypothesis which says the means of all groups are equal. There is really no such thing as a one sided version of this particular tesst.

--

Paige Miller

Paige Miller

Solution

2 weeks ago

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to PaigeMiller

2 weeks ago

Thank you!!

I did not think there was one. But I read a couple of papers from journals who said that they used 1-sided tests, and I thought they were wrong, and thank you for confirming that.

I review for medical journals, and am particular about what can and can not be done. I think these authors were wrong.

Thank you so very much!!

Happy 4th. I'll be writing all week.

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to mgrzyb

2 weeks ago

@mgrzyb wrote:

Thank you!!

I did not think there was one. But I read a couple of papers from journals who said that they used 1-sided tests, and I thought they were wrong, and thank you for confirming that.

I review for medical journals, and am particular about what can and can not be done. I think these authors were wrong.

Thank you so very much!!

Again, @mgrzyb, I ask you to state the exact hypothesis of interest. I didn't say it can't be done. I said it can't be done for the primary test, which is the overall F-test, is not and can not be one-sided.

If you are comparing the mean of group 1 to the mean of group 4, of course that one can have a one-sided test.

--

Paige Miller

Paige Miller