-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SF_12 PCS Pathways #239
Comments
Some work to finish off in #231 before this can be completely finished (cross-validation for VALIDATION point, and some fixes for the outcome visualisation of PCS), but the vast majority of this can be started at any point. |
Discussion PointsEarly indications that there will be lots to discuss from this round of data discovery, so I'm listing them all here and will try to arrange a meeting most likely next week.
|
ModulesAfter discussion on 8/6/23, these are the modules we have settled on as a good mix of important and achievable. Material DeprivationShould be a simple proxy to create, we have a couple of 4 level ordinal variables asked to every household with either no pensioners or pensioners and children. Can just take the mean of these variables for a material deprivation composite. This should be related to hh_income (as questions are all '{do you have} enough money to i.e. keep your house in a decent state of repair?). Exercise / FitnessCan use government guidelines to determine what is a healthy level of exercise vs unhealthy, then create a binary variable. Guidelines state that health activity level is at least 150 minutes of moderate intensity exercise, or 75 minutes vigorous intensity. Job SatisfactionCan just use the jbsat variable for this, although in the data discovery we have a large amount of related information that could be used to expand this in the areas of hours worked, working arrangements (part-time, on-call, work from home etc.), autonomy of work, psychological job stress (feels uneasy about job, feels depressed, miserable etc.). Alcohol UseHave AUDIT-PC scores that we can use to create a 3 level ordinal:
Which should make quite a simple module. Chronic DiseaseSome work to do here before this can go into a module.
|
May be way too complicated an approach, but for quantitative measure of severity of chronic disease, how about years of life lost (YLL)? Quick search found this for Germany, see Figure 2, it's also age-specific. So for a given age group, (relative) severity of disease is proportion of YLL. |
Looks like a good place to start and could be used to justify any decisions we make, cheers! |
Looks like data for England and Wales are available in massive detail... Of the US variables you found, it looks like most are present one-to-one, e.g. asthma, coronary heart disease, others present but not one-to-one, e.g. emphysema comes under "bronchitis and emphysema". |
AlcoholDocstring from generate_composite_vars.calculate_auditc_score(): Alcohol use disorders can be assessed via the AUDITC score. This score is derived from 3 questions that form part of
Each question is ordinal with 5 levels, depending on the 'severity' of the answer. We then score each question from To calculate this score, ee rely on 4 variables in Understanding Society shown at the following link: Question 1 above relies on auditc1 & auditc3, question 2 relies on auditc4, and question 3 uses auditc5. NOTE: The final variable used (auditc5) specifically mentions 6 or more drink frequency, rather than 6+/8+ units. Sample CheckInteresting here that the number of missing values jumps in 2020. Assuming this has something to do with COVID? Maybe people were less happy to talk about their consumption during COVID lockdowns? Unfortunately due to the lack of information on the website we don't have any idea why... There is some literature using these variables though so I'll have a look through that also. HandoversCross-Validation[EDIT] Forgot to copy 2015 data onto 2014 as no alcohol data in 2014. |
Current PCS PlotsThis is with the following variables as predictors of PCS:
Arguments to be made I think over loneliness and financial situation, will take some time before merging any of this work to get literature backing for any decisions we make. HandoversCross-Validation |
Happy with pathways at the mo (few issues to resolve still but we have a working model) so closing this now. |
Need some additional modules and some modifications to others:
ok my takeaway for the income -> PCS pathways:
Steps:
make handovers
,make cross_validation
)NOTE: We don't need variables that span the entire length of data anymore, as we are currently only using the 2017-2018 model for SF_12_MCS. Therefore the only absolute thing we need is data for any variables that make up a pathway in 2017, as we need to be able to fit a one yearly model for the pathway variables (i.e. 2016-2017) and a one yearly model for SF_12_PCS (2017-2018).
WORKING GOOGLE DOC
The text was updated successfully, but these errors were encountered: