Hello R people,

I am looking to pay someone to help write some R code.

Inputs:
Study identifier:   ID Number for the study, each ID number is for one study only each block set should only be used for that study.   This will require that you store the results from the blocks someplace on the file system.
Trait #1:  dichotomous rural / urban
Trait #2:  dichotomous sick / healthy
Assignment Ratio:  a number between 0 and 1, usually .5 but, for this study it would be .67. Indicating the % of participants to be randomized to the intervention arm.  1-the Assignment Ratio will be the number of participants to be randomized to the control arm.   So for example, for each  6 person block,  4 would be assigned to intervention and 2 to control.
Four blocks will be in action at any given time one each  for each of the following combinations FOR EACH STUDY ID.
Rural + sick      Rural + healthy   urban + sick     urban + healthy
The status of where we are in each block for each study will need to be stored somewhere.

Returned value
Study Arm:   dichotomous  Intervention / Control

There might be some code that helps do this in R already.
 http://rss.acs.unt.edu/Rdoc/library/blockrand/html/blockrand.package.html

 http://docs.google.com/viewer?a=v&q=cache:BnSasjcO0xQJ:personality-project.org/revelle/syllabi/205/block.randomization.pdf+r+block+randomization&hl=en&gl=us&pid=bl&srcid=ADGEESj9HQShWGzlfTJZOQQdCyohIcLV8HptDj8JZqsXbzDIZLUM6J3BDe6dpTsw95JcG6QDeiPn

The purpose of block randomization is to insure equal distribution the two traits (in this case urban / rural and sick/healthy) across the two study arms.


This will be called as each person enrolls in the study. So you will need to store the block data some place per study id.

I am happy to pay someone to work on this problem for me.  Please contact me off list, if you are willing and able.

Thanks,
Michael  Hess
University of Michigan


**********************************************************
Electronic Mail is not secure, may not be read every day, and should not be used for urgent or sensitive issues 

	[[alternative HTML version deleted]]

