BookmarkSubscribeRSS Feed
Dipanjan
Calcite | Level 5

Hi

I have a data of structure as 6 subjects each having 36 time point observations. Each of 6x36 rows have first column for a continuous response variable and the rest 3 columns for three continuous predictor variables. I need to build a model for each subject having different intercept but same slopes. Obviously there are issues of perfect link function, estimation method etc but those are of secondary interest.

One way I found is to add 6 binary predictors for 6 subjects and run PROC GLM to have different intercepts with same slopes for each subject. But probably this is considering the effects of states to be fixed not random. I read about usage of PROC MIXED in this article http://cba.ua.edu/~mhardin/ST610/ST610Web/LongitudinalAnalysisPapers/LONGITUDINAL.pdf and it seems that here we can use fixed as well as extend to random effects too. But I am not sure whether it can consider subjects effects to be fixed or random. If it considers so then can we get different intercepts for different subjects?

If PROC MIXED is not the solution then can anyone suggest another procedure that fulfills my requirement ?

Thanx

Dipanjan

1 REPLY 1
Jack2012
Obsidian | Level 7

I am interested in such kind of questions, but because I know little about MIXed model, so I am waiting someone can help to solve this good question.

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!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 582 views
  • 1 like
  • 2 in conversation