powered by
show a plot showing power as function of N for a given effect and alpha
semPower.powerPlot.byN(effect = NULL, effect.measure = NULL, alpha, df, p = NULL, SigmaHat = NULL, Sigma = NULL, power.min = alpha, power.max = 0.999, steps = 50, linewidth = 1)
effect size specifying the discrepancy between H0 and H1
type of effect, one of "F0", "RMSEA", "Mc", "GFI", AGFI"
alpha error
the model degrees of freedom
the number of observed variables, required for effect.measure = "GFI" and "AGFI"
model implied covariance matrix. Use in conjuntion with Sigma to define effect and effect.measure.
population covariance matrix. Use in conjuntion with SigmaHat to define effect and effect.measure.
minimum power, must not be smaller than alpha
maximum power
number of steps
linewidth
powerplot
# NOT RUN { semPower.powerPlot.byN(effect = .05, effect.measure = "RMSEA", alpha = .05, power.min = .05, power.max = .999, df = 200) # }
Run the code above in your browser using DataLab