![]() ![]() I thought I could use R to generate a linear model with glm, and then use predict to predict the outcome. So my question is, if I have a new male subject of given genotype and age, what is the best combination of doses that will give a positive outcome with the highest probability? Or, to see things the other way around, given the other parameters, what are the odds of having a positive outcome with a given set of doses? I would like to make a predictive model to determine the optimal combination of Dose 1 and Dose 2 to have a desired outcome. I have several parameters, but for the sake of simplicity let's say my data look like: Sex | Age | Genotype | Dose 1 | Dose 2 | Outcome I have a series of descriptors, some continuous, some discrete and an output variable which is dichotomous. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |