Hello, I have a file with multiple rows (4) for each subject, each row with a var value for a particular data point. I want to create a set of individual 'spaghetti' graphs mapping these 4 values for each subject. Any suggestions how I can do it in SPSS or where should I look for instructions? Thanks so much.
Bozena Bozena Zdaniuk, Ph.D. University of Pittsburgh UCSUR, 6th Fl. 121 University Place Pittsburgh, PA 15260 Ph.: 412-624-5736 Fax: 412-624-4810 email: [hidden email] -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Marta García-Granero Sent: Wednesday, December 07, 2005 5:30 AM To: [hidden email] Subject: Re: Significance testing between R-square from linear and R-square from curvilinear regression (Revised). Hi: Steiger's homepage: http://www.unav.es/genetica/new/soft.html#misc And Multicorr page: http://www.interchange.ubc.ca/steiger/multi.htm Anyway, the links in this page are wrong (they point to a nonexisting ftp site). I found out that the correct links for multicorr program & documentation are: - Program: http://www.interchange.ubc.ca/steiger/multicor.zip - Manual: http://www.interchange.ubc.ca/steiger/multicor.pdf HTH, Marta SPR> Steiger's multicor program will do that. SPR> "Want to compare multiple, partial, or canonical correlations for SPR> equality? SPR> Steiger and Browne (1984) show how you can do this by reprasing the SPR> hypothesis as a pattern hypothesis testable by MULTICORR. For a recent SPR> review of some related correlational tests, see Olkin and Finn (1995). SPR> References SPR> Olkin, I., and Finn, J.D. (1995). Correlations redux. Psychological SPR> Bulletin, 118, 155-164. SPR> Steiger, J.H. (1979). Multicorr: a computer program for fast, accurate, SPR> small-sample tests of correlational pattern hypotheses. Educational and SPR> Psychological Measurement, 39, 677-680. SPR> Steiger, J.H. (1980). Tests for comparing elements of a correlation SPR> matrix. Psychological Bulletin, 87, 245-251. SPR> Steiger, J.H., & Browne, M.W. (1984). The comparison of interdependent SPR> correlations between optimal linear composites. Psychometrika, 49, SPR> 11-21. " SPR> Paul R. Swank, Ph.D. SPR> Professor, Developmental Pediatrics SPR> Director of Research, Center for Improving the Readiness of Children for SPR> Learning and Education (C.I.R.C.L.E.) SPR> Medical School SPR> UT Health Science Center at Houston SPR> -----Original Message----- SPR> From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of SPR> Sungeun Chung SPR> Sent: Tuesday, December 06, 2005 11:18 AM SPR> To: [hidden email] SPR> Subject: Significance testing between R-square from linear and R-square SPR> from curvilinear regression (Revised). SPR> Hi, I want to clarify my question in previous question. SPR> I have two variables, X: time (11 time points) and Y: means of SPR> evaluation (one group, N = 132). SPR> I expect that exponential function will fit better than a linear SPR> function to predict the trajectory. SPR> I did a curve estimation with exponential function and found R-square SPR> from the exponential function is greater than R-square from a linear SPR> function. SPR> But how can I test if the difference in R-squares is signifcant? SPR> I found a formular in Blalock (1972). But it requires correlation SPR> between Y and transformed Y. SPR> Should I do time series analysis? SPR> Any help will be greately appreciated. Thanks in advance, SPR> Sungeun SPR> - SPR> Sungeun Chung, Ph.D. SPR> Assistant Professor SPR> Department of Communication SPR> Memorial Hall 303G SPR> Western Illinois University SPR> Macomb, IL 61455-1390 SPR> Tel. (309) 298-2219 SPR> E-mail: [hidden email]; [hidden email] SPR> __________ Información de NOD32 1.1312 (20051205) __________ SPR> Este mensaje ha sido analizado con NOD32 Antivirus System SPR> http://www.nod32.com -- Saludos, Marta mailto:[hidden email] |
I googled spaghetti graph but the hits seemed to be about ecological modeling or path diagrams. Could you be a bit more specific or provide a URL to a similar example?
-----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Zdaniuk, Bozena Sent: Thursday, April 12, 2007 9:22 AM To: [hidden email] Subject: individual graphs of change Hello, I have a file with multiple rows (4) for each subject, each row with a var value for a particular data point. I want to create a set of individual 'spaghetti' graphs mapping these 4 values for each subject. Any suggestions how I can do it in SPSS or where should I look for instructions? Thanks so much. Bozena Bozena Zdaniuk, Ph.D. University of Pittsburgh UCSUR, 6th Fl. 121 University Place Pittsburgh, PA 15260 Ph.: 412-624-5736 Fax: 412-624-4810 email: [hidden email] |
Let's say I have 20 participants, each with four rows of data for var1
and a variable Time with values 1-4 marking what time was each value collected at. I would like a graph with values of the var1 on y axis and values of Time on x axis and 20 lines on the graph showing the values of var1 at each time point for each of the participants. Any ideas how to do it in SPSS? Thanks! Bozena Bozena Zdaniuk, Ph.D. University of Pittsburgh UCSUR, 6th Fl. 121 University Place Pittsburgh, PA 15260 Ph.: 412-624-5736 Fax: 412-624-4810 email: [hidden email] -----Original Message----- From: Beadle, ViAnn [mailto:[hidden email]] Sent: Thursday, April 12, 2007 12:34 PM To: Zdaniuk, Bozena; [hidden email] Subject: RE: individual graphs of change I googled spaghetti graph but the hits seemed to be about ecological modeling or path diagrams. Could you be a bit more specific or provide a URL to a similar example? -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Zdaniuk, Bozena Sent: Thursday, April 12, 2007 9:22 AM To: [hidden email] Subject: individual graphs of change Hello, I have a file with multiple rows (4) for each subject, each row with a var value for a particular data point. I want to create a set of individual 'spaghetti' graphs mapping these 4 values for each subject. Any suggestions how I can do it in SPSS or where should I look for instructions? Thanks so much. Bozena Bozena Zdaniuk, Ph.D. University of Pittsburgh UCSUR, 6th Fl. 121 University Place Pittsburgh, PA 15260 Ph.: 412-624-5736 Fax: 412-624-4810 email: [hidden email] |
In reply to this post by Zdaniuk, Bozena
I think this needs a 'wide' (horizontal) dataset (one row per client
with 4 vars instead of a 'long' (vertical) 4 rows per client dataset. Use CASETOVARS to convert then you should be able to do a chart of the 4 vars by time. Melissa -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Zdaniuk, Bozena Sent: Thursday, April 12, 2007 11:47 AM To: [hidden email] Subject: Re: [SPSSX-L] individual graphs of change Let's say I have 20 participants, each with four rows of data for var1 and a variable Time with values 1-4 marking what time was each value collected at. I would like a graph with values of the var1 on y axis and values of Time on x axis and 20 lines on the graph showing the values of var1 at each time point for each of the participants. Any ideas how to do it in SPSS? Thanks! Bozena Bozena Zdaniuk, Ph.D. University of Pittsburgh UCSUR, 6th Fl. 121 University Place Pittsburgh, PA 15260 Ph.: 412-624-5736 Fax: 412-624-4810 email: [hidden email] -----Original Message----- From: Beadle, ViAnn [mailto:[hidden email]] Sent: Thursday, April 12, 2007 12:34 PM To: Zdaniuk, Bozena; [hidden email] Subject: RE: individual graphs of change I googled spaghetti graph but the hits seemed to be about ecological modeling or path diagrams. Could you be a bit more specific or provide a URL to a similar example? -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Zdaniuk, Bozena Sent: Thursday, April 12, 2007 9:22 AM To: [hidden email] Subject: individual graphs of change Hello, I have a file with multiple rows (4) for each subject, each row with a var value for a particular data point. I want to create a set of individual 'spaghetti' graphs mapping these 4 values for each subject. Any suggestions how I can do it in SPSS or where should I look for instructions? Thanks so much. Bozena Bozena Zdaniuk, Ph.D. University of Pittsburgh UCSUR, 6th Fl. 121 University Place Pittsburgh, PA 15260 Ph.: 412-624-5736 Fax: 412-624-4810 email: [hidden email] PRIVILEGED AND CONFIDENTIAL INFORMATION This transmittal and any attachments may contain PRIVILEGED AND CONFIDENTIAL information and is intended only for the use of the addressee. If you are not the designated recipient, or an employee or agent authorized to deliver such transmittals to the designated recipient, you are hereby notified that any dissemination, copying or publication of this transmittal is strictly prohibited. If you have received this transmittal in error, please notify us immediately by replying to the sender and delete this copy from your system. You may also call us at (309) 827-6026 for assistance. |
I was thinking about it. But I still don't know how to create a number
of separate lines for each participant on the same graph... bozena -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Melissa Ives Sent: Thursday, April 12, 2007 12:53 PM To: [hidden email] Subject: Re: individual graphs of change I think this needs a 'wide' (horizontal) dataset (one row per client with 4 vars instead of a 'long' (vertical) 4 rows per client dataset. Use CASETOVARS to convert then you should be able to do a chart of the 4 vars by time. Melissa -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Zdaniuk, Bozena Sent: Thursday, April 12, 2007 11:47 AM To: [hidden email] Subject: Re: [SPSSX-L] individual graphs of change Let's say I have 20 participants, each with four rows of data for var1 and a variable Time with values 1-4 marking what time was each value collected at. I would like a graph with values of the var1 on y axis and values of Time on x axis and 20 lines on the graph showing the values of var1 at each time point for each of the participants. Any ideas how to do it in SPSS? Thanks! Bozena Bozena Zdaniuk, Ph.D. University of Pittsburgh UCSUR, 6th Fl. 121 University Place Pittsburgh, PA 15260 Ph.: 412-624-5736 Fax: 412-624-4810 email: [hidden email] -----Original Message----- From: Beadle, ViAnn [mailto:[hidden email]] Sent: Thursday, April 12, 2007 12:34 PM To: Zdaniuk, Bozena; [hidden email] Subject: RE: individual graphs of change I googled spaghetti graph but the hits seemed to be about ecological modeling or path diagrams. Could you be a bit more specific or provide a URL to a similar example? -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Zdaniuk, Bozena Sent: Thursday, April 12, 2007 9:22 AM To: [hidden email] Subject: individual graphs of change Hello, I have a file with multiple rows (4) for each subject, each row with a var value for a particular data point. I want to create a set of individual 'spaghetti' graphs mapping these 4 values for each subject. Any suggestions how I can do it in SPSS or where should I look for instructions? Thanks so much. Bozena Bozena Zdaniuk, Ph.D. University of Pittsburgh UCSUR, 6th Fl. 121 University Place Pittsburgh, PA 15260 Ph.: 412-624-5736 Fax: 412-624-4810 email: [hidden email] PRIVILEGED AND CONFIDENTIAL INFORMATION This transmittal and any attachments may contain PRIVILEGED AND CONFIDENTIAL information and is intended only for the use of the addressee. If you are not the designated recipient, or an employee or agent authorized to deliver such transmittals to the designated recipient, you are hereby notified that any dissemination, copying or publication of this transmittal is strictly prohibited. If you have received this transmittal in error, please notify us immediately by replying to the sender and delete this copy from your system. You may also call us at (309) 827-6026 for assistance. |
In reply to this post by Melissa Ives
Ok, I finally figured out what I want to do. I apologize for the
half-a**ed previous posts. I want separate regression lines for each subject, all on one graph. I know how to run separate regression for each subject using BREAK BY ID command but I don't know how to get all the individual regression lines on one graph. I know how to request it in HLM but I would like to be able to do it in SPSS. Any ideas? Thanks. Bozena Bozena Zdaniuk, Ph.D. University of Pittsburgh UCSUR, 6th Fl. 121 University Place Pittsburgh, PA 15260 Ph.: 412-624-5736 Fax: 412-624-4810 email: [hidden email] -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Melissa Ives Sent: Thursday, April 12, 2007 12:53 PM To: [hidden email] Subject: Re: individual graphs of change I think this needs a 'wide' (horizontal) dataset (one row per client with 4 vars instead of a 'long' (vertical) 4 rows per client dataset. Use CASETOVARS to convert then you should be able to do a chart of the 4 vars by time. Melissa -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Zdaniuk, Bozena Sent: Thursday, April 12, 2007 11:47 AM To: [hidden email] Subject: Re: [SPSSX-L] individual graphs of change Let's say I have 20 participants, each with four rows of data for var1 and a variable Time with values 1-4 marking what time was each value collected at. I would like a graph with values of the var1 on y axis and values of Time on x axis and 20 lines on the graph showing the values of var1 at each time point for each of the participants. Any ideas how to do it in SPSS? Thanks! Bozena Bozena Zdaniuk, Ph.D. University of Pittsburgh UCSUR, 6th Fl. 121 University Place Pittsburgh, PA 15260 Ph.: 412-624-5736 Fax: 412-624-4810 email: [hidden email] -----Original Message----- From: Beadle, ViAnn [mailto:[hidden email]] Sent: Thursday, April 12, 2007 12:34 PM To: Zdaniuk, Bozena; [hidden email] Subject: RE: individual graphs of change I googled spaghetti graph but the hits seemed to be about ecological modeling or path diagrams. Could you be a bit more specific or provide a URL to a similar example? -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Zdaniuk, Bozena Sent: Thursday, April 12, 2007 9:22 AM To: [hidden email] Subject: individual graphs of change Hello, I have a file with multiple rows (4) for each subject, each row with a var value for a particular data point. I want to create a set of individual 'spaghetti' graphs mapping these 4 values for each subject. Any suggestions how I can do it in SPSS or where should I look for instructions? Thanks so much. Bozena Bozena Zdaniuk, Ph.D. University of Pittsburgh UCSUR, 6th Fl. 121 University Place Pittsburgh, PA 15260 Ph.: 412-624-5736 Fax: 412-624-4810 email: [hidden email] PRIVILEGED AND CONFIDENTIAL INFORMATION This transmittal and any attachments may contain PRIVILEGED AND CONFIDENTIAL information and is intended only for the use of the addressee. If you are not the designated recipient, or an employee or agent authorized to deliver such transmittals to the designated recipient, you are hereby notified that any dissemination, copying or publication of this transmittal is strictly prohibited. If you have received this transmittal in error, please notify us immediately by replying to the sender and delete this copy from your system. You may also call us at (309) 827-6026 for assistance. |
Bozena,
Correct me if I'm wrong, but I think that you must be working on a multilevel analysis and you want to see either the individual points plotted by perons and then connected with lines or the individual regression lines through those points. Specific examples of both of these are described in Judith Singer's book. Unfortunately, mine is at home. Gene |
In reply to this post by Zdaniuk, Bozena
You have two sets of group dimensions here--per participant (20) and per value of the 4 vars. Crossing them would give you 80 lines on your chart. I guess that truly would be a mess of spaghetti. Is that what you want?
-----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Zdaniuk, Bozena Sent: Thursday, April 12, 2007 12:07 PM To: [hidden email] Subject: Re: individual graphs of change I was thinking about it. But I still don't know how to create a number of separate lines for each participant on the same graph... bozena -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Melissa Ives Sent: Thursday, April 12, 2007 12:53 PM To: [hidden email] Subject: Re: individual graphs of change I think this needs a 'wide' (horizontal) dataset (one row per client with 4 vars instead of a 'long' (vertical) 4 rows per client dataset. Use CASETOVARS to convert then you should be able to do a chart of the 4 vars by time. Melissa -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Zdaniuk, Bozena Sent: Thursday, April 12, 2007 11:47 AM To: [hidden email] Subject: Re: [SPSSX-L] individual graphs of change Let's say I have 20 participants, each with four rows of data for var1 and a variable Time with values 1-4 marking what time was each value collected at. I would like a graph with values of the var1 on y axis and values of Time on x axis and 20 lines on the graph showing the values of var1 at each time point for each of the participants. Any ideas how to do it in SPSS? Thanks! Bozena Bozena Zdaniuk, Ph.D. University of Pittsburgh UCSUR, 6th Fl. 121 University Place Pittsburgh, PA 15260 Ph.: 412-624-5736 Fax: 412-624-4810 email: [hidden email] -----Original Message----- From: Beadle, ViAnn [mailto:[hidden email]] Sent: Thursday, April 12, 2007 12:34 PM To: Zdaniuk, Bozena; [hidden email] Subject: RE: individual graphs of change I googled spaghetti graph but the hits seemed to be about ecological modeling or path diagrams. Could you be a bit more specific or provide a URL to a similar example? -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Zdaniuk, Bozena Sent: Thursday, April 12, 2007 9:22 AM To: [hidden email] Subject: individual graphs of change Hello, I have a file with multiple rows (4) for each subject, each row with a var value for a particular data point. I want to create a set of individual 'spaghetti' graphs mapping these 4 values for each subject. Any suggestions how I can do it in SPSS or where should I look for instructions? Thanks so much. Bozena Bozena Zdaniuk, Ph.D. University of Pittsburgh UCSUR, 6th Fl. 121 University Place Pittsburgh, PA 15260 Ph.: 412-624-5736 Fax: 412-624-4810 email: [hidden email] PRIVILEGED AND CONFIDENTIAL INFORMATION This transmittal and any attachments may contain PRIVILEGED AND CONFIDENTIAL information and is intended only for the use of the addressee. If you are not the designated recipient, or an employee or agent authorized to deliver such transmittals to the designated recipient, you are hereby notified that any dissemination, copying or publication of this transmittal is strictly prohibited. If you have received this transmittal in error, please notify us immediately by replying to the sender and delete this copy from your system. You may also call us at (309) 827-6026 for assistance. |
In reply to this post by Maguin, Eugene
Thanks, Gene. I have the book and I found the syntax. It's done using
igraph. Now I have to go search through our list's archives to figure out the case limit for igraphs. I have 1200 cases (times 4 time points) and the igraph function I tried to run hung up on me instantly. I vaguely recall there was a discussion already on the case limits of igraph functions. Thanks again to all who helped me work through that. b. -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Gene Maguin Sent: Thursday, April 12, 2007 1:48 PM To: [hidden email] Subject: Re: individual graphs of change Bozena, Correct me if I'm wrong, but I think that you must be working on a multilevel analysis and you want to see either the individual points plotted by perons and then connected with lines or the individual regression lines through those points. Specific examples of both of these are described in Judith Singer's book. Unfortunately, mine is at home. Gene |
You can do individual trajectories using the Chart Builder in SPSS 15. NOTE
that I have not pushed this "to the limit" with large datasets, but here's a small example. Consider two patients with a number of seizures noted over consecutive 2-week periods. Here are the data. Id Time Seizures 101 1 11 101 2 14 101 3 9 101 4 8 102 1 8 102 2 7 102 3 9 102 4 4 Make sure that ID has its MEASURE set to NOMINAL, while the others are set to SCALE. Then, you do a scatterplot of Seizures by Time, with ID as a GroupColor variable. After you generate the Chart, edit it and add interpolation lines. * Chart Builder. GGRAPH /GRAPHDATASET NAME="graphdataset" VARIABLES=time seizure id MISSING= LISTWISE REPORTMISSING=NO /GRAPHSPEC SOURCE=INLINE. BEGIN GPL SOURCE: s=userSource(id("graphdataset")) DATA: time=col(source(s), name("time")) DATA: seizure=col(source(s), name("seizure")) DATA: id=col(source(s), name("id"), unit.category()) GUIDE: axis(dim(1), label("time")) GUIDE: axis(dim(2), label("seizure")) GUIDE: legend(aesthetic(aesthetic.color.exterior), label("id")) SCALE: cat(aesthetic(aesthetic.color.exterior)) ELEMENT: point(position(time*seizure), color.exterior(id)) END GPL. -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Zdaniuk, Bozena Sent: Thursday, April 12, 2007 2:00 PM To: [hidden email] Subject: Re: individual graphs of change Thanks, Gene. I have the book and I found the syntax. It's done using igraph. Now I have to go search through our list's archives to figure out the case limit for igraphs. I have 1200 cases (times 4 time points) and the igraph function I tried to run hung up on me instantly. I vaguely recall there was a discussion already on the case limits of igraph functions. Thanks again to all who helped me work through that. b. -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Gene Maguin Sent: Thursday, April 12, 2007 1:48 PM To: [hidden email] Subject: Re: individual graphs of change Bozena, Correct me if I'm wrong, but I think that you must be working on a multilevel analysis and you want to see either the individual points plotted by perons and then connected with lines or the individual regression lines through those points. Specific examples of both of these are described in Judith Singer's book. Unfortunately, mine is at home. Gene |
Free forum by Nabble | Edit this page |