An inquiry into the quality of a statistical test by calculating the power - the probability of rejecting the null hypothesis given that it is false - under certain circumstances. Power analysis is often used when planning a study to determine the sample size required to achieve a nominal level of ...

learn more… | top users | synonyms

0
votes
1answer
12 views

How to do power analysis for two-way analysis of variance?

The pwr library can be used to do power analyses when testing with 1-way analysis of variance. Are there similar libraries for 2-way ANOVAs? How could I got about doing this in R?
1
vote
0answers
58 views

Can you calculate the power of a Kolmogorov-Smirnov test in R?

Is it possible to do a power analysis for a 2-sided Kolmogorov Smirnov test in R? I am testing whether two empirical distributions differ using ks.test(), and am looking to add a power analysis. I ...
2
votes
0answers
31 views

Power analysis for logistic regression

I have to deliver a statistical analysis plan that will have to be approved by an ethic commettee before I could start a clinical trial. I usually deal with different kinds of tests, whose power ...
2
votes
2answers
50 views

A priori power analysis: calculating sample size based on percentages

I'm trying to calculate the sample size, given alpha, beta resp. power, ...
1
vote
1answer
56 views

Power analysis for binomial test via simulation

Suppose a gene is mutated in 30% of the samples. I want plot the number of samples required to see 30% of them mutated at various level of power. I want to do this through a simulation so I ...
2
votes
0answers
36 views

Sample size and power calculations for a randomized controlled trial

I need help with the power calculations to determine the sample size of a randomized clinical trial. This is a relatively simple trial with two arms: an intervention arm and a control arm. Patients in ...
1
vote
0answers
51 views

Calculating sample size

I am going to conduct a research and would like to estimate the sample size that I will need. Here is the information that I have, please let me know if you need some more information. Thanks in ...
2
votes
1answer
43 views

Determining sample size for proportional hazard

I am in the design phase for a longitudinal study examining the effect of a predictor (neighborhood risk score) on time to an outcome (re-arrest), as well as whether or not the variation explained by ...
0
votes
1answer
24 views

Multiple regression a-priori analysis of power for sample size

I have used g-power and an online calculator to determine the sample size for a 2 factor regression but am unsure as to what effect size I desire as for a large effect size (.5) I only need 20-30 ...
1
vote
0answers
33 views

Deriving the power formula of the one-sample proportion test

I have to derive the power of the z-test in testing $$ H_0: \pi=\pi_0 \text{ versus } H_1: \pi>\pi_0 $$ Denoting by $p$ the sample proportion, the power equals $$ ...
1
vote
0answers
20 views

Can one manipulate data to demonstrate the power of the analysis?

