Changeset 20739 in main


Ignore:
Timestamp:
06/08/20 18:12:21 (4 weeks ago)
Author:
LoisHaggard_NM
Message:

nm backend qModules 2.3 sex ratio

File:
1 edited

Legend:

Unmodified
Added
Removed
  • adopters/nm/trunk/src/main/backend_qModules/2.3/_EPHT/birth/EPHT_SexRatio.def

    r12040 r20739  
    9494data tmp;
    9595   set rate;
    96    ratio=(males/females); *100;
     96   ratio=(males/females)*100;
    9797   n=(males+females);
    9898run;
     
    103103data tmp;
    104104  set tmp;
    105   stderr=(sqrt((1/males)+(1/females))); *100;
     105  stderr=(sqrt((1/males)+(1/females)))*100;
    106106      /*Not sure bout this formula. It's similar to the formula for
    107107       s.e. of an odds ratio. But I couldn't find anything exactly
    108108       appropriate, so it may not be correct.*/
     109 
    109110  t1=ratio-(1.96*stderr);
    110111  if (t1<0) then t1=0;
Note: See TracChangeset for help on using the changeset viewer.