# Thread: SPSS Basic Histogram - how to manipulate given data

1. ## SPSS Basic Histogram - how to manipulate given data

Hi

I have never used SPSS before and have had a look around the web before posting this.

I have a set of data that contains three variables:

1. The name of a road

2. The length of the road; and

3. The suburb the road ends in.

I need to create a histogram to compare the distribution of the road length between roads that end in A and roads that end in B. So I am assuming that the histogram is meant to show road length in certain categories (eg 5km, 10km etc). Is it possible to create this with just the three variables entered in the data set?

That is I need to manipulate the data to show the number of roads 5km or less, 10km or less etc.

Any help would be appreciated.

Kind regards
Beetle

2. ## Re: SPSS Basic Histogram - how to manipulate given data

Are A and B the suburbs the roads end in?

Sorry yes.

4. ## Re: SPSS Basic Histogram - how to manipulate given data

Ok so for the comparative histograms, the names of the roads are irrelevant.

You will probably want back-to-back histograms so you can compare the two distributions. These are basically two separate histograms, one for road lengths ending in suburb A, and the other for road lengths ending in suburb B.