Hi!
I want to do a power analysis for a slope test in my linear regression, the command I have tried to run is:
power oneslope 0, n(10392) power(0.80) sdx(1.1) sdy(1.16) alpha(0.01)
but this does not work and I get the following message: "failure to compute effect size; The power function could not be evaluated at the initial values."
I think I have figured out that my problem is that my sample size is too high (n=10392), this since the command works fine up to n(4300).
Does anyone know why the command does not work with higher sample sizes, or have I misinterpreted n here? In the description is says "n=sample size; required to compute power or effect size"
Best regards, Linda
Related Posts with Problem with the power oneslope command
freduse errorWhen I use the freduse command I get the following error: . freduse gdp Java installation not f…
Inputting value of previous rowsHello, I am new to Stata and currently using Stata 15.1. I am working on a project involving firms a…
changing several currencies over multiple years to EUROHey, I am using stata (for the first time) for my thesis. At the moment I have got a large database …
suest, mysuest, and multiple imputations...Hi all, First post here, but have been learning a lot from forum posts for a while. I'm using sues…
constructing a vector of variables in order to make panel estimationHello everyone I have a set of indicators that represent my control variables I would like to create…
Subscribe to:
Post Comments (Atom)
0 Response to Problem with the power oneslope command
Post a Comment