Dotplot without binning using menus?

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

Dotplot without binning using menus?

Robert L

I just managed to convince one of my clients that a simple dotplot was the right way to represent her data graphically. Then she saw that the postition of the dots were not exactly the expected positions, and as we looked through the help files, we saw that there is some kind of binning made. This binning can be changed in the GPL syntax, but is there any way to make such changes using the Chart Builder menus?

 

Previously I have used GPL syntax to set up range bars for variables, another graph which could be useful in this particular data set. However, my client does not want to use syntax, and I don't remember how to set these range bars using menus. Any suggestions how I could find range bars in the menu system using Chart Builder?

 

Robert

Robert Lundqvist
Reply | Threaded
Open this post in threaded view
|

Re: Dotplot without binning using menus?

ViAnn Beadle

Chart Builder bins to graphically show tied values and there is control over binning within Chart Builder. You’ll have to use Paste and edit the syntax to remove the binning. The ELEMENT statement should look like this:

 

ELEMENT: point(position(varname))

 

Since your client is syntax averse, maybe you could create a program using python or basic and supply a very simple dialog box for her to use which would just take a variable selection.

---------------------------------------------------------------------------------------------------------------------------------------------------------

Please describe your range bars. What distinguishes the top from the bottom. Are you aggregating and if so, using what summary measure.

From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Robert Lundqvist
Sent: Tuesday, June 28, 2011 6:59 AM
To: [hidden email]
Subject: Dotplot without binning using menus?

 

I just managed to convince one of my clients that a simple dotplot was the right way to represent her data graphically. Then she saw that the postition of the dots were not exactly the expected positions, and as we looked through the help files, we saw that there is some kind of binning made. This binning can be changed in the GPL syntax, but is there any way to make such changes using the Chart Builder menus?

 

Previously I have used GPL syntax to set up range bars for variables, another graph which could be useful in this particular data set. However, my client does not want to use syntax, and I don't remember how to set these range bars using menus. Any suggestions how I could find range bars in the menu system using Chart Builder?

 

Robert

Reply | Threaded
Open this post in threaded view
|

Re: Dotplot without binning using menus?

Robert L
In reply to this post by Robert L

ViAnn, many thanks for the reply, the "ELEMENT" suggestion works just fine. I managed to solve the problem by adding binWidth(1) to the structure set up by using menus:

 

  ELEMENT: point.dodge.asymmetric(position(bin.dot(fordelning,binWidth(1))))

 

but this means that bins are set up, but narrow ones. Your suggestion is of course better.

 

As for the range range bar, it is a simple bar with min and max as in figure 3-56 in the GPL Ref Guide. I have got the syntax, but wonder if it is possible to achieve these using menus. Somewhere, I think I've managed to do so, but now I can't remember how it was done.

 

Robert

 

Från: ViAnn Beadle [mailto:[hidden email]]
Skickat: den 28 juni 2011 21:15
Till: Robert Lundqvist; [hidden email]
Ämne: RE: Dotplot without binning using menus?

 

Chart Builder bins to graphically show tied values and there is control over binning within Chart Builder. You’ll have to use Paste and edit the syntax to remove the binning. The ELEMENT statement should look like this:

 

ELEMENT: point(position(varname))

 

Since your client is syntax averse, maybe you could create a program using python or basic and supply a very simple dialog box for her to use which would just take a variable selection.

---------------------------------------------------------------------------------------------------------------------------------------------------------

Please describe your range bars. What distinguishes the top from the bottom. Are you aggregating and if so, using what summary measure.

Robert Lundqvist