By Anonymous - November 3, 2014
Baseline Variable: DEPRESSY
Description
Number of years since diagnosed with: Depression requiring medicines
Notes
* "Never Had" value, coded as 0, added as appropriate as part of the never_had_updates
.
* Only present in version 1
Data Values
Current
| Levels | Value |
|---|---|
| (empty string) | Missing |
| 0 | Never Had (derived from on A04Q8 variables) |
| 1 | Less than 5 years ago |
| 2 | 5-9 years ago |
| 3 | 10-14 years ago |
| 4 | 15-19 years ago |
| 5 | 20+ years ago |
Original
| Levels | Value |
|---|---|
| (empty string) | Missing |
| 1 | Less than 5 years ago |
| 2 | 5-9 years ago |
| 3 | 10-14 years ago |
| 4 | 15-19 years ago |
| 5 | 20+ years ago |
Related variables
* A04Q8
- "never been told that you had any of the conditions listed below"
* DEPRESS
- Treated for this in the last 12 months: Depression requiring medicines
Location
Questionnaires
| Questionnaire Version | Labeled Page | Physical Page | TIFF Image Index | Scan Path |
|---|---|---|---|---|
| 1 | A4 info / ![]() |
7 | 04 | ''R:\Tiff_Quest_V1'' |
| 2 | not present | |||
| 3 | not present |
Database Tables
| Table Name | Description |
|---|---|
| image.dbo.part1 | modified version 1 part 1 data |
| image.dbo.part1_unmodified | original/raw version 1 part 1 data |
Modifications
"Never Had" Update
For details see: "Never Had" updates
. This is a never_had_updates#Type 5
variable.
SQL Code:
-- Version 1
update image.dbo.part1
set DEPRESSY = 0
where DEPRESSY = ''
and A04Q8 = 1;
-- Version 2/3
-- Not present
Before / After counts
Version 1
| Before | After | ||||
|---|---|---|---|---|---|
| A04Q8 | DEPRESSY | Count | A04Q8 | DEPRESSY | Count |
| 2653 | 2653 | ||||
| 1 | 180 | 1 | 180 | ||
| 2 | 84 | 2 | 84 | ||
| 3 | 63 | 3 | 63 | ||
| 4 | 30 | 4 | 30 | ||
| 5 | 60 | 5 | 60 | ||
| 1 | 1943 | 1 | 0 | 1943 | |
| 1 | 1 | 3 | 1 | 1 | 3 |
| 1 | 2 | 5 | 1 | 2 | 5 |
| 1 | 4 | 2 | 1 | 4 | 2 |
| 1 | 5 | 2 | 1 | 5 | 2 |
Version 2 / 3
(not present)
