Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
0 answers
28 views

Bootstrapping as an alternative to simulation-based power/sample size calculations

Typically when one has to do a sample size and/or calculation, they might use simple sample size calculations from textbooks or use gpower. However, there are only closed form calculations for very ...
dfife's user avatar
  • 629
2 votes
0 answers
41 views

How can I convert an effect size from Cohen's d to f(v)

I am interested in calculating the power I need to compare several groups to one reference group in how much an outcome changes between two timepoints. My understanding is that I should use the ANOVA: ...
Benji's user avatar
  • 413
0 votes
0 answers
29 views

Sample size estimation using G*Power

I am trying to calculate an a priori sample size using the G*Power for a project that I intend to do. I will collect reaction time data from two groups of participants across two time points (T1, T2). ...
Christina's user avatar
0 votes
0 answers
41 views

Mixed ANOVA Power Analysis

So I'm doing a thesis on compassion meditation and I'm confused about the power analysis. When I calculated it in G*power, "total sample size= 34", but it's for a 2x2 mixed ANOVA, so does ...
Bree's user avatar
  • 1
0 votes
0 answers
12 views

Predictor variables vs control variables for power analyses in multiple regression G*Power

I am using GPower to get an idea of the sample size needed to detect a medium effect size in the second and third steps of a hierarchical multiple regression model. To do this, GPower asks for the ...
jpf66's user avatar
  • 315
0 votes
0 answers
21 views

G*Power sample size calculation between regression coefficients in two separate within-subject models

I have two identical regression models run on two different subsamples. In R, my models would be the following: ...
flâneur's user avatar
1 vote
1 answer
66 views

Power of One Sided t-test

Let $X_1, \ldots, X_n$ be a sample from $N(\mu, \sigma^2)$ for unknown $\mu \in \mathbb{R}$ and unknown $\sigma > 0$. Fix $\mu_0 \in \mathbb{R}$. The one-sided hypothesis is $H_0: \mu \leqslant \...
温泽海's user avatar
  • 639
0 votes
0 answers
27 views

G*Power Mixed two-way ANOVA power analysis - sample size seems too small? [duplicate]

I am running my first-ever power analysis and I am worried that I am misunderstanding something about G*Power. I am running a 2x2 mixed ANOVA. I chose the 'ANOVA: Repeated measures, within-between ...
mbeasle2's user avatar
3 votes
1 answer
133 views

Approximate power analysis for simple linear mixed model without random effects

For educational purposes, a repeated measure of all participants in two conditions is modeled as linear mixed model. We're interested in the difference in outcome while controlling for confounders $...
Madamadam's user avatar
  • 247
5 votes
1 answer
627 views

Statistical power of my study

I am writing a paper for a journal. I have been asked to calculate the statistical power of my study. I have zero idea about how to do that. I am an engineer and never cared about this kind of ...
GGChe's user avatar
  • 185
1 vote
0 answers
46 views

Repetitions on the same combination of factors in mixed ANOVA and its power analysis

I am trying to decide the appropriate model and perform power analysis. Suppose a data contains 2 groups (A,B) and 28 participants from each group. All of those participants are measured 15 times on ...
ksing's user avatar
  • 119
0 votes
0 answers
77 views

Power Analysis for 8x8 factorial within-subjects design (required number of participants/samples)

for an experiment, I was asked to provide a minimum required number of participants using an a-priori power analysis. Thing is, I'm now really confused on how this is possible or even if it makes ...
WalterYellow's user avatar
4 votes
1 answer
104 views

How does G*Power calculate sensitivity in z-test for two independent proportions

I am trying to recreate sensitivity calculation in Python by applying the same methodology as used in G*Power z-tests > Proportions: Difference Between Two Independent Proportions > Sensitivity: ...
Eugene Krall's user avatar
1 vote
1 answer
539 views

Would a post hoc power analysis be used for a retrospective chart review and how would this be done?

I'm a novice in research and wondering if I need to calculate power to determine my sample size. My study is about collecting data from all patients that presented to a clinic for a period of 6 months....
Raji's user avatar
  • 11
3 votes
1 answer
604 views

How to interpret a sensitivity analysis from G*Power for a repeated measures, within factors ANOVA

I am trying to conduct a sensitivity power analysis for a (2x2) ANOVA. The participants all received trials based on color or shape, and items could be either old or new. In G*Power I have the ...
gert's user avatar
  • 153
3 votes
1 answer
169 views

Post hoc power analysis options for 2x2 ANOVA and paired t-tests

We recently submitted a manuscript for publication. My advisors never do power analyses, and so the reviewers came back questioning our sample sizes. Lesson learned on my end. One reviewer said "...
gert's user avatar
  • 153
1 vote
0 answers
697 views

G*Power repeated measures ANOVA within-within interaction

Suppose that I have 4-by-6 factorial design where both factors are within-subject variables, and I want to perform a repeated-measures ANOVA on the data. Using GPower, I calculate the sample size ...
11thdimension's user avatar
2 votes
1 answer
731 views

G*Power ANOVA repeated measures within-between interaction

I'd love to get a sanity check on a sample size calculation I'm running in G*Power. I'm planning a study with 2 groups and 2 measurement points, aiming for a f of 0.10 because, to my understanding, it'...
Benji's user avatar
  • 413
1 vote
0 answers
436 views

Power Analysis for 2-Way-Anova in R

I did a power analysis to calculate the sample size in GPower. Now I'd like to do the same in R. However, I am not able to figure out how... I found ss.2way but that seems to require different inputs. ...
Julian R.'s user avatar
5 votes
1 answer
180 views

Determine the sample size to validate a bug fix

Using gpower, I would like to calculate the sample size to validate a bug fix. There is a software bug that appears in 3 out of 1000 test runs. I would like to validate a bug fix so that it doesn't ...
buckley's user avatar
  • 151
3 votes
1 answer
2k views

Statistical power and sample size for Poisson regression: specifying the "mean exposure"?

I am trying to perform an apriori power analysis to estimate sample size for a Poisson regression model. The background is that a RCT is proposed to compare the rate of pill consumption between two ...
user167591's user avatar
3 votes
1 answer
2k views

G*Power - Difference between ANOVA Repeated measures, between factors and ANOVA: Repeated measures, within-between interaction

I have a mixed-ANOVA design: 2 groups (experimental & control) x 4 time points (pre, post, post2, post3), and am using G*Power to calculate the required sample size. My understanding is that the &...
user381122's user avatar
0 votes
1 answer
59 views

GPower: unequal number of measurements?

I'm in psych research, so typically I have my subjects do ~40 trials per condition. If I have an uneven number of trials per condition (say, 30 in one and 40 in another) and a 2 x 2 within-subjects ...
jelly1's user avatar
  • 23
2 votes
2 answers
151 views

Why are ztest and chisquared test not returning equivalent sample size results?

I'm using the statistical software G*Power to find the minimum sample size needed to detect whether or not the difference in two proportions is statistically significant in an AB test I'm setting up. ...
Pedro Alonso's user avatar
1 vote
0 answers
30 views

Formal name for research design: repeated measures, 1 varying treatment condition, 1 constant treatment condition

I'm coming from a background with regards to randomizing treatment and just conducting measurement at one point in time. In my current setup, there are just four groups of interest: A control group (C)...
rpickmans's user avatar
3 votes
1 answer
356 views

Is there any way to do a power-based sample size calculation if you don't know the minimal (scientifically) important difference?

I am in the life sciences field and I don't have much experience with power-based sample size calculations. I am doing a Western blot experiment and my research question is whether protein X ...
ceno980's user avatar
  • 233
1 vote
1 answer
57 views

Power analysis without a prior and for observational data

I am trying to develop the design for an observational study, but I am struggling with the number of observations that would allow us to estimate our model and generalize its results. As a dependent ...
David Harar's user avatar
3 votes
0 answers
86 views

Calculate required sample size for multiple linear regression

I'm planning to run a survey experiment where I have a pre-measurement of my outcome variable, then I'm randomly assigning my respondents to one of six treatments/stimuli ("NO" = baseline ...
deschen's user avatar
  • 581
3 votes
1 answer
4k views

GPower: Difference in Sample Size for ANCOVA vs. Repeated Measures ANOVA in clinical trials

I want to conduct a randomized pre-post intervention study with two measurement points (1. Baseline 2. Post-intervention) and two groups (Treatment vs. Control) and am currently trying to work out the ...
Sven's user avatar
  • 33
1 vote
0 answers
4k views

Regression power analysis: R's `pwr::pwr.f2.test` R2 deviation from zero vs. R2 increase (vs. G*Power)?

This question is about the difference between R's pwr::pwr.f2.test and G*Power regarding the ...
rempsyc's user avatar
  • 291
1 vote
1 answer
4k views

Numerator degrees of freedom in power analysis for regression (R vs. G*Power)

Background In R, the power analysis package pwr can estimate the required sample size for regression with the following formula: ...
rempsyc's user avatar
  • 291
0 votes
0 answers
24 views

Power analysis: Use a prio test to determine number of particants with G*Power

I would like to conduct a priori power analysis to determine the number of required participants for my experiment. I want to have two experiment groups (with immersive and desktop virtual reality) ...
datasciencelearner's user avatar
1 vote
0 answers
170 views

Power Calculations for Diff-in-Diff with Fixed Effects

I am conducting a field experiment. Where we observe two different optimization methods. First 7 days pre-treatment period and 28 days treatment period. To split treatment and control, we will have ...
flw's user avatar
  • 61
5 votes
3 answers
1k views

ANCOVA controlling baseline in RCT - power analysis and sample size questions

I am performing a power analysis/sample size estimation for an RCT. We will be controlling for baseline symptoms and using post-treatment or change scores as our outcome variable. This design is ...
LJN's user avatar
  • 51
1 vote
2 answers
573 views

Calculating sample size with power analysis

I have to calculate the sample size for an experimental study and took some sample distributions data from a previous similar research and calculated the means and standard variations for before and ...
randomname's user avatar
1 vote
0 answers
282 views

G*Power settings to find minimum sample size for a 2x2x3 design

For a power analysis, does "number of measurements" refer to the number of LEVELS or the total number of CONDITIONS? I have a three-way (2x3x2) ANOVA that is entirely within-subjects, and I'...
Chloe L.'s user avatar
1 vote
1 answer
11k views

How to interpret sensitivity power analyses?

Journals and reviewers increasingly ask authors to systematically report sensitivity power analyses. I know that a sensitivity power analysis allows you to determine the minimum effect size that the ...
rempsyc's user avatar
  • 291
1 vote
0 answers
234 views

Different results for simulated and closed form distribution of T-statistic under the alternative hypothesis

While running some simulations to get a better grasp of the concept of statistical power I stumbled upon an unexpected result. I was trying to simulate the sampling distribution of test statistic $T$ ...
Barlon Mrando's user avatar
1 vote
1 answer
308 views

Power & Effect Size for Multiple Regression - HELP

2 IV's: Pregnant/Non Pregnant & Physically Active/Not Physically Active 1 DV: Cognitive Functioning (Inhibition - SSRT scores) AIM: Investigate whether there is a difference in physical activity ...
JADE's user avatar
  • 11
1 vote
0 answers
63 views

Which effect size to determine sample size in power analysis for mixed effects model?

Experimental design: 3x12 repeated measures. I ran a mixed effects model that revealed an effect of "variable x" for which there are 12 levels. Post-hoc analyses based on this model (paired samples ...
Hans's user avatar
  • 11
3 votes
1 answer
481 views

Power calculations

I am using a toy example to explain power calculations for a t-test Let's say we have two populations where we measure a certain parameter. Population A has a mean of 0 and population B has a mean of ...
nico's user avatar
  • 4,591
0 votes
0 answers
276 views

Calculating power for balanced incomplete block design

My experiment has a factorial 2x2 design: 2 factors are manipulated at levels 'high' and 'low'. We thus get 4 conditions: Condition 1: Factor A high, Factor B high Condition 2: Factor A high, Factor ...
Sari Nijssen's user avatar
3 votes
1 answer
2k views

Power analysis for same model as "ANOVA" vs as "multiple regression" yields different results

I have seen posts that said ANOVA and multiple regression are theoretically the same. But if this is really the case, does anyone know why the G*Power (Linear multiple regression vs ANOVA) gives ...
user240313's user avatar
2 votes
1 answer
674 views

G*Power and simulation produce very different sample size estimates for a Poisson regression

I've been attempting to conduct a sample size calculation for a Poisson regression. G*Power produced a sample size of 472. Parameters for G*Power Tails = 2 Exp(B1) = 1.233 alpha = 0.05 Power = 0....
TPM's user avatar
  • 604
4 votes
0 answers
73 views

What are appropriate statistic tests for top-down and bottom-up knockout experimental designs?

This concernes a two staged experiment on cell toxicality. A: Aim is to find the lowest concentration of the toxic agent 'CTA', that kills the target cells with at least 99% security. Use of lowest ...
ABri's user avatar
  • 91
0 votes
0 answers
1k views

Sample size calculation: difference between 'linear multiple regression test' & 'linear bivariate regression' test G*Power 3.1

I am trying to calculate a sample size using G*Power 3.1 for a linear model with multiple independent variables, but only two "primary" predictors of interest plus an interaction term between them. ...
vzste's user avatar
  • 13
1 vote
0 answers
800 views

4x2 within-subjects ANOVA power analysis to detect sample size

I am planning a research experiment with a 4x2 within-subjects design, and am currently trying to determine an appropriate sample size for my project (in order to achieve desired power with an effect ...
LiloK's user avatar
  • 11
3 votes
1 answer
193 views

Why is the sample size calculation not in agreement with t-test results?

I used R package pwr (G*Power gives the same result) which say for a one-sided t-test of means with alpha=.05, beta=.20, that I would need 40 samples for both control and treatment groups (n=80) to ...
StatsNTats's user avatar
3 votes
0 answers
1k views

Power analysis for one way anova with post hoc Tukey?

I have an experiment in which I'm doing, among other things, a One way Anova with one dependent variable and 5 groups. After the ANOVA i'm doing Tukey's post hoc to test for differences between groups....
Gonzalo Lerner's user avatar
0 votes
0 answers
1k views

Help with G*Power for logistic regression

I need some help understanding what values I need to put into a two-tailed logistic regression power analysis are in G*Power. I am trying to see if hypertension (my binary independent) makes a ...
Anthony Nash's user avatar