So, the research question at hand is: Of farmers growing a biofortified corn variety, what percentage of their total corn consumption is biofortified?
I am currently trying to calculate the sample size needed to answer the aforementioned question.
It seems as though the sample size equation for an interval estimate of population proportion should be sufficient for the question at hand (reference: https://select-statistics.co.uk/calc...on-proportion/)
*With a total population of 4,000, 5% margin of error, 95% confidence, and an estimated population proportion of 50%, I'm getting a total sample size of 351
However, given that I trust Stata much more than some random online calculator, I tried computing this directly in Stata and can't seem to identify the correct sample size test. I attempted using the command:
power oneproportion
But this requires that I know something about the hypothesized and alternate proportions, and since the null proportion can't be equal to the alternative I'm not sure what to do.
So my question for you stata and statistics experts is two fold:
1. What is the command in stata to calculate the sample size for a population proportion?
2. Given the limited information I've provided, is this the sample size methodology you would be employing? *bearing in mind that literature on this topic is rather sparse
Thank you very much for your assistance
Related Posts with Sample Size Calculation for a Population Proportion
How to generate predicted value by beta/standardized regression coefficients, rather than unstandardized ones?Is there a simple way to generate predicted value by beta/standardized regression coefficients. For …
Grouping multiple entries for a distinct id in longitudinal dataDear all, This might be a trivial question, however, I am posting as I have searched multiple stata…
How to remove an extra digit/character from a string variableDear Statalist users I have a dataset which has a string variable in three parts, by convention, se…
Multilevel ordinal logit modellingI run a multilevel ologit command on his data but Stata says:"initial values not feasible r(1400);".…
xtmerlogitFriends, I had this query; I am fitting three levels logistic-mixed effect model with Random coeff…
Subscribe to:
Post Comments (Atom)
0 Response to Sample Size Calculation for a Population Proportion
Post a Comment