within person longitudinal data plots

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

within person longitudinal data plots

Maguin, Eugene

I want to plot score by time with a within person regression line for multiple people on a single plot and ​I'm looking for an example to copy. I didn't see an example in the GPL book. It's probably not too complicated but there probably is some intricacies and an example is better than stumbling around, especially in GPL. 

Thanks, Gene Maguin

===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD
Reply | Threaded
Open this post in threaded view
|

Re: within person longitudinal data plots

Bruce Weaver
Administrator
Hi Gene.  Perhaps the examples here will help:

https://stats.idre.ucla.edu/spss/examples/alda/chapter4/applied-longitudinal-data-analysis-modeling-change-and-event-occurrenceby-judith-d-singer-and-john-b-willett-chapter-4-doing-data-analysis-with-the-multilev/

Bruce



Maguin, Eugene wrote

> I want to plot score by time with a within person regression line for
> multiple people on a single plot and ?I'm looking for an example to copy.
> I didn't see an example in the GPL book. It's probably not too complicated
> but there probably is some intricacies and an example is better than
> stumbling around, especially in GPL.
>
> Thanks, Gene Maguin
>
> =====================
> To manage your subscription to SPSSX-L, send a message to

> LISTSERV@.UGA

>  (not to SPSSX-L), with no body text except the
> command. To leave the list, send the command
> SIGNOFF SPSSX-L
> For a list of commands to manage subscriptions, send the command
> INFO REFCARD





-----
--
Bruce Weaver
[hidden email]
http://sites.google.com/a/lakeheadu.ca/bweaver/

"When all else fails, RTFM."

NOTE: My Hotmail account is not monitored regularly.
To send me an e-mail, please use the address shown above.

--
Sent from: http://spssx-discussion.1045642.n5.nabble.com/

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
--
Bruce Weaver
bweaver@lakeheadu.ca
http://sites.google.com/a/lakeheadu.ca/bweaver/

"When all else fails, RTFM."

PLEASE NOTE THE FOLLOWING: 
1. My Hotmail account is not monitored regularly. To send me an e-mail, please use the address shown above.
2. The SPSSX Discussion forum on Nabble is no longer linked to the SPSSX-L listserv administered by UGA (https://listserv.uga.edu/).
Reply | Threaded
Open this post in threaded view
|

Re: within person longitudinal data plots

Maguin, Eugene
Much more than i hoped for!  Bruce, thank you so much.
Gene Maguin
________________________________________
From: SPSSX(r) Discussion <[hidden email]> on behalf of Bruce Weaver <[hidden email]>
Sent: Monday, October 7, 2019 7:54 PM
To: [hidden email]
Subject: Re: within person longitudinal data plots

Hi Gene.  Perhaps the examples here will help:

https://stats.idre.ucla.edu/spss/examples/alda/chapter4/applied-longitudinal-data-analysis-modeling-change-and-event-occurrenceby-judith-d-singer-and-john-b-willett-chapter-4-doing-data-analysis-with-the-multilev/

Bruce



Maguin, Eugene wrote

> I want to plot score by time with a within person regression line for
> multiple people on a single plot and ?I'm looking for an example to copy.
> I didn't see an example in the GPL book. It's probably not too complicated
> but there probably is some intricacies and an example is better than
> stumbling around, especially in GPL.
>
> Thanks, Gene Maguin
>
> =====================
> To manage your subscription to SPSSX-L, send a message to

> LISTSERV@.UGA

>  (not to SPSSX-L), with no body text except the
> command. To leave the list, send the command
> SIGNOFF SPSSX-L
> For a list of commands to manage subscriptions, send the command
> INFO REFCARD





-----
--
Bruce Weaver
[hidden email]
http://sites.google.com/a/lakeheadu.ca/bweaver/

"When all else fails, RTFM."

NOTE: My Hotmail account is not monitored regularly.
To send me an e-mail, please use the address shown above.

--
Sent from: http://spssx-discussion.1045642.n5.nabble.com/

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
Reply | Threaded
Open this post in threaded view
|

Re: within person longitudinal data plots

Andy W
My example is very similar to UCLA's,
https://andrewpwheeler.wordpress.com/2014/07/13/smoothed-regression-plots-for-multi-level-data/.
You can use the "split" modifier instead of making the lines have different
dot/dash types. (Also using transparency is good for thick spaghetti plots.)

For something more fancy, I've written code on doing ellipses instead of
lines,
https://andrewpwheeler.wordpress.com/2014/03/04/visualizing-multi-level-data-using-ellipses/.
I need to update that code so it can calculate prediction intervals,
https://blogs.sas.com/content/iml/2014/07/23/prediction-ellipses-from-covariance.html.

With newer versions of SPSS, you can specify SOLUTION on random
intercepts/slopes and get individual estimates. In conjunction with OMS, you
can do scatterplots/histograms of the random effects as well.



-----
Andy W
[hidden email]
http://andrewpwheeler.wordpress.com/
--
Sent from: http://spssx-discussion.1045642.n5.nabble.com/

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
Andy W
apwheele@gmail.com
http://andrewpwheeler.wordpress.com/