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.

46 questions with no upvoted or accepted answers
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
3 votes
0 answers
57 views

Two-sample KS test null distribution, reference request

I follow, more or less, the derivation of the KS test statistics's distribution that is given on Wikipedia. The following section on the two-sample test also makes sense if all I want to do is reject ...
Dave's user avatar
  • 65k
2 votes
1 answer
177 views

How to compare multiple Two-Sample Hotelling's T-squared tests performed on different sample sizes

It's my first question, so please be patient with me. I'm working on the comparison of multiple datasets of different lengths (60 to ~10000). They share a set of 9 features which I would like to use ...
rbrsmn's user avatar
  • 21
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
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
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
0 answers
114 views

test whether two samples are from the same high dimensional multinomial distribution

I have two high dimensional vectors (~150 dims), assumed to be sampled from multinomial distributions. How can I test whether the two are from the same multinomial distribution or different ones? (...
user294869's user avatar
2 votes
0 answers
38 views

Likelihood as a test statistic in a hypothesis test

Suppose I have two samples $S_1,S_2$ of categorical data, and I'd like to design a hypothesis test to check the null hypothesis that they are both iid samples from the same underlying distribution. ...
D.W.'s user avatar
  • 6,688
2 votes
0 answers
25 views

How to test whether two conditionals are equal?

I have samples from distinct joint distributions $p(x,y)$ and $q(x,y)$ and I want to determine whether $p(y|x)=q(y|x)$. Is there an existing method for doing this?
igul222's user avatar
  • 131
2 votes
0 answers
820 views

Testing difference in proportions with bootstrap

Summary: I want to perform a bootstrap test on the difference of proportions. I think this is equivalent to testing the difference between means using bootstrap, but I wanted to clarify some details. ...
Marcel's user avatar
  • 1,390
2 votes
0 answers
465 views

Estimation of Covariance Matrix of Two-Sample-Two-Stage-Least-Squares Estimator

My model of interest is given by $Y_1 = X_1\beta + \epsilon_1$ with $Y_1\in\mathbb{R}^{n_1}$ , $X_1\in\mathbb{R}^{n_1}$ , $\beta\in\mathbb{R}$ and $\epsilon_1\in\mathbb{R}^{n_1}$. However, $X_1$ can ...
random_guy's user avatar
  • 2,420
2 votes
0 answers
64 views

two samples comparison with cyclic variables

How to check if two samples are from the same distribution, when the variable is cyclic? A simple answer for non-cyclic variable is the Kolmogorov-Smirnov test. What is the equivalent for cyclic ...
Ruggero Turra's user avatar
1 vote
0 answers
43 views

Deriving Sample Size for two samples t test

I am trying to figure out what sample size recommendations to make in this case when the samples have different sizes. Since their sizes are different the variance of each will be different. Suppose ...
Harry Lofi's user avatar
1 vote
0 answers
86 views

Comparing means in Box-Cox transformed data

Deeply sorry as this wasn't really covered in my statistics classes. I am current comparing datasets for people divorcing vs. dissolving their marriages. I have two variables, length of marriage, and ...
Sophie's user avatar
  • 11
1 vote
0 answers
16 views

Permutation Testing Using only Source Samples

Short Background on Permutation Testing Suppose I have two sets of samples $P$ and $Q$ drawn iid from distributions $\mathcal{P}$ and $\mathcal{Q}$ over $X$. I also have access to a test function $T: ...
user2757771's user avatar

15 30 50 per page