I was asked this question about the demonstration of power. There are two groups of data, say control and treatment. If conducting a test( say a linear regression including other factors, but the ...
0
votes
0answers
20 views

One way between subjects ANOVA

I am planning to use a one way between subjects ANOVA to test for a difference of compassion between three different groups My question is how many participants would i need to collect data from and ...
2
votes
1answer
50 views

Power analysis on chi-squared test with low cell counts

I am hoping to perform a chi-square test of independence on data in a 2x2 contingency table with the following values: ...
2
votes
0answers
35 views

computing power in R

How can I compute the power of Dixon discordancy test in R. As there are functions for many other tests like t.test, ANOVA, proportions test etc. but not for this one. Any help will be warmly ...
1
vote
1answer
25 views

power for mixed-effects model

I wonder if there is a simple way of calculating an achieved power for a mixed-effects model. The fixed effects are the intercept and a slope. The random effect is for the intercept at the two levels ...
0
votes
0answers
12 views

DOE Power Calculation for Interaction Terms

I was using Monte Carlo to determine the a-priori power for the terms in a designed experiment. To do this I used the following procedure: Set an effect size I expect to see in my response Use the ...
0
votes
0answers
52 views

Sample size calculation - Pros and cons of using one-sided z-test over two-sample differences in means approach?

I'm calculating the sample size required for an experiment with continous outcome variable. I'm considering two ways to calculate the sample size. One is based on a differences in 2 means test. The ...
1
vote
0answers
23 views

Power analysis for AB testing— multiple variants

I'd like to do an experiment that is basically an A/B test with about 10 different conditions. A single trial results in either success or failure. The null hypothesis is that all of the conditions ...
0
votes
0answers
14 views

Determining the effect size using GPower

I have three ponds and would like to know how many random samples of algae I need to collect within each pond measuring 7 response variables. I would like to see how each pond responds to the 7 ...
1
vote
0answers
50 views

Using G*Power to determine the sample size for an repeated measures ANOVA

I am currently designing an experiment that I want to analyze using an RM ANOVA. Since some of the factors are confounded I need to do multiple ANOVAS. One analysis will be for 2x2 factors (within ...
1
vote
0answers
16 views

Cluster weights in PROC GLMPOWER

I am doing power analyses in SAS using PROC GLMPOWER to solve for a total sample size (N Total). I have clustered data (Ward method), to account for variability. There are 4 clusters of varying sample ...
2
votes
1answer
123 views

Computing the power of Fisher's exact test in R

Suppose that I have the following 3 x 3 contingency table: ...
0
votes
1answer
76 views

How to caculate power analysis in a descriptive study

Hi I'm currently doing a dissertation, its a descriptive quantitative study. The method of data collection is a questionnaire scaled by a 10 point Likert scale. To calculate the sample population ...
1
vote
0answers
58 views

Repeated measures or two-way ANOVA, and power analysis

A sample of patients will undergo two treatments. Every patient will receive both treatments.One treatment will on the left side and the other different treatment on the right side. Repeated ...
1
vote
0answers
20 views

Retrospective power analyis of lmer for sample size

I'm an MSc student doing an assignment where I am asked to analyze and write up a report on a dataset on environmental enrichment in zebra finches. Among other things we are being asked to do a ...
0
votes
1answer
97 views

Calculating sample size of a mixed ANOVA in R (2 between, 1 within variable)?

I'm searching for a built-in function in R for calculating the required sample size (given certain power, alpha,..) of a mixed ANOVA (2 between, 1 within variable, 2x2x2 design). Does this function ...
3
votes
0answers
68 views

Post-hoc power analysis of complex sample survey data

I am working with a complex sample survey data using Stata to determine the predictors of a given dependent variable. As part of my analysis result I want to report the post-hoc power for each ...
1
vote
1answer
82 views

How to calculate sample size for this study design?

I am trying to find out whether the number of participants I recruited (N=42) so far is sufficient for my study in which: there are two interfaces (say A and B). ALL students in the study will try the ...
0
votes
1answer
16 views

Prevalence estimates based on randomized sample of clinical data

This is probably one of the more straight forward questions on here but here it is: I want to use a random number generator to sample X number of charts to look for the # occurrences of Y event. So ...
1
vote
1answer
52 views

Power analyses of 5 populations of infection data (binomial data) [duplicate]

I am PhD Biologist. I have 5 populations of infected moth larvae (3 inbred, and 2 outbred). The infection in this case is spread vertically (from mother or father to offspring). Normally the virus is ...
1
vote
0answers
74 views

Power calculation for a coefficient in linear regression

Consider a simple linear regression of the form: $$ Y \sim \beta_0 + \beta_1 X + \beta_2 Z + \epsilon$$ I have questions regarding calculation of power for $\beta_1$. To calculate power, I approached ...
0
votes
1answer
30 views

Matching two power signals for similarity

Below are the images of two signals that i plotted. Both the signals are from fridge belonging to different houses. Visually looking at the plot i can tell that these plots belong to fridge as they ...
0
votes
0answers
28 views

Cross correlation of two power signals

I have two devices and their power usage data. I am trying to see how co related these two devices are. i.e If i use device 1 then how often i am using device 2. It will be helpful if anyone can ...
3
votes
2answers
111 views

Empirical rejection rate of a wrong null hypothesis -is it the “power of the test”?

I guess this is basic, but it forms part of the holes in my statistics education. What I know is that the power of a hypothesis test is not a fixed magnitude, but a function of various factors ...
1
vote
1answer
29 views

What kind of test is this?

I have a client that wants to test 3 pricing options to visitors of a website. All options are for the same product and service (no difference except pricing). Their current idea is to present all 3 ...
1
vote
0answers
28 views

Calculating n: Determining r

I have to calculate n for my research. I'm using a calculator (this one: http://www.cct.cuhk.edu.hk/stat/other/correlation.htm). α = 0.05 β = .2 r = ... I have trouble figuring out what r is. I get ...
2
votes
1answer
61 views

How to choose a Power and Alpha combination for a fixed sample size?

Let's say I have a sample size established with alpha=0.05 and power=0.8 (based on time constraint for study). The same sample size can be achieved with any of: ...
0
votes
1answer
71 views

Calculate required sample size with R with known power and ratio of n1 to n2

If I know that d=0.8, sig.level=0.05, power = 0.8, ...
1
vote
1answer
44 views

Power analysis for repeated measures design with ordinal response

I am designing a randomised pretest-posttest trial for which I'm trying to do a sample size calculation. My brain is about to explode from confusion, so I hope someone can help me. Just a little ...
1
vote
0answers
96 views

The a priori power of test for a simple effect within a 2x2 ANOVA

I need to know about the power of a simple effect that follows from a 2x2 ANOVA interaction. Let's call the factors in this design GROUP(Patient, Control) and MANIPULATION(Expectation, Random), ...
4
votes
2answers
161 views

Why is power analysis with logistic regression so liberal compared to chi squared?

I'm conducting a power analysis to derive the required sample size for a study - basically compared exposed / non-exposed with 30-day mortality as outcome. I'll check for crude mortality rates with ...
0
votes
1answer
64 views

Linear Model or Logistic Model: Can Someone Recommend a Book?

I have a huge data set that looks roughly like this: ...
2
votes
0answers
44 views

Unbalanced sample size: Bayesian vs. frequentist approach

I have a question concerning tests between a large control cohort and a smaller number of cases in a simple comparison. In particular I was wondering about the differences of baysian and frequntists ...
0
votes
0answers
224 views

How to calculate post-hoc power analysis for multiple regression models?

I have few questions that came up while I was trying to calculate post hoc power analysis for a regression model: I calculated post hoc power analysis for a regression model that produced a ...
2
votes
1answer
167 views

Power analysis from Bayesian point of view

I was reading an article on a power analysis and sample size calculations for a class of models that known as joint longitudianl-survival models. The paper derives a closed form formula for power and ...
0
votes
2answers
166 views

What does a post hoc power analysis say about the significance of the study results?

I orginially posted this over at AskMetafilter, and a commenter suggested I ask it here. I work for a dietary supplement company that also makes skin care products, and some of those skin care ...
1
vote
1answer
91 views

ROC/AUC Confidence Interval

For a single ROC curve (with relevant AUC score), how can you calculate the confidence interval? (The data used to generate this ROC/AUC is available) Given my relatively limited background in this ...
2
votes
1answer
91 views

Power analysis for binomial data when sample sizes are different

I'm running an A/B test where I want to compare two different layout of a button and want to see if one layout lead to a higher Click-Through Rate with a certain statistical power. I want to use a ...
5
votes
2answers
521 views

Can I do a t-test Power Analysis for Unequal Size Groups which Produces 2 Different Minimum n's?

It's usually straightforward to do a Power Analysis to compute the minimum sample size, especially in R which is my preferred ...
1
vote
0answers
52 views

Power Analysis for Text Mining

I have a population of 6 million text files with which I want to perform sentiment analysis (and text analysis more generally). I will need to manually hand code a subset of these texts into positive ...