I want to do power computation for testing differnce between two log normal means with R. Can you write using R code? best wishes...
- Anybody can ask a question
- Anybody can answer
- The best answers are voted up and rise to the top
closed as not a real question by chl♦ Aug 9 '12 at 23:16
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.
A simple method for any power calculation is to use simulations. Simulate data that represents what you are trying to test (difference, sample size, etc.) and test for the difference and save the p-value, repeate a bunch of times. The proportion of times that your saved p-values are less than your $\alpha$ is the estimated power.