Notice: On March 31, it was **announced** that Statalist is moving from an email list to a **forum**. The old list will shut down on April 23, and its replacement, **statalist.org** is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

From |
Nick Cox <njcoxstata@gmail.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: Sample size calculations |

Date |
Thu, 14 Mar 2013 14:14:34 +0000 |

Regressions are not called "multivariate" if there is only one response. Perhaps several decades ago having several variables in a dataset was enough for people to talk about multivariate problems, but terminology has changed. See also -help mvreg-. That aside, what you are trying to do here? Sample size calculations are for planning data collection, but it seems that you have the data. Data on frequency of -ethnicity- is directly obtainable by e.g. -tabulate-. If you are seeking some answer to the questions of the form "how large would be my sample size need to be for something to be significant at some level?" then you can experiment directly. Use -expand- or weighting to see what answers would be with a larger dataset. Or sample randomly to get a smaller dataset. Nick On Thu, Mar 14, 2013 at 2:01 PM, Amal Khanolkar <Amal.Khanolkar@ki.se> wrote: > I plan to run a set of multivariate linear regressions models which will help analyze ethnic differences in my outcome of interest. > > regress Y i.ethnicity age i.education height bmi bloodpressure > > I have 14 different ethnic groups. > > As some of my ethnic groups are fairly small I would like to calculate the sample size needed for each of the fourteen ethnic groups. I have a rough idea of the expected effect or parameter p in each ethnic group. > > I've only calculated sample sizes for a two group comparison using the sampsi command in Stata. > > Does anyone know how I could go about testing expected sample sizes for several categories of the exposure variable? > > I would set other parameters needed to calculate sample size as follows: alpha=0.05, power (0.90), expected effect for most ethnic groups varies between -2.85 to -7.65 > * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/faqs/resources/statalist-faq/ * http://www.ats.ucla.edu/stat/stata/

**References**:**st: Sample size calculations***From:*Amal Khanolkar <Amal.Khanolkar@ki.se>

- Prev by Date:
**st: Sample size calculations** - Next by Date:
**st: Tab a variable by several other variables (but not a multiple-way crosstab)** - Previous by thread:
**st: Sample size calculations** - Next by thread:
**Re: st: Sample size calculations** - Index(es):