spss compound bar chart category axis has multiple variables
SPSS 20
3 variables: Groups, hsCRP, X (value)
Graphs->Legacy Dialogs->Bar ChartBar
Clustered bar chart: Summaries for groups of cases, definition Difine
Other statistics (such as mean) Other Statistics, put
Upper right corner, Options
Display error bars, confidence interval Confidence Interval, continue, OK.
How to use spss to make harmonic curve diagrams and constellation diagrams
The specific steps for drawing line graphs are as follows:
Open the [Graphs] menu and select the [Line Charts] command under the [Legacy Dialogs] command. SPSS will pop up the "Line Charts" navigation dialog box. As shown below.
In this navigation dialog box, the user can select the type of line graph and define the expression of data in the line graph.
SPSS roughly divides line graphs into 3 types:
(1)Simple: Single line graph, there is only one horizontal polyline in a graph;
(2)Multiple: Multi-line chart, there are multiple horizontal polylines in one graph;
(3) Vertical line graph (Drop-line): vertical line graph. There are multiple sets of horizontal data in one graph, but they are not connected in the horizontal direction, but only the data at the same time point in the vertical direction. The data is connected.
Data in Chart are columns: Users can choose the following data expression types in bar charts:
Summaries for groups of cases: Graphed using categorical values, each line in the line graph represents a category of the observed quantity;
Summaries of separate variables: Use variable values to plot, each line in the line graph represents a variable;
Values of individual cases: Use unit values to plot, and each line in the line graph represents an observation value.
Through different combinations of the above three line graph types and three data expression types, SPSS can generate 9 different line graphs. This book takes the user's selection of "simple" line graph and "case group summary" as an example to explain the steps for drawing line graphs.
Click the [Define] button to enter the formal definition dialog box "Define Simple Line: Summaries for groups of cases" dialog box, as shown in the figure. Depending on the line graph type and data expression type selected by the user, the name of the dialog box that appears is also different.
In this dialog box, the user first needs to specify the drawing variables, that is, by clicking the button to select multiple variables that need to be drawn as a line chart from the original variables on the left and enter the "Lines Represent" on the right. The numerical values of the plot variables will be represented on the vertical axis of the line graph.
At the same time, users need to specify categorical variables. Users can choose to use the "Case number" (Case number), that is, the number of the observation, as the categorical variable, or they can select the "Variable" option and click the button to select a variable as the categorical variable. For example, in time series analysis, users can treat time variables as categorical variables. Values for categorical variables will be represented on the horizontal axis of the line graph.
The other parts of this dialog box and the "Title" dialog box that pops up by clicking the "Title" button are all related to "Define Simple Bar:Summaries for Case Groups" Groups of Cases) dialog box is exactly the same and will not be described again here.
In the main dialog box of "Define Simple Line Graph: Case Group Summary", click the [OK] button to get the line graph in the result output window.
The above is the detailed content of Category axis in multivariate compound bar chart. For more information, please follow other related articles on the PHP Chinese website!