Looking for a Data Scientist to complete the below job:
A health researcher is interested in knowing whether a novel diet can help women lose weight. She conducts a randomized clinical trial over a period of 6 months to test whether the diet works. Five hundred women are randomized to receive the new diet (treatment) and five hundred are randomized to continue with their own diet (control). Weight in pounds is recorded at baseline (visit number 1) and at the beginning of every subsequent month for the next 5 months. The investigator wants to know whether the new diet will affect one’s weight over time differently for those on the new diet versus those not receiving the new diet.
There are two data sets describing the results. They are included as comma-delimited files. The first, dataset1.csv, contains three variables: theid (the patient’s unique identifier), treatment (an indicator for whether the patient received the new diet (1) or not (0)), and age (the patient’s age in years at study entry). The second data set, dataset2.csv, contains three variables: id (the patient’s unique identifier), outcome (the patient’s weight in pounds recorded at a particular visit), and visitnumber (the visit number).
1) Create an analytic data set by appropriately merging the two files, and provide code for how you arrived at your analytic data set.
2) Fit a model that assesses whether treatment has an impact on weight and in particular, that allows the treatment effect to vary over time. For simplicity, it is reasonable to assume that weight behaves linearly over time within each treatment group. As there are multiple measurements per patient, a model that accounts for correlation of responses within an individual may be important.
3) Write out and describe the model that you fit (that is, explain what type of model you chose and write out the terms symbolically).
4) Interpret the results of the model fit to the investigator. Please assume the investigator has no statistical knowledge and effectively communicate the results to the investigator.
Please send samples of previous work as data scientist.Looking to hire someone for multiple projects.