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 calculate transition probabilties?Hi, I am trying to use the following model: UTPr,s = Pr (Yt > s+r | Yo < s) to calculate upwa…
Writing string variable to x-axis while actually plotting numeric variableI have this data. var1 var2 var3 apple 1 4 banana 2 6 strawberry 3 9 To draw a graph, I do Code:…
Using datetime in an expression? (Or dropping duplicates with an *earlier* datetime?)Hello! I am looking at the results of a survey in which some respondents submitted a response premat…
meta regressionHi, We conducted a meta-analysis to find if hyperglycaemia is associated with increased risk of mort…
ardlthe ardl optimal lag length code is not working at all i have 5 countries t= 28 five independent var…
Subscribe to:
Post Comments (Atom)
0 Response to Sample Size Calculation for a Population Proportion
Post a Comment