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

Showing results for

- JMP User Community
- :
- Discussions
- :
- HLM-Random intercept or random slope?

- Subscribe to 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
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Jun 2, 2017 8:10 AM
(477 views)

I am buidling a heirchical linear model for nested data: level 1 student, level 2 teacher, level 3 school. I am interested in controlling for school and student contexts and get at teacher effect.

This is how I built the mdel:

In fit model, I used standard least squares as the personality, and assigned school (i. e. school name) and student variables (i. e. student gender, ethnicity and lunch status) fixed effect, while teacher and teacher interaction with student variables as **random effect**. This way I get BLUP as teacher effect.

**My question is: is the random effect random intercept or random slope? **

P. S. I assigned random by selecting "random" in the **attribute** dropdown menu.

I have been trying to find answer to this question for days. Really appreciate your help!

1 ACCEPTED SOLUTION

Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Jun 2, 2017 1:40 PM
(811 views)

Solution

The type of the factors you specified as the random effects give you the random intercepts, not the random slopes. A slope in a regression is the coefficient on a continuous variable. However, continuous random effects are only supported in JMP Pro 12 or after.

Here is an example in JMP Pro:

http://www.jmp.com/support/help/13/Example_Using_Mixed_Model.shtml#1263694

Statistical details:

http://www.jmp.com/support/help/13/Random_Coefficient_Model.shtml#1273501

2 REPLIES

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Jun 2, 2017 1:40 PM
(812 views)

The type of the factors you specified as the random effects give you the random intercepts, not the random slopes. A slope in a regression is the coefficient on a continuous variable. However, continuous random effects are only supported in JMP Pro 12 or after.

Here is an example in JMP Pro:

http://www.jmp.com/support/help/13/Example_Using_Mixed_Model.shtml#1263694

Statistical details:

http://www.jmp.com/support/help/13/Random_Coefficient_Model.shtml#1273501

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Jun 2, 2017 1:43 PM
(455 views)

Hi,

This JMP blog entry may be helpful.

https://community.jmp.com/t5/JMP-Blog/JMP-Pro-for-linear-mixed-models-Part-1/ba-p/30433

The results between the mixed model in JMP Pro and Base JMP random effects should be equivalent.