In sensitivity analyses, the critical population effect size is computed as a function of Alpha, 1 - beta, and N. Sensitivity analyses may be particularly useful for evaluating published research. They provide answers to questions such as “What effect size was a study able to detect with a power of 1 - beta = .80 given its sample size and Alpha as specified by the author? In other words, what is the minimum effect size to which the test was sufficiently sensitive?” In addition, it may be useful to perform sensitivity analyses before conducting a study to see whether, given a limited N, the size of the effect that can be detected is at all realistic (or, for instance, much too large to be expected realistically).
Faul et al (2007). G*Power 3: A flexible statistical power analysis program for the social, behavioral, and biomedical sciences. https://link.springer.com/article/10.3758/BF03193146
For SEM, there is also a nice way: pwrSEM
https://github.com/yilinandrewang/pwrSEM/blob/master/README.md
I wrote with one of the authors, he answered:
But finding the minimal effect size that would have adequate power for the N you used is not dependent on your data, so it’s not post-hoc. You can use pwrSEM for this, but you’ll have to use trial-and-error. That is, input your N and alpha, pick some effect size and see what power you get, and the iterate this procedure, adjusting the effect size, until you get the power level you want.
So, the shiny-app is great, use your output to feed it and adjust your coefficients.
Found some examples:
Examples of a sensitivity power analysis
From https://doi.org/10.1016/j.intell.2021.101615
The sample size was constrained by available cases, not determined by a priori calculation. However, we established whether our sample size was sufficient for a minimum effect of interest through power analysis via simulation with 5000 iterations. Specifically, we simulated the SEM shown in Fig. 1, Fig. 2 using the covariance matrix from the Italian normative sample of the WISC-IV as the prior (Orsini et al., 2012). Concerning the minimum effects of interest, we set a coefficient for gender on the latent factors equivalent to a standardized effect of B = 0.10 (corresponding to Cohen’s d = 0.20). As power is constrained by the smallest group, and our female subsample was just over 500, we performed all simulations with N = 1000. Considering a critical α = 0.05, power was slightly suboptimal: 82% for the VCI; 73% for the PRI; 69% for the WMI; 75% for the PSI; finally, it was 80% for the g-factor. Different models were simulated for each of the effects. For a slightly larger standardized effect of interest of B = 0.15 (corresponding to Cohen’s d = 0.30), power seemed sufficient: 99% for the VCI; 98% for the PRI; 96% for the WMI; 98% for the PSI; 99% for the g-factor.