Turn on suggestions

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

Showing results for

- Home
- /
- Analytics
- /
- Stat Procs
- /
- tests of equality after PROC MIXED or PROC GLIMMIX

Options

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

🔒 This topic is **solved** and **locked**.
Need further help from the community? Please
sign in and ask a **new** question.

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

Posted 08-20-2018 01:58 PM
(1453 views)

Hello. Is there a way to test for equality of coefficients in multilevel models (using SAS 9.3 or 9.4)? I have some multilevel (random effects) models that I am estimating with PROC MIXED and I would like to know if two coefficients are statistically different from one another.

If this was not a multlevel I would have something like the equation below and use the test option,

y=X1B1+X2B2+*X3B3+*e

proc reg data=temp1;

model zwfl=x1 x2 controllist;

t1: test x1=x2;

Is there a way to do this in a multilevel context? So after the following code?

proc mixed data=temp1;

class nbhid;

model zwfl=x1 x2 controllist/solution;

random intercept/sub=nbhid;

I would also like to do this after running a PROC GLIMMIX (similar situation with dichotomous outcome).

Thank you!

1 ACCEPTED SOLUTION

Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

To matche the PROC REG example of testing x1=x2

You would use a contrast statement that looks at x1-x2 to see if the result is not significantly different than zero.

--

Paige Miller

Paige Miller

4 REPLIES 4

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

Hey,

are the statements CONTRAST and ESTIMATE what you are looking for?

Bye,

Daniel

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

To matche the PROC REG example of testing x1=x2

You would use a contrast statement that looks at x1-x2 to see if the result is not significantly different than zero.

--

Paige Miller

Paige Miller

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

Thank you! I guess I hadn't quite understood the contrast statement.

**Available on demand!**

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

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.