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
statistically significant difference between predicted probabilities in continuous * continuous interactionsDear Statalist community: I have a logit model predicting DV (0 or 1) with two continuous independe…
Standard error correction in Binary Selection model with endogenous variables.I am running a two step selection regression in stata, where there also exists an endogenous variabl…
Mixed Effect Model? (Fixed + Random)Dear all, I am working with panel data. I did the tests and they suggest fixed effect adjustment. …
Exporting results after t-test , esttabHi All, My dataset resembles the following: Code: * Example generated by -dataex-. To install: s…
Test for the mistakes of model with panel dataHi, I'm running panel data with N = 8 countries, T = 21 years. What types of test do I need for eac…
Subscribe to:
Post Comments (Atom)
0 Response to Problem with the power oneslope command
Post a Comment