Skip to main content

Questions tagged [two-sample]

The two-sample problem is: given samples X and Y from two distributions, test whether the two underlying distributions are the same. One of the most common classical nonparametric approach is the Kolmogorov-Smirnov test.

0 votes
1 answer
113 views

two-sample proportions hypothesis test: 10 successes and failures rule

I asked this question on mathematics stack exchange, and reposting here as it did not get resolved. Suppose the sample sizes and number of successes are ($n_1, y_1$) and ($n_2, y_2$), for the two ...
creet's user avatar
  • 3
2 votes
0 answers
62 views

How does the following term happen when using the Wald Test on two-sample binomials?

I'm having trouble understanding one of the steps of the Wald test used in two-sample binomial proportions. More specifically, when $X_1, ..., X_{n_1}$ are iid Binomial$(1, p_1$), $Y_1, ..., Y_{n_2}$ ...
Chris's user avatar
  • 21
3 votes
3 answers
1k views

Two-sample Kolmogorov-Smirnov discrete distributions

Let's say that two Census takers interview a number of couples and ask for the number of children they have. I want to compare the two resulting samples to find out if they could have come from the ...
Rafael L's user avatar
4 votes
0 answers
122 views

Do asymptotic statistics "solve" the Behrens-Fisher problem?

The Behrens-Fisher problem concerns comparing two means from independent (maybe multivariate) samples in a way robust to heteroskedasticity in the populations being compared. It seems that if one ...
cgmil's user avatar
  • 1,373
1 vote
1 answer
258 views

Two Samples Test for Discrete Variable and Different Size Groups?

Hello there and apologies for my English and lack of statistic skills! Two different groups of participants, one comprised of children and the other of adults, run once, at different times, the same ...
Avi's user avatar
  • 111
2 votes
0 answers
92 views

Test for distribution equality

This question touches Kolmogorov-Smirnov testing, but asks actually something different. Consider independent random variables $X_1, \dots, X_n$. I want to test the following hypothesis: $$ H_0: X_i\ ...
Albert Paradek's user avatar
0 votes
0 answers
28 views

Test two samples with correlated observations within sample

I have repeated observations from individuals that have been randomly assigned to either Group 1 or Group 2. In detail, 64 subjects were randomly assigned to one of the two groups and performed a task ...
Researcher's user avatar
1 vote
1 answer
165 views

Paired t-test vs two-sample t-test - animal populations

From my understanding, a paired t-test is used when samples are dependent of each other. I'm having trouble deciding whether a paired t-test should be used when comparing the average population of a ...
user avatar
0 votes
0 answers
25 views

Two Sample test for two samples with different distribution

I have independent random samples of $R^d, d>1$ $X=\{X_1,..X_n\}$ and $Y=\{Y_1,.. Y_n\}$ with respective distributions $F_1$ and $F_2$. In a regular two sample problem we test $H_0:F_1=F_2$ vs $H_1:...
michael's user avatar
1 vote
0 answers
47 views

Testing difference of medians and stochastic ordering using paired samples

I have paired samples from skewed distributions with unequal variance (before and after treatment), and would like to test for difference of means difference of medians stochastic ordering of treated ...
alfba's user avatar
  • 41
2 votes
0 answers
187 views

With 2-sample bootstrap testing, why pool treatment with control samples?

I have data from a randomized experiment. Members of the treatment group received a treatment, members of the control group did not. I want to test differences in distributions of ordinal outcomes ...
Scorocs's user avatar
  • 21
2 votes
2 answers
774 views

Two-sample test with bootstrap and different sizes

I have two independent i.i.d., respectively $Y_1,\dots,Y_{n_Y} \sim F_Y$ of size $n_Y$ and $X_1,\dots,X_{n_X} \sim G_X$ of size $n_X$. I would like to test: $$ H_0:\mu_X = \mu_Y $$ versus any ...
Barbab's user avatar
  • 333
1 vote
1 answer
633 views

How to perform F-test in R for checking equality-of-variance (homoscedasticity/heteroscedasticity) if raw data is not given?

In a typical two-sample problem scenario, I possess the sample mean, variance, and size, but not the raw data for samples drawn from two populations. I wish to perform the F-test to check equality of ...
Lycanthropeus's user avatar
1 vote
2 answers
82 views

What is the theoretical justification of testing for equal mean/distribution via resampling?

If we have two data sets $X_1,\ldots,X_m$ and $Y_1,\ldots,Y_n$, each i.i.d., and wanted to determine whether $\mathbb{E}[X_1] = \mathbb{E}[Y_1]$ or not using $\bar{X}_m - \bar{Y}_n = \hat{\Delta}_{m,n}...
cgmil's user avatar
  • 1,373
1 vote
2 answers
2k views

Bayesian : Comparing means of two posterior samples/ Help a Frequentist Out

UPDATE Thanks for the many thoughtful responses and questions! I've made edits here to clarify further. and also respond to each respondent individually. Original Post I have two sets of posterior ...
pythOnometrist's user avatar

15 30 50 per page
1
2
3 4 5
8