SPSS Basic Histogram - how to manipulate given data

Mar 2016
170
0
Australia
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
 

Debsta

MHF Helper
Oct 2009
1,313
599
Brisbane
Are A and B the suburbs the roads end in?
 

Debsta

MHF Helper
Oct 2009
1,313
599
Brisbane
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.

Have a look at this: https://www.youtube.com/watch?v=2bfADOHBI8Q
 
Mar 2016
170
0
Australia
Thank you. I suspect I am over thinking the whole problem. I was assuming the histograms should have bars representing road length and showing categories like number of roads 0-5 km, 5-10 km etc but question just says: "provide graphs that allow the distributions of road lengths to be compared between roads that end in suburb A and suburb B".

My lecturer said never to plot raw data rather show that in a table which has me a bit confused.

It then asks to provide mean, median and standard deviation for each distribution.

Another example of posting without containing the whole question by me. I am sorry.