Skip to content

ICF-Analytics/ADIA-Study-2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ADIA-Study-2

#Description for ADIA study 2 folder organization

  1. "Data". This folder include all data created and used for ADIA-study 2 analysis
  2. "SAS Program". This folder include SAS program of data management and cleaning
    i."MH_SUD_outcomes.sas" create "any mental health" and "any suicidal attempt" outcomes
    ii."RiskBeh_Outcome.sas" create any risk behavior outcomes
    iii."PCE_correct_neigh_safety.sas" create positive childhood experiences
    iv."OCS_expanded_ACE.sas" create expanded ACEs and OCS
    v."Merge_long.sas" merge all demographics, expanded ACES and OCS, PCEs and outcomes to a long datafile by child ID and time
    vi."Merge.sas" merge all demographics, expanded ACES and OCS, PCEs and outcomes to flat datafile by child ID
    vii."agg_LS.sas" create a summary data with demographics, expanded ACES and OCS, PCEs and outcomes
  3. "Analysis". Each subfolder include the analysis for each outcome with the following program codes

    i. "1.Matching.tree.r" code implement the "matching case-control" analysis as well as running "classical regression tree" analysis
    ii."2.Causaltree.r" code implement the "causal regression tree analysis
    iii."3.Matching.pclogit.r" code implement the Penalised conditional logistic regression analysis
    iv. "4.Bayesian clogit with horse shoe.r" code implement Bayesian clogit analysis
  4. "Descriptive". This folder include SAS program for the ad-hoc descriptive analysis
    i."Descriptive_table.sas" create the descriptive frequency tables
    ii."crosstabfreqs_add_neigh_safety.sas" create the descriptive frequency tables for PCEs "supportive environment" measures
    iii."crosstabfreqs.sas" create the crosstabulation
  5. "R". External function to find the balancing weights for "causal tree" analysis
    -"find.weights.r"
  6. "Output" folder