Changeset 6585 in main


Ignore:
Timestamp:
06/29/14 19:42:43 (7 years ago)
Author:
Paul Leo
Message:

Making more changes to work with Hawaii data. Decided to use generalized version of age adjusted sas program. It normalized wgts, age groups were missing - got the same answers using the specialized and generalized versions

Location:
adopters/hi/trunk/src/main/backend_qModules/brfss13
Files:
2 added
1 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • adopters/hi/trunk/src/main/backend_qModules/brfss13/BRFSS13.cfg

    r6504 r6585  
    55# Date        By         Description
    66# ----------  ---------  -----------------------------------------------------------
     7# 06/15/2014  Paul       Modified for Hawaii demographic vars
    78# 02/16/2014  Lois       Starting over with CDC datasets, more indicator vars, etc.
    89#===================================================================================
     
    1415#d saspop C:\ibisq\sasData\final\
    1516#r sasdata hi_brfs
    16 r sasdata brfss04_12x
     17r sasdata brfss04_12
    1718#d saspopdata popibiscnty90_11_2013mar18
    1819d sas_bin "C:\Program&Files\SASHome\SASFoundation\9.4\sas.exe"
     
    727322 MARITAL SurvDemoMar null MaritalStatus num 0 8
    737422 LGBT SurvDemoSxOr null SexualOrientation num 0 8
    74 23 GEOCNTY GeoCnty null CountyFIPS num 0 8
    75 23 GEOREGION GeoRegion null NMHealthRegion num 0 8
     7523 County_n GeoCnty null CountyFIPS num 0 8
     76#23 GEOREGION GeoRegion null NMHealthRegion num 0 8
    767723 null GeoProxy null YearProxyVar num 10 8
    7778## Social Determinants       
  • adopters/hi/trunk/src/main/backend_qModules/brfss13/Mammo40AgeAdj.def

    r6448 r6585  
    11f label PercentageMammogram-Past2yrs,Age40+
    22f type special_survey
    3 f include TotalSurvAADist10GE40.sas
     3f include TotalSurvAADist10.sas
    44#f no_total true
    55#f data_where year&in&(2004,2006,2008,2010)&and&SEX=2&and&_AGE4CAT&in&(3,4)
  • adopters/hi/trunk/src/main/backend_qModules/brfss13/Mammo50AgeAdj.def

    r6425 r6585  
    11f label PercentageMammogram-Past2yrs,Age50+
    22f type special_survey
    3 f include TotalSurvAADist10GE50.sas
     3#f include TotalSurvAADist10GE50.sas  the line below is using generalized sas program
     4f include TotalSurvAADist10.sas
    45#f no_total true
    56#f data_where year&in&(2004,2006,2008,2010)&and&SEX=2&and&_AGE4CAT&in&(3,4)
  • adopters/hi/trunk/src/main/backend_qModules/brfss13/PhysInactAgeAdj.def

    r6420 r6585  
    22f type special_survey
    33f include TotalSurvAADist10.sas
    4 ##f no_total true
     4#f no_total true
    55#f data_where year>=2004
    66#########################################
    77--------BoNdArY--------
    881 script
    9 OPTIONS nocenter linesize=180;
     9OPTIONS nocenter nonumber nodate pagesize=4000  linesize=180;
    1010%include %include%;
    1111%ageadjrt(_PHYSINACT,_FINALWT);
  • adopters/hi/trunk/src/main/backend_qModules/brfss13/TotalSurvAADist10GE40.sas

    r6448 r6585  
    3232   by %cross1% %cross3% AAdist10;
    3333   if first.AAdist10;
    34    select (AAdist10);   
    35           when (4) aawt=0.3578019;
    36           when (5) aawt=0.258343007;
    37           when (6) aawt=0.16977526;
    38           when (7) aawt=0.136579173;
    39           otherwise aawt0.07750066=0;
     34   select (AAdist10); 
     35          when (3) aawt=0.3578019;
     36          when (4) aawt=0.258343007;
     37          when (5) aawt=0.16977526;
     38          when (6) aawt=0.136579173;
     39          when (7) aawt=0.07750066;
     40          otherwise aawt=0;
    4041   end; *end select;
    4142run;
     
    6667   merge work.domain(in=indomain) WtSum;
    6768   by %cross1% %cross3% %surveyvar2%;
    68    if indomain;
    69    select (AAdist10);
    70           when (4) aawt=0.402279465; *these are "raw" age-adjusting weights;
    71           when (5) aawt=0.264365241;
    72           when (6) aawt=0.212675407;
    73           when (7) aawt=0.120679887;
     69   select (AAdist10); 
     70          when (3) aawt=0.3578019;
     71          when (4) aawt=0.258343007;
     72          when (5) aawt=0.16977526;
     73          when (6) aawt=0.136579173;
     74          when (7) aawt=0.07750066;
    7475          otherwise aawt=0;
    7576   end; *end select;
Note: See TracChangeset for help on using the changeset viewer.