I am using SPSS 22 and I have two variables. For variable A, I want a
histogram (density) and box plot. Same for variable B. Is this possible? Thanks! -- 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 |
Do you want something like the following image which is
from the Wikipedia page on boxplots: https://commons.wikimedia.org/wiki/File:Boxplot_vs_PDF.svg I don't know how easy/hard it is to get something like in SPSS but you can probably do it with some image editing program (e.g., gimp) using images from SPSS (e.g., histogram from the frequencies procedure and boxplot form Examine) but I don't think you can an image that relates the two images like the Wkipedia image. It is unclear to me how the Wikipedia image was created. If anyone knows, please let me know. -Mike Palij New York University [hidden email] ----- Original Message ----- From: "lmarasigan" <[hidden email]> To: <[hidden email]> Sent: Tuesday, September 05, 2017 10:29 PM Subject: Is it possible to have two histograms and two box plots in one graph? >I am using SPSS 22 and I have two variables. For variable A, I want a > histogram (density) and box plot. Same for variable B. Is this > possible? > Thanks! > > > > -- > 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 |
Even for the examples you found, might this be an Andy Wheeler question?
https://andrewpwheeler.wordpress.com/2016/08/12/plotting-panel-data-with-many-lines-in-spss/ Gene Maguin -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Mike Palij Sent: Wednesday, September 6, 2017 3:17 PM To: [hidden email] Subject: Re: Is it possible to have two histograms and two box plots in one graph? Do you want something like the following image which is from the Wikipedia page on boxplots: https://commons.wikimedia.org/wiki/File:Boxplot_vs_PDF.svg I don't know how easy/hard it is to get something like in SPSS but you can probably do it with some image editing program (e.g., gimp) using images from SPSS (e.g., histogram from the frequencies procedure and boxplot form Examine) but I don't think you can an image that relates the two images like the Wkipedia image. It is unclear to me how the Wikipedia image was created. If anyone knows, please let me know. -Mike Palij New York University [hidden email] ----- Original Message ----- From: "lmarasigan" <[hidden email]> To: <[hidden email]> Sent: Tuesday, September 05, 2017 10:29 PM Subject: Is it possible to have two histograms and two box plots in one graph? >I am using SPSS 22 and I have two variables. For variable A, I want a >histogram (density) and box plot. Same for variable B. Is this >possible? > Thanks! > > > > -- > 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 |
It may be a case for Andy Wheeler but I think that Jon
Peck might also have something to say since this come under the heading of "data visualization". It's not clear to me that SPSS is equipped to create such graphics. The Wikipedia image is a Scalable Vector Graphic (SVG) that can be created in XML but the Wikipedia entry on SVG says the Adobe Illustrator, CorelDraw, and other software packages can produce SVG -- but I would assume that one could use to create complex graphics in whatever format that one wants. And there are web-based converters that go from SVG to [jpg,gif,png,tiff, etc] or vice versa. I assume that if one is knowledgeable about Adobe Illustrator or CorelDraw, one can copy graphics from SPSS into them and then add elements to make the image contain what one wants. I don't think that SPSS has such native graphics capabilities but Jon or others may know better. -Mike Palij New York University [hidden email] ----- Original Message ----- On Wednesday, September 06, 2017 3:52 PM, Eugene Maguin wrote: Even for the examples you found, might this be an Andy Wheeler question? https://andrewpwheeler.wordpress.com/2016/08/12/plotting-panel-data-with-many-lines-in-spss/ Gene Maguin -----Original Message----- On Wednesday, September 6, 2017 3:17 PM, Mike Palij wrote: Do you want something like the following image which is from the Wikipedia page on boxplots: https://commons.wikimedia.org/wiki/File:Boxplot_vs_PDF.svg I don't know how easy/hard it is to get something like in SPSS but you can probably do it with some image editing program (e.g., gimp) using images from SPSS (e.g., histogram from the frequencies procedure and boxplot form Examine) but I don't think you can an image that relates the two images like the Wkipedia image. It is unclear to me how the Wikipedia image was created. If anyone knows, please let me know. ----- Original Message ----- OnTuesday, September 05, 2017 10:29 PM, lmarasigan wrote: >I am using SPSS 22 and I have two variables. For variable A, I want a >histogram (density) and box plot. Same for variable B. Is this >possible? > Thanks! > -- > 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 |
You can combine multiple graphs into the same plot using GPL code with GGRAPH. You can see how this works with the STATS REGRESS PLOT extension command. It doesn't do this particular plot, but it combines a number of plots (scatters, box plots, and bar charts) into the same plot space. REGRESS PLOT generates GGRAPH and GPL code, which you can see in the Notes table that accompanies the output. Getting everything positioned right, though takes some fiddling. I don't recall whether this extension is automatically installed with Statistics in V22, but you can install it from the Utilities menu. On Wed, Sep 6, 2017 at 5:55 PM, Mike Palij <[hidden email]> wrote: It may be a case for Andy Wheeler but I think that Jon |
Free forum by Nabble | Edit this page |