Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
|
|
Re: How to generate continuous variable corresponding to Odds Ratio X
Posted:
Nov 4, 2006 8:00 AM
|
|
Haris wrote: > I am looking to generate a continuous normally distributed random > variable with a given MEAN and SD for two groups. Is there a > systematic way to generate two such groups with N number of cases so > that their odds ratio in a logistic regression would be predictable? > In my case I am looking for OR=1.5 but any other number would do. > > Two normally distributed groups is the idealized case. If there are > other distributions that I can use to solve this problem I would love > to hear about them as well.
I'm probably missing something. Why won't two normal distributions with the same standard deviation and priors P1 = 2/5, P2 = 3/5 do the trick?
Greg
|
|
|
|