Questions tagged [power-analysis]
33 questions
0
votes
1 answer
How long should a Monte Carlo bootstrap power analysis simulation in R take? Is it potentially hours? (1000 reps, 1000 bootstraps)
I am using a Monte Carlo simulation to run a power analysis for a longitudinal mediation model. I'm using the power.boot function from the bmem package (lavaan).
I checked the code with only 5 reps/5 bootstrap to make sure it worked and it did.
Then…

Enrage
- 1
0
votes
1 answer
power.prop.test Error when running a for loop
When I tried to run a power.prop.test to perform a power analysis for an A/B testing, it performed well. However, when I tried to draw a plot of sample size needed for a series of "power", I did a for loop, them the console gave me this error.
p2…

clause_yl
- 21
- 4
-1
votes
0 answers
Syntax question in R for power analysis on proportions
I'm attempting to do a power analysis on occurrence data (0.0 -> 1.0; i.e. the number a sites a species was present out of the total number of sites sampled for a single season), where I want to see what power I have to detect a change of 20%…

Nate
- 411
- 2
- 10