<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Ask Power - Recent questions in Use of WebPower</title>
<link>https://webpower.psychstat.org/qanda/questions/use-of-webpower</link>
<description>Powered by Question2Answer</description>
<item>
<title>An error occured. Please check your input or contact us with the code 373368653a8043b6b945e45f7da0fb1c.</title>
<link>https://webpower.psychstat.org/qanda/165/occured-please-contact-373368653a8043b6b945e45f7da0fb1c</link>
<description>&lt;script type=&quot;text/javascript&quot; src=&quot;../../qa-plugin/syntax-highlighter/scripts/shCore.js&quot;&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;../../qa-plugin/syntax-highlighter/scripts/shAutoloader.js&quot;&gt;&lt;/script&gt;&lt;link type=&quot;text/css&quot; rel=&quot;stylesheet&quot; href=&quot;../../qa-plugin/syntax-highlighter/styles/shCoreDefault.css&quot;/&gt;&lt;script type=&quot;text/javascript&quot;&gt;
				var hl_oldOnLoad = window.onload; 
				window.onload = function(){
					if (typeof hl_oldOnLoad == &#039;function&#039;)  
						hl_oldOnLoad(); 
					SyntaxHighlighter.autoloader(
						&#039;applescript            ../../qa-plugin/syntax-highlighter/scripts/shBrushAppleScript.js&#039;,
						&#039;actionscript3 as3      ../../qa-plugin/syntax-highlighter/scripts/shBrushAS3.js&#039;,
						&#039;bash shell             ../../qa-plugin/syntax-highlighter/scripts/shBrushBash.js&#039;,
						&#039;coldfusion cf          ../../qa-plugin/syntax-highlighter/scripts/shBrushColdFusion.js&#039;,
						&#039;cpp c                  ../../qa-plugin/syntax-highlighter/scripts/shBrushCpp.js&#039;,
						&#039;c# c-sharp csharp      ../../qa-plugin/syntax-highlighter/scripts/shBrushCSharp.js&#039;,
						&#039;css                    ../../qa-plugin/syntax-highlighter/scripts/shBrushCss.js&#039;,
						&#039;delphi pascal          ../../qa-plugin/syntax-highlighter/scripts/shBrushDelphi.js&#039;,
						&#039;diff patch pas         ../../qa-plugin/syntax-highlighter/scripts/shBrushDiff.js&#039;,
						&#039;erl erlang             ../../qa-plugin/syntax-highlighter/scripts/shBrushErlang.js&#039;,
						&#039;groovy                 ../../qa-plugin/syntax-highlighter/scripts/shBrushGroovy.js&#039;,
						&#039;java                   ../../qa-plugin/syntax-highlighter/scripts/shBrushJava.js&#039;,
						&#039;jfx javafx             ../../qa-plugin/syntax-highlighter/scripts/shBrushJavaFX.js&#039;,
						&#039;js jscript javascript  ../../qa-plugin/syntax-highlighter/scripts/shBrushJScript.js&#039;,
						&#039;perl pl                ../../qa-plugin/syntax-highlighter/scripts/shBrushPerl.js&#039;,
						&#039;php                    ../../qa-plugin/syntax-highlighter/scripts/shBrushPhp.js&#039;,
						&#039;text plain             ../../qa-plugin/syntax-highlighter/scripts/shBrushPlain.js&#039;,
						&#039;py python              ../../qa-plugin/syntax-highlighter/scripts/shBrushPython.js&#039;,
						&#039;ruby rails ror rb      ../../qa-plugin/syntax-highlighter/scripts/shBrushRuby.js&#039;,
						&#039;sass scss              ../../qa-plugin/syntax-highlighter/scripts/shBrushSass.js&#039;,
						&#039;scala                  ../../qa-plugin/syntax-highlighter/scripts/shBrushScala.js&#039;,
						&#039;sql                    ../../qa-plugin/syntax-highlighter/scripts/shBrushSql.js&#039;,
						&#039;vb vbnet               ../../qa-plugin/syntax-highlighter/scripts/shBrushVb.js&#039;,
						&#039;xml xhtml xslt html    ../../qa-plugin/syntax-highlighter/scripts/shBrushXml.js&#039;
					);
					SyntaxHighlighter.config.stripBrs = true;
					SyntaxHighlighter.all()
				}
	
				&lt;/script&gt;</description>
<category>Use of WebPower</category>
<guid isPermaLink="true">https://webpower.psychstat.org/qanda/165/occured-please-contact-373368653a8043b6b945e45f7da0fb1c</guid>
<pubDate>Fri, 29 May 2026 02:01:02 +0000</pubDate>
</item>
<item>
<title>clarification of input for moderated mediation model 7</title>
<link>https://webpower.psychstat.org/qanda/148/clarification-of-input-for-moderated-mediation-model-7</link>
<description>Dear WebPower team,&lt;br /&gt;
&lt;br /&gt;
Thanks for this great tool!&lt;br /&gt;
&lt;br /&gt;
I would like to ask clarification on the following inputs for model 7 moderated mediation.&lt;br /&gt;
&lt;br /&gt;
1. Are the regression coefficients supposed to be standardized betas?&lt;br /&gt;
&lt;br /&gt;
2. How to decide on the moderator value?&lt;br /&gt;
&lt;br /&gt;
More generally, it is not always clear to me in WebPower which measures of effect size I should input.&lt;br /&gt;
&lt;br /&gt;
Thanks very much in advance.&lt;br /&gt;
&lt;br /&gt;
Best wishes,&lt;br /&gt;
&lt;br /&gt;
Lukas Van Oudenhove</description>
<category>Use of WebPower</category>
<guid isPermaLink="true">https://webpower.psychstat.org/qanda/148/clarification-of-input-for-moderated-mediation-model-7</guid>
<pubDate>Thu, 06 Mar 2025 07:49:13 +0000</pubDate>
</item>
<item>
<title>WebPower removed from CRAN?</title>
<link>https://webpower.psychstat.org/qanda/126/webpower-removed-from-cran</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;I noticed &lt;a rel=&quot;nofollow&quot; href=&quot;https://cran.r-project.org/web/packages/WebPower/index.html&quot;&gt;WebPower&lt;/a&gt; was removed from CRAN on 7/19/2022.&amp;nbsp; Is there a plan to add it to CRAN again?&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;</description>
<category>Use of WebPower</category>
<guid isPermaLink="true">https://webpower.psychstat.org/qanda/126/webpower-removed-from-cran</guid>
<pubDate>Wed, 20 Jul 2022 15:13:31 +0000</pubDate>
</item>
<item>
<title>Power Curve  for multigroup mediation models, non normal data and a continious moderator</title>
<link>https://webpower.psychstat.org/qanda/113/multigroup-mediation-models-normal-continious-moderator</link>
<description>- Is it possible to calculate a power curve for multigroup mediation models in R?&lt;br /&gt;
&lt;br /&gt;
- Is it possible to take account for non normal data in R when x is dichotomous?&lt;br /&gt;
&lt;br /&gt;
- Is there another way to calculate power for an moderated mediation model when the moderator is continious than to use +/- 1SD of the moderator (w)? I could calculate Johnson-Neyman intervals for the x-w-y realationship and put the group split at the first significant value of the moderator for example.&lt;br /&gt;
&lt;br /&gt;
Thank you and kind regards,&lt;br /&gt;
&lt;br /&gt;
Alex</description>
<category>Use of WebPower</category>
<guid isPermaLink="true">https://webpower.psychstat.org/qanda/113/multigroup-mediation-models-normal-continious-moderator</guid>
<pubDate>Sun, 23 Jan 2022 12:48:29 +0000</pubDate>
</item>
<item>
<title>A question on the syntax for power analysis using the &quot;wp.mc.sem.basic&quot; function</title>
<link>https://webpower.psychstat.org/qanda/88/question-the-syntax-for-power-analysis-using-basic-function</link>
<description>&lt;p&gt;&lt;span style=&quot;font-family:Arial,Helvetica,sans-serif&quot;&gt;Please let me illustrate my question with a concrete example of power analysis for the following model (some irrelevant parts have been omitted to save space):&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Arial,Helvetica,sans-serif&quot;&gt;library (WebPower)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Arial,Helvetica,sans-serif&quot;&gt;model.2f &amp;lt;- &#039;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Arial,Helvetica,sans-serif&quot;&gt;F1 =~ a*x1 + start (.55)*x1 + start (.7)*x2 + start (.7)*x3&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Arial,Helvetica,sans-serif&quot;&gt;F2 =~ b*x4 + start (.6)*x4&amp;nbsp; + start (.6)*x5 + start (.5)*x6&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Arial,Helvetica,sans-serif&quot;&gt;F1 ~~ start (1)*F1&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Arial,Helvetica,sans-serif&quot;&gt;F2 ~~ start (1)*F2&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Arial,Helvetica,sans-serif&quot;&gt;F1 ~~ start (.3)*F2&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Arial,Helvetica,sans-serif&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Arial,Helvetica,sans-serif&quot;&gt;x1 ~~ start(.6)*x1&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Arial,Helvetica,sans-serif&quot;&gt;…&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Arial,Helvetica,sans-serif&quot;&gt;&#039;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Arial,Helvetica,sans-serif&quot;&gt;power.2f &amp;lt;- wp.mc.sem.basic(model = model.2f, indirect = NULL, nobs = 100, nrep = 5000)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Arial,Helvetica,sans-serif&quot;&gt;summary (power.2f)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Arial,Helvetica,sans-serif&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Arial,Helvetica,sans-serif&quot;&gt;In the outputs, the power analysis results (MSE, SD, Power, Coverage) for the indicator variables, x1 and x4, of the two respective factors in the model are not available, though I have set both factors’ variances as 1 and the loadings of x1 and x4 as freely estimated.&amp;nbsp; By “not available” I mean their corresponding output rows are like:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Arial,Helvetica,sans-serif&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; True&amp;nbsp; Estimate&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MSE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Power Coverage&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Arial,Helvetica,sans-serif&quot;&gt;&amp;nbsp; F1 =~&amp;nbsp;&amp;nbsp;&amp;nbsp; x1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (a)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.550&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.550&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.000&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NaN&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.000&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Arial,Helvetica,sans-serif&quot;&gt;&amp;nbsp; …&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Arial,Helvetica,sans-serif&quot;&gt;&amp;nbsp; F2 =~&amp;nbsp;&amp;nbsp;&amp;nbsp; x4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (b)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.600&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.600&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.000&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NaN&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.000&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Arial,Helvetica,sans-serif&quot;&gt;&lt;span style=&quot;font-size:11pt&quot;&gt;Grateful if you could advise how the power analysis results can be displayed for ALL the indicator variables (x1 – x6 in this case) of a measurement model when the latent variables they indicate have been set to have unit variances.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description>
<category>Use of WebPower</category>
<guid isPermaLink="true">https://webpower.psychstat.org/qanda/88/question-the-syntax-for-power-analysis-using-basic-function</guid>
<pubDate>Mon, 24 May 2021 08:03:16 +0000</pubDate>
</item>
<item>
<title>Power analysis for data-model fit using a Monte-Carlo approach</title>
<link>https://webpower.psychstat.org/qanda/87/power-analysis-for-data-model-fit-using-monte-carlo-approach</link>
<description>&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;Grateful if your team could advise whether the WebPower or any other R package(s) may provide power analysis facilities using a &lt;strong&gt;Monte-Carlo approach&lt;/strong&gt; for the &lt;strong&gt;fit indices&lt;/strong&gt; (e.g., AIC, SRMR) of a given structural equation model. For example, Mplus provides Monte Carlo analysis outputs for the expected and observed distributions of the fit indices of a specified model. It will be great if you can point me to similar facilities/functionalities available via WebPower or other R packages that are free. (I understand the functions of WebPower like &quot;wp.sem.chisq&quot;, &quot;wp.sem.rmsea&quot;&amp;nbsp;provide power analysis for fit statistics/indices - I am specifically interested in the availability of the corresponding facilities using a Monte Carlo approach).&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description>
<category>Use of WebPower</category>
<guid isPermaLink="true">https://webpower.psychstat.org/qanda/87/power-analysis-for-data-model-fit-using-monte-carlo-approach</guid>
<pubDate>Mon, 24 May 2021 02:47:09 +0000</pubDate>
</item>
<item>
<title>how to perform sensitivity power analysis for independent samples t-test using our effect size?</title>
<link>https://webpower.psychstat.org/qanda/86/perform-sensitivity-analysis-independent-samples-effect</link>
<description>hi there,&lt;br /&gt;
&lt;br /&gt;
i used one way between groups ANOVA for my data, 3 groups, the overall result was non significant, so I did not follow any planned contrasts ( 2 planned contrasts).&lt;br /&gt;
&lt;br /&gt;
however, I was told that I may need to run 2 a priori analysis &amp;nbsp;&amp;nbsp;for indenpendent samples t test for two groups, two tailed , but because the data is already collected then I have to run sensitivity power based on the sample I was given. I have 2 effect size for both groups ( anger group 0.08, fear group, 0.10)&lt;br /&gt;
&lt;br /&gt;
I uploaded my data file www.webpower.psychstat.org/models/means03/effectsize.php&lt;br /&gt;
&lt;br /&gt;
regards</description>
<category>Use of WebPower</category>
<guid isPermaLink="true">https://webpower.psychstat.org/qanda/86/perform-sensitivity-analysis-independent-samples-effect</guid>
<pubDate>Sun, 23 May 2021 16:04:49 +0000</pubDate>
</item>
<item>
<title>how to determinate ng and nm in wp.rmanova</title>
<link>https://webpower.psychstat.org/qanda/85/how-to-determinate-ng-and-nm-in-wp-rmanova</link>
<description>Hi,&lt;br /&gt;
&lt;br /&gt;
I am calculating the needed sample size for a new experiment using wp.rmanova function. The experiment is a fully crossed within-subject 2x2 design. I have two factors, and each factor has two levels. It is a signal detection type of experiment. For each condition, it has 180 trials. So, total 180 * 4 = 720 trials for each participant.&lt;br /&gt;
&lt;br /&gt;
I am confused about what the inputs for ng and nm in this situation are. According to the manual, ng seems to be the number of between-subject factors, and nm seems to be the levels of the within-subject factors. &lt;br /&gt;
&lt;br /&gt;
Thus, should the parameters be ng = 1 and nm = 4, ng = 1 and nm = 2, or considering each trial is one measurement, ng = 1 and nm = 720?&lt;br /&gt;
&lt;br /&gt;
Thank you for your help!</description>
<category>Use of WebPower</category>
<guid isPermaLink="true">https://webpower.psychstat.org/qanda/85/how-to-determinate-ng-and-nm-in-wp-rmanova</guid>
<pubDate>Mon, 17 May 2021 23:56:36 +0000</pubDate>
</item>
<item>
<title>Power calculation for model with ordinal outcome variable</title>
<link>https://webpower.psychstat.org/qanda/78/power-calculation-for-model-with-ordinal-outcome-variable</link>
<description>&lt;p&gt;Hello,&lt;br&gt;&lt;span style=&quot;color:#222222; font-family:Helvetica,Arial,sans-serif; font-size:15px&quot;&gt;I am conducting a power calculation for a Stan model using brm() (&lt;/span&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.rdocumentation.org/packages/brms/versions/2.12.0/topics/brm&quot;&gt;https://www.rdocumentation.org/packages/brms/versions/2.12.0/topics/brm&lt;/a&gt;) and wp.regression(). My model&amp;nbsp;&lt;span style=&quot;color:#222222; font-family:Helvetica,Arial,sans-serif; font-size:15px&quot;&gt;has an ordered factor as the outcome variable and therefore uses family ‘cumulative’. &lt;/span&gt;&lt;span style=&quot;color:#222222; font-family:Helvetica,Arial,sans-serif; font-size:15px&quot;&gt;However, I am having trouble calculating the model&#039;s R^2 statistic because the function bayes_R2() does not accept input from a model with an ordinal outcome variable / cumulative family type. Is there another way to compute the R^2 statistic for this type of model?&lt;/span&gt;&lt;/p&gt;</description>
<category>Use of WebPower</category>
<guid isPermaLink="true">https://webpower.psychstat.org/qanda/78/power-calculation-for-model-with-ordinal-outcome-variable</guid>
<pubDate>Fri, 01 May 2020 16:06:40 +0000</pubDate>
</item>
<item>
<title>Does wp.regression() alpha parameter specify a one-tailed or two-tailed test?</title>
<link>https://webpower.psychstat.org/qanda/76/does-regression-alpha-parameter-specify-tailed-tailed-test</link>
<description>I am using the function wp.regression() and setting the alpha parameter to 0.05. However it&amp;#039;s not clear whether it is computing a one-tailed or two-tailed test. Which test is default, and can I specify that one-tailed is required?</description>
<category>Use of WebPower</category>
<guid isPermaLink="true">https://webpower.psychstat.org/qanda/76/does-regression-alpha-parameter-specify-tailed-tailed-test</guid>
<pubDate>Fri, 01 May 2020 15:56:27 +0000</pubDate>
</item>
<item>
<title>Effect size in RM ANOVA: f or d?</title>
<link>https://webpower.psychstat.org/qanda/74/effect-size-in-rm-anova-f-or-d</link>
<description>Hi,&lt;br /&gt;
&lt;br /&gt;
I have been trying to determine the sample size for a repeated measures design with one repeated measures variable with two levels.&lt;br /&gt;
&lt;br /&gt;
First, I tried with the t-test (&lt;a href=&quot;https://webpower.psychstat.org/models/means01/),&quot; rel=&quot;nofollow&quot;&gt;https://webpower.psychstat.org/models/means01/),&lt;/a&gt; with power = 0.80, alpha = 0.05, two sided, type = paired, and a medium effect size of d = 0.50 (I assumed that the effect size was Cohen&amp;#039;s d because of the outcome of the analysis and the man page of the R package). The result is n = 33.37, which is consistent with pwr package in R.&lt;br /&gt;
&lt;br /&gt;
I also tried to replicate the analysis above with a repeated measures ANOVA (&lt;a href=&quot;https://webpower.psychstat.org/models/means05/&quot; rel=&quot;nofollow&quot;&gt;https://webpower.psychstat.org/models/means05/&lt;/a&gt;). My understanding is that for a within participants design with one variable with two levels, if parameters are the same the results (i.e., the expected n) should be the same as with the t-test.&lt;br /&gt;
&lt;br /&gt;
For one group and two measures (that is, only one RM factor with two levels), power = 0.80, type of effect = within, and leaving sample size empty, for a medium effect of Cohen&amp;#039;s f = 0.25 (equivalent to a d = 0.50) the outcome is that I would need 127.5 participants. Interestingly, if I enter f = 0.50 the outcome is n = 33.37, as with the t-test.&lt;br /&gt;
&lt;br /&gt;
It also happens the other way round: in the t-test power analysis, if we introduce d = 0.25 the resulting n is 127.5. Thus, it seems that Cohen&amp;#039;s d in the t-test and Cohen&amp;#039;s f in the RM ANOVA are the same, when actually they are different (f = d / 2).&lt;br /&gt;
&lt;br /&gt;
I wonder if I misunderstood the effect size of the RM ANOVA and, instead of f, it is a d, or there is any other difference between the t-test and the RM ANOVA in this particular case. Could you, please, confirm whether in the RM ANOVA we should enter Cohen&amp;#039;s f or Cohen&amp;#039;s d as effect size? If it&amp;#039;s Cohen&amp;#039;s f, why the discrepant results between the t-test and the RM ANOVA?&lt;br /&gt;
&lt;br /&gt;
Thanks for your time.</description>
<category>Use of WebPower</category>
<guid isPermaLink="true">https://webpower.psychstat.org/qanda/74/effect-size-in-rm-anova-f-or-d</guid>
<pubDate>Thu, 23 Apr 2020 19:16:33 +0000</pubDate>
</item>
<item>
<title>post hoc power analysis</title>
<link>https://webpower.psychstat.org/qanda/68/post-hoc-power-analysis</link>
<description>Hi&lt;br /&gt;
&lt;br /&gt;
I tested the simple mediation model in the manual (page 287):&lt;br /&gt;
&lt;br /&gt;
Initially, I defined the parameter estimates as follows:&lt;br /&gt;
&lt;br /&gt;
a @ .39 b @ .39 and cp @ 0, but the program gave an error.&lt;br /&gt;
&lt;br /&gt;
later&lt;br /&gt;
&lt;br /&gt;
a? .39 b? .39 and cp? 0, but the program gave an error again.&lt;br /&gt;
&lt;br /&gt;
I gathered data from a small group to determine the sample size for my study (n = 117). Firstly, I analyzed this data. I want to add the parameter estimates I obtained from this analysis as fixed values in the model, and I want to calculate power according to these values.&lt;br /&gt;
&lt;br /&gt;
@ or ? instead of using *, the program runs, but the parameter estimates on the output page are not what I initially defined; Estimates close to 0.&lt;br /&gt;
&lt;br /&gt;
What do you suggest in this case? I want to know if I should add to my sample by doing post hoc power analysis.&lt;br /&gt;
&lt;br /&gt;
Thank you.&lt;br /&gt;
&lt;br /&gt;
Zeynep</description>
<category>Use of WebPower</category>
<guid isPermaLink="true">https://webpower.psychstat.org/qanda/68/post-hoc-power-analysis</guid>
<pubDate>Tue, 18 Feb 2020 20:43:46 +0000</pubDate>
</item>
<item>
<title>Please send us the URL to your analysis day=20200207&amp;base=67d262748ad87d3963c776f660248cad so that we can fix it.</title>
<link>https://webpower.psychstat.org/qanda/66/analysis-20200207%26base-67d262748ad87d3963c776f660248cad</link>
<description>Hello,&lt;br /&gt;
&lt;br /&gt;
I want to calculate power for the 65th model of Dr. Hayes. I used Hayes&amp;#039;symbols. I added following interactions to &amp;quot;Power parameter section&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
a1b3: = a1 * b3&lt;br /&gt;
&lt;br /&gt;
a1b4: = a1 * b4&lt;br /&gt;
&lt;br /&gt;
a3b1: = a3 * b1&lt;br /&gt;
&lt;br /&gt;
a3b3: = a3 * b3&lt;br /&gt;
&lt;br /&gt;
a3b4: = a3 * b4&lt;br /&gt;
&lt;br /&gt;
I also added covariance to among the independent variables in the model, described all paths and covariances as &amp;quot;? .10&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Webpower gives a calculation error. What could be the source of the problem?&lt;br /&gt;
&lt;br /&gt;
Thank you.</description>
<category>Use of WebPower</category>
<guid isPermaLink="true">https://webpower.psychstat.org/qanda/66/analysis-20200207%26base-67d262748ad87d3963c776f660248cad</guid>
<pubDate>Fri, 07 Feb 2020 14:32:10 +0000</pubDate>
</item>
<item>
<title>Effect Size for 3-arm cluster randomized trial</title>
<link>https://webpower.psychstat.org/qanda/58/effect-size-for-3-arm-cluster-randomized-trial</link>
<description>Hi,&lt;br /&gt;
&lt;br /&gt;
I am in the process of calculating the effect size for a 3-arm cluster randomized trial. I was successful in calculating it using your software. However, I would like to see the equations that enabled the calculation, so I can repeat it in SAS and references for the equations as I need it for a paper I am writing.&lt;br /&gt;
&lt;br /&gt;
Thanks!</description>
<category>Use of WebPower</category>
<guid isPermaLink="true">https://webpower.psychstat.org/qanda/58/effect-size-for-3-arm-cluster-randomized-trial</guid>
<pubDate>Sun, 17 Mar 2019 08:35:08 +0000</pubDate>
</item>
<item>
<title>Representing interaction terms in montecarlo SEM power</title>
<link>https://webpower.psychstat.org/qanda/57/representing-interaction-terms-in-montecarlo-sem-power</link>
<description>Hello,&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;ve been rethinking my previous question and I think, I would be able to solve that one if I knew how to represent interaction terms between exogenous variables with lavaan based syntax for a sem montecarlo power estimation.&lt;br /&gt;
&lt;br /&gt;
Is there anyway I can do it?&lt;br /&gt;
&lt;br /&gt;
For example when dealing with moderated mediation?</description>
<category>Use of WebPower</category>
<guid isPermaLink="true">https://webpower.psychstat.org/qanda/57/representing-interaction-terms-in-montecarlo-sem-power</guid>
<pubDate>Tue, 05 Mar 2019 16:37:41 +0000</pubDate>
</item>
<item>
<title>Sample size for a 3-way moderation and moderated mediation</title>
<link>https://webpower.psychstat.org/qanda/55/sample-size-for-a-3-way-moderation-and-moderated-mediation</link>
<description>Good morning,&lt;br /&gt;
&lt;br /&gt;
Could you please help me out in a setting a template (R syntax) to simulate power at various sample sizes for&lt;br /&gt;
&lt;br /&gt;
mod3 &amp;lt;- &amp;#039;&lt;br /&gt;
# Model 3 PROCESS Hayes - 3way interaction&lt;br /&gt;
# XW, XZ, WZ, XWZ are products of predictors/moderators&lt;br /&gt;
Y ~ b1*X + b2*W + b3*Z + b4*XW + b5*XZ + b6*WZ + b7* XWZ&lt;br /&gt;
&amp;#039;&lt;br /&gt;
fit&amp;lt;-lavaan::sem(mod3, df, se = &amp;quot;boot&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
X, W and Y are continouse&lt;br /&gt;
Z is a 2 level factor, coding experimental conditions (treatment vs control)&lt;br /&gt;
&lt;br /&gt;
I fitted this model on pilot study data where a 3way interaction was hypothesized. Of course I had to manually compute product variables for interaction terms&lt;br /&gt;
&lt;br /&gt;
Now I&amp;#039;d like to run a sample size simulation for an other study, where both Z and W will be experimental conditions (2x2 between subjects) and the effect size is expected to by small-medium.&lt;br /&gt;
I can&amp;#039;t figure out, how to handle the fact that XZ, XW, ZW, XWZ are not distinct measured variables but products.&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;d appreciate your help in sorting this out.&lt;br /&gt;
&lt;br /&gt;
The lab i&amp;#039;m working in, deals with (in Andrew Hayes PROCESS terminology) moderations (model1 and 3), simple mediation (model4 - that&amp;#039;s easy), and moderated mediations (model 7 and model 14).&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;d love to sort out a workable simulation template for doing sample size calculations at (conservatively) low effect sizes.&lt;br /&gt;
&lt;br /&gt;
Thank you</description>
<category>Use of WebPower</category>
<guid isPermaLink="true">https://webpower.psychstat.org/qanda/55/sample-size-for-a-3-way-moderation-and-moderated-mediation</guid>
<pubDate>Tue, 05 Mar 2019 11:22:48 +0000</pubDate>
</item>
<item>
<title>multilevel modeling power analysis</title>
<link>https://webpower.psychstat.org/qanda/52/multilevel-modeling-power-analysis</link>
<description>Hi, I have a two-level nested-design dataset for power analysis. Level 1 represent goals we have subjects listed; level 2 represent differences between individuals. So it is goal nested in person design. The tricky thing is that we do not have treatment/control group; all variables are continuous. Not sure if wecan use WebPower to calculate power.</description>
<category>Use of WebPower</category>
<guid isPermaLink="true">https://webpower.psychstat.org/qanda/52/multilevel-modeling-power-analysis</guid>
<pubDate>Sat, 29 Sep 2018 17:06:48 +0000</pubDate>
</item>
<item>
<title>accounting for clustered data</title>
<link>https://webpower.psychstat.org/qanda/48/accounting-for-clustered-data</link>
<description>Hi! I&amp;#039;d like to do a power analysis for latent-variable path model (SEM). I will be using clustered data (assessment scores from about 260 children who were in clusters of about 6 children per classroom). &amp;nbsp;I plan to use the option in Mplus to adjust standard errors for clustering, as I&amp;#039;d like to avoid multilevel modeling. &amp;nbsp;Is there a way to account for this clustered data in webpower? Thank you!</description>
<category>Use of WebPower</category>
<guid isPermaLink="true">https://webpower.psychstat.org/qanda/48/accounting-for-clustered-data</guid>
<pubDate>Mon, 30 Jul 2018 20:42:06 +0000</pubDate>
</item>
<item>
<title>Could you please guide me in calculating skewness and kurtosis (Mardia&#039;s multivariate coefficient): load data, etc</title>
<link>https://webpower.psychstat.org/qanda/37/calculating-skewness-kurtosis-multivariate-coefficient</link>
<description>I have been struggling to upload my data to enable me calculate mulitivariate normality using Mardia&amp;#039;s coefficient. Could you please guide or help me with instructions on how to do this?&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
Many thanks,&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
Swala</description>
<category>Use of WebPower</category>
<guid isPermaLink="true">https://webpower.psychstat.org/qanda/37/calculating-skewness-kurtosis-multivariate-coefficient</guid>
<pubDate>Sun, 27 Aug 2017 00:17:28 +0000</pubDate>
</item>
<item>
<title>Where can I download the WebPower package for R?</title>
<link>https://webpower.psychstat.org/qanda/30/where-can-i-download-the-webpower-package-for-r</link>
<description>I would like to download the WebPower package so that I can incorporate the power analysis code directly into my R scripts. &amp;nbsp;Is this possible or does it only run on a server? &amp;nbsp;If it is possible where I download the package?</description>
<category>Use of WebPower</category>
<guid isPermaLink="true">https://webpower.psychstat.org/qanda/30/where-can-i-download-the-webpower-package-for-r</guid>
<pubDate>Thu, 20 Apr 2017 21:04:34 +0000</pubDate>
</item>
<item>
<title>But why you equalize S with the standard error (S.E.)?</title>
<link>https://webpower.psychstat.org/qanda/22/but-why-you-equalize-s-with-the-standard-error-s-e</link>
<description>In the formulae of Sp, S_1^2 and S_2^2 it refers to standard deviation of each population, why you equalize to the standard error?. &lt;br /&gt;
&lt;br /&gt;
Thanks for your time Johnny!!!</description>
<category>Use of WebPower</category>
<guid isPermaLink="true">https://webpower.psychstat.org/qanda/22/but-why-you-equalize-s-with-the-standard-error-s-e</guid>
<pubDate>Mon, 14 Mar 2016 08:08:57 +0000</pubDate>
</item>
<item>
<title>but in that case, where do I put the mean values of my samples?</title>
<link>https://webpower.psychstat.org/qanda/18/but-in-that-case-where-do-i-put-the-mean-values-of-my-samples</link>
<description>&lt;p&gt;
	Thanks Johnny&lt;span style=&quot;font-family: Segoe UI, Segoe UI Web Regular, Segoe UI Symbol, Helvetica Neue, BBAlpha Sans, S60 Sans, Arial, sans-serif; color: #444444;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 21.3px;&quot;&gt;!....but, If I leave the effect size blank, where do I put the values of my means and the standard deviation?.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description>
<category>Use of WebPower</category>
<guid isPermaLink="true">https://webpower.psychstat.org/qanda/18/but-in-that-case-where-do-i-put-the-mean-values-of-my-samples</guid>
<pubDate>Thu, 10 Mar 2016 14:47:48 +0000</pubDate>
</item>
<item>
<title>Can I estimate the detectable differences with Web Power?</title>
<link>https://webpower.psychstat.org/qanda/16/can-i-estimate-the-detectable-differences-with-web-power</link>
<description>&lt;p&gt;
	Hello, Im trying to perform a post-hoc analysis to estimate the detectable differences (percentage difference of detectable&lt;/p&gt;
&lt;div&gt;
	treatment means relative to control means) for a = 0.05 and a power of 80%. Does Web Power do this?...I have been&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	trying but &amp;nbsp;cant find the correct way. Want to estimate the detectable differences of a t-test (two tailed).&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	If anyone can help me it would be great!!&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	My data are:&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	sample 1) N= 16; mean= 122.4; S.E ± 8.38&lt;/div&gt;
&lt;div&gt;
	Sample 2) N = 20; mean= 111.4; S.E. ± 6.35&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	Thanks in advance!&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	Matías&lt;/div&gt;</description>
<category>Use of WebPower</category>
<guid isPermaLink="true">https://webpower.psychstat.org/qanda/16/can-i-estimate-the-detectable-differences-with-web-power</guid>
<pubDate>Thu, 10 Mar 2016 13:48:04 +0000</pubDate>
</item>
<item>
<title>How do I calculate sample size using a power</title>
<link>https://webpower.psychstat.org/qanda/9/how-do-i-calculate-sample-size-using-a-power</link>
<description></description>
<category>Use of WebPower</category>
<guid isPermaLink="true">https://webpower.psychstat.org/qanda/9/how-do-i-calculate-sample-size-using-a-power</guid>
<pubDate>Tue, 23 Sep 2014 15:55:11 +0000</pubDate>
</item>
</channel>
</rss>