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
re-arrange dataHi, I have this type of table in Stata: industry_id period_1 period_2 sales_1 sales_2 11 1 0 10…
Treatment and Period omitted because of collinearity (DiD)Dear Statalist Community, I am hopeful that you help me on this one as you did before. I have a mis…
reg3 and xtabond2 Dear Statalist, I have estimated the 3SLS model below. reg3 (eq1: y1 = x1 x2 x3 x4 x5 dum1 dum2 d…
factor variables may not contain noninteger valuesHi, I am trying to run the following regression: reg logchildwage logheadwage POOR age NPERSONS URB…
Remove margin below X-titleHi Statalist, I need to embed a local polynomial graph inside a LaTeX document. In order to keep th…
Subscribe to:
Post Comments (Atom)
0 Response to Problem with the power oneslope command
Post a Comment