Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » sci.math.* » sci.stat.edu.independent

Topic: How to generate continuous variable corresponding to Odds Ratio X
Replies: 2   Last Post: Nov 4, 2006 8:00 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Greg Heath

Posts: 5,689
Registered: 12/7/04
Re: How to generate continuous variable corresponding to Odds Ratio X
Posted: Nov 4, 2006 8:00 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


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




Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2013. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.