I want to create a bar chart with multiple variables on the x-axis.
I have variables on type of downloader (Legal, Illegal, Mixed), age (16-24, 25-34, 35+) and gender (Male, Female).
On the y-axis i just want a simple percentage
On the x-axis I want bars for total male, female, 16-24, 25-34, 35+, Male 16-24, Male 25-34, Male 35+, Female 16-24, Female 25-34, Female 35+. These all being clustered on the type of downloader (legal, illegal and mixed)
How do I create this in SPSS?
I do not think you can put group totals and subgroup totals together on the x axis with spss. You could using matplotlib/numpy. However, you could do the subgroups with graphs --> legacy dialogs --> bar charts --> clustered --> summaries of separate variables. Not sure if that is what you want
As far as I understand your question, it can be split in two types of problems:
Is it possible to have two or more separate bar charts of different
variables (e.g. gender and agegroup) combined in one diagram?
How to create a grouped barchart with three variables (Gender X
Agegroup X Downloadertype).
On 1.: I' don't think so. At least, there is no graphical way to get this done and I haven't found a way to do so by fiddling around with the GGRAPH/GPL Syntax. (any suggestions welcome)
ON 2.: The easiest way this can be done is via the Graphs->Chartbuilder dialog box.
Choose "Clusterd Bar" from the Gallery tab (and drag it into the
previev window).
Drag the downloader variable on the "Cluster on X" field
Drag gender or agegroup on the "X-Axis" field
On the "Groups/Point ID" tab check either the "Rows" or "Columns" "panel
variable" Box and drag the gender or agegroup variable in this field
For percentages on the X-Axis click on "Element Properties" if this
dialog box isn't already open. Change the "Statistic" from "Count" to
"Percentage" and click on the "Set Parameters Button to define the
denominator for the percentages.
Related
How do you add up values in different cells?
I'm looking to create something similar to: https://i.etsystatic.com/7867478/r/il/09bb36/3897355233/il_1588xN.3897355233_koef.jpg
You will notice in the "expenses summary" box there are different descriptions such as food.
In the lower right corner, there are dropdown boxes for the category. There are multiple categories selected with varying amounts next to it.
Back to the "expenses summary" box there is a column named "actual" which adds up the values in the expenses tracker box.
In this case, this is $55 + $200 + $50 for food albeit in different boxes.
How does one add add these values up in a sheet where the category variable can be changed at anytime?
I have used vlookup to no avail. Fixing the cells would not work due to the variability of it.
There's no way of automatically modifying everything since it's notanother type of databases. The easiest way in my opinion is go to Edit - Find and Replace and Replace All those values. If the Data Validation is linked to a range, then it will be updated too
I'm trying to make a file to track the time I study a certain subject:
I would like now to make a chart with all the values (that in this case are durations) in the B, C and D columns, but I don't really understand how to do it. When I select the cells and click "create chart" it does the following:
which is obiously wrong. If i remove "date" from the "series list" in the settings of the chart above i get the following:
But I don't understand what this represent. How can I do this? Please keep it simple.. This is the first time for me using google sheets
Ps i just realized that that kind of format specifies a time (2am, 3am etc) and not a duration. Is there any format that indicate a duration?
Here is what to do:
1.) Select all of your time columns entirely within the spreadsheet itself (not the graph). Using your posted setup, that would be Col-B, Col-C, Col-D. To do this, just click on the "B" at the top of Col-B, hold down the mouse and drag right to Col-D, then release. If you have more columns than these that will record durations for classes, select those as well.
2.) From the main menu, choose **Format > Number > Custom number format > **. In the field at the top, enter this format: [h]:mm
The second chart in your post is actually correct. It's just showing your durations as the decimal percentage of a full day on the Y-axis. The steps above should cause the chart to adjust to showing durations.
I have a google sheet chart based on a simple dataset. Column A is the x-axis, column B is the series, and I would like to use column C as my labels for the series. You can see this below:
My understanding is that (and I have done that in the past) I can select the series, press the "3 dots" and click on "Add labels" so I can configure column C as the labels for the series, as shown below.
It turns out that when I click "Add labels", nothing happens. Has anyone seen this? It seems random since when I try simpler datasets, sometimes it works.
EDIT:
I removed the series, removed the x axis, and then removed the Data Range. Started from scratch, and then it allowed me to add labels.
Here's a data sample
and screenshots too.
I'm trying to make a waterfall chart with Start/End year performance and contributions. I was trying to make the chart more descriptive by including a customized label, with percentage variations.
No matter how I select the labels column, the ending Subtotal bar is independent from the others. I'm trying to customize both bottom and top labels, but I'm more concerned on the top one (the growth/loss percentage or the absolute value at the end of the year.
Thanks again to #kirkg13 for guiding me through the solution. It was not quite difficult in the end, but I think the option should be made clearer/simpler in some future updates.
You can check my solution on the Chart 4 from the sample file as long as It'll be online. Steps are as follows:
1: Lay the data in three columns: Column names, values (start value, absolute deltas and end values) and custom labels (whatever you like, in my case % variations for all columns except start/end). Include the subtotal column
2: On the chart editor make sure all the data is selected, including the sub-total (from Start Year to End Year in my example). Check that x-axis and series are correctly assigned (column 1 and 2); from the series click and add a label, selecting the third column.
3: This is the part I had difficulties finding: on customize>series>data labels, you need to:
Uncheck the "Add subtotal..." box (optionally check the "Use first value as subtotal" one, for better color clarity
Below, click "Add new subtotal".
The new Subtotal must be of "type" "Replacing" and "column index" as the last column you have
The end result is as below: all columns have a customizable name and label, with coherent colors.
On IBM SPSS I am trying to create four simple scatter graphs for the following data.
I want to plot weight on one axis, carbohydrates on another axis, but I want a graph for four different seasons.
I have tried making a simple scatter, by putting weight on x axis and carbs on the y axis but am unsure how to create the four different seasons.
I tried putting seasons in the panel - column, but I just get four graphs on one single line.
Can anyone help with this?
In the menus, select Data>Split File, click on the Compare groups option on the right, move the season variable into the Groups Based on box, then click OK. Then just run the simple scatterplot and you'll get one for each season. Make sure to go back and select the "Analyze all cases, do not create groups" option in the Data>Split File dialog box before you do further analyses where you want to include all cases. The split status is displayed in the lower right corner of the Data Editor window. Reopening the file will automatically turn off the splitting.