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
FMM lcprob variablesHello experts, In FMM (finite mixture models), our main models(s) could have certain IVs. Then, I c…
Complex dummy variableHi STATLIST, Merry Christmas to those celebrating it and happy new Year. I have a question about th…
Cox regression with enourmous Hazard Ratio (logarithmic)Dear forum, I have encountered a problem in that for my Cox regression my output gives enourmous Ha…
IDs in different categories : how to count ?Dear statalist members, I have a sample of about 1 million people (id) with one or more records in …
Simple Time Series RegressionHello everyone, I have a fairly simple question and hope you guys can help me out. I already studie…
Subscribe to:
Post Comments (Atom)
0 Response to Problem with the power oneslope command
Post a Comment