Hi All,
I want to know the STATA command to calculate sample size using sample error formula. n=[(z_(α∕2) )σ/SE]^2
I have (SE, CI, SD in the following example) :
What sample size is needed to be 95% confident the mean is within ± 10? The standard deviation is 30.
Thanks.!
I used -power- command but it requires reference mean value while the above formula doesn't require one.
Regards,
Related Posts with sample size using sample error formula in STATA
Monte Carlo - Simulations: random samples, record meansHello, I have a dataset with the variable "LeadLevels" (continuous numerical variable, cannot be a …
factor-variable and time-series operators not allowedHi everyone,Hi everyone, I am working with cross section data in STATA 16. I am using the command IVQREG2 and w…
nl with inequality constraints lead to bad local optima, with fixStataCorp has a helpful FAQ, How do I fit a linear regression with interval (inequality) constraints…
Basic sum questionHello, I am new to stata and I need to calculate the gross value added in the entire year 2020 (both…
ARDL-EC model specificationHi everyone, assume the Stata command is as follows: xtpmg d.Y d.X, lr(l.Y X) ec(ec) replace pmg T…
Subscribe to:
Post Comments (Atom)
0 Response to sample size using sample error formula in STATA
Post a Comment