(12C) Binary Outcome
|
04-07-2018, 08:49 AM
(This post was last modified: 04-07-2018 09:16 AM by Gamo.)
Post: #1
|
|||
|
|||
(12C) Binary Outcome
Suppose you want to test whether more people respond to one drug versus another, or whether one advertising campaign is more effective than another. In either case, you have a binary outcome. Someone either responds to the drug or they don't. They either buy the product or they don't.
In either case you have a probability of something happening, P1 for one group and P2 for the other , and you would like to test whether the two probability are different enough to tell apart that their difference is statistically significant. If you are designing an experiment, how many people should use in each group? This program estimate n, the number of subjects you need to assign to each, based on you initial guesses at p1 and p2 Program: Code:
Example: Suppose p1 = 0.1 and p2 = 0.3 .1 ENTER .3 R/S > 64 with two group total > 2 x > 128 You need 64 subjects per group. n is the number in each group, so the total needed is 2n then total for both group is 128 Note that this is only a rough estimate good for quick estimation. Gamo |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(12C) Binary Outcome - Gamo - 04-07-2018 08:49 AM
RE: (12C) Binary Outcome - Dieter - 04-07-2018, 06:10 PM
RE: (12C) Binary Outcome - Gamo - 04-08-2018, 02:58 AM
RE: (12C) Binary Outcome - Dieter - 04-08-2018, 07:39 AM
RE: (12C) Binary Outcome - Dieter - 04-09-2018, 07:59 AM
RE: (12C) Binary Outcome - Gamo - 04-09-2018, 02:49 PM
RE: (12C) Binary Outcome - SlideRule - 04-09-2018, 03:51 PM
|
User(s) browsing this thread: 1 Guest(s)