|
|
|
||||
|
|
|||||
Page 245 Table 11.1 Means and standard deviations for nondepressed and depressed adults in Los Angeles County
File Open - open the depression data set
Statistics
Basic statistics
Descriptives
Variables - select sex, age, education, income, health, beddays, acuteill and chronill
"Advanced" tab - uncheck "Valid N" and "Minimum and maximum"
Select cases (middle of the right-hand side of the dialogue box)
Check the "Enable selection conditions" box to active the
"Include cases" and "Exclude cases" dialogue box
In the "Include cases" box, change the radio button to "Specific, selected by"
In the "By expression" box in the "Include cases" box, type "cases = 0" (without the quotation marks)
OK
| Mean | Std.Dev. | |
|---|---|---|
| SEX | 1.59 | 0.49 |
| AGE | 45.24 | 18.15 |
| EDUCAT | 3.55 | 1.33 |
| INCOME | 21.68 | 15.98 |
| HEALTH | 1.71 | 0.80 |
| BEDDAYS | 0.17 | 0.38 |
| ACUTEILL | 0.28 | 0.45 |
| CHRONILL | 0.48 | 0.50 |
NOTE: Change the selection condition to cases = 1.
| Mean | Std.Dev. | |
|---|---|---|
| SEX | 1.80 | 0.40 |
| AGE | 40.38 | 17.40 |
| EDUCAT | 3.16 | 1.17 |
| INCOME | 15.20 | 9.84 |
| HEALTH | 2.06 | 0.98 |
| BEDDAYS | 0.42 | 0.50 |
| ACUTEILL | 0.38 | 0.49 |
| CHRONILL | 0.62 | 0.49 |
Page 248 Figure 11.2 Distribution of income for depressed and nondepressed individuals showing effects of a dividing point at an income of $18440
We were unable to reproduce this graph.
Page 249 Table 11.2 Classification of individuals as depressed or not depressed on the basis of income alone
Statistics
Multivariate exploratory techniques
Discriminant analysis
Variables - select cases as the grouping variable and income as the independent variable
OK
OK
RESULTS
"Classification" tab - change the radio button under "A priori classification probabilities"
to "same for all groups"
Classification matrix
| Percent | normal | depresse | |
|---|---|---|---|
| normal | 49.6 | 121 | 123 |
| depresse | 62.0 | 19 | 31 |
| Total | 51.7 | 140 | 154 |
Page 252 Figure 11.5 Classification of individuals as depressed or not depressed on the basis of income and age
We were unable to reproduce this graph.
Page 253 Table 11.3 Classification of individuals as depressed or not depressed on the basis of income and age
Statistics
Multivariate exploratory techniques
Discriminant analysis
Variables - select cases as the grouping variable and income and age as the independent variables
OK
OK
RESULTS
"Classification" tab - change the radio button under "A priori classification probabilities"
to "same for all groups"
Classification matrix
| Percent | normal | depresse | |
|---|---|---|---|
| normal | 63.1 | 154 | 90 |
| depresse | 60.0 | 20 | 30 |
| Total | 62.6 | 174 | 120 |
Page 257 Table 11.4 Classification function and discriminant coefficients for age and income from BMDP 7M
From the results from Table 11.3, click on the "classification functions" button.
| normal | depresse | |
|---|---|---|
| AGE | 0.1634 | 0.1425 |
| INCOME | 0.1360 | 0.1024 |
| Constant | -5.8641 | -4.3483 |
Page 258 Covariances in the middle of the page
NOTE: We reduced the number of decimals shown by highlighting those cells and clicking on the ".00 -> .0" button at the top. We also deleted some unnecessary columns and rows from the output.
Statistics
Advanced linear/non-linear models
General regression models
Multiple regression
OK
"Quick" tab
Variables - select cases as the dependent variable and age and income
as the independent variables
OK
RESULTS
"Matrix" tab
Covariance
| Col. 2 | Col. 3 | Col. 4 | |
|---|---|---|---|
| AGE | 327.083 | -53.007 | -0.68856 |
| INCOME | -53.007 | 233.788 | -0.91721 |
| CASES | -0.689 | -0.917 | 0.14163 |
Page 268 Table 11.5 Partial printout from BMDP 7M for classification into more than two groups, using the depression data with K = 3 groups
Before you can do this, you need to add a new variable to the data set and use the variable cesd to recode the new variable. To add the new variable, highlight the variable that you would like to have come immediately after the new variable and click on "Insert" (part of the main menu at the top) and click on "Add variable". This will open a dialogue box in which you can name the variable, etc. (We named our new variable cases3.) Click on "OK" to create the variable. Next, click on "Data" (from the main menu at the top) and click on "Recode". Follow the coding scheme given on page 267 in the middle of the text.
Statistics
Multivariate exploratory techniques
Discriminant analysis
Variables - select cases3 as the grouping variable and sex, age, educat, income, health and beddays
as the independent variables
OK
OK
RESULTS
"Classification" tab - change the radio button under "A priori classification probabilities"
to "same for all groups"
Classification functions
Number of variables in the model: 6 Wilks' Lambda: .8398356 approx. F (12,572) = 4.347020 p < .0000
| G_1:0 | G_2:1 | G_3:2 | |
|---|---|---|---|
| SEX | 7.07529 | 7.49617 | 8.14165 |
| AGE | 0.16774 | 0.13935 | 0.11698 |
| EDUCAT | 2.54993 | 2.82551 | 2.68116 |
| INCOME | 0.10533 | 0.09005 | 0.06537 |
| HEALTH | 2.13954 | 2.75024 | 3.10425 |
| BEDDAYS | -0.97394 | -0.80246 | 0.46685 |
| Constant | -17.62108 | -18.54811 | -18.81631 |
NOTE: We could only find the standardized coefficients for the canonical variables in Statistica, not the raw coefficients as shown in the text.
Page 271 Figure 11.6 Plot of the canonical variables for the depression data set with k = 3 groups
We were unable to reproduce this graph.
UCLA Researchers are invited to our Statistical Consulting Services
We recommend others to our list of Other Resources for Statistical Computing Help
These pages are Copyrighted (c) by UCLA Academic Technology Services