# Questions tagged [subset]

One set, A, is a subset of another, B, if and only if all elements of A are elements of B.

125 questions
Filter by
Sorted by
Tagged with
44 views

### How to calculate confidence intervals in a subgroup of a weighted sample?

I have a weighted data sample (size : 20000) and I want to calculate a 95% confidence interval for the mean of a variable in the dataset, but only in a specific subgroup within this dataset (size of ...
18 views

### Subgroups comparison

I have to compare two subgroups from the same population. The two groups have partially the same records, so they are overlapping subsets of the same dataset. Can I consider them as two independent ...
1 vote
21 views

### Convergence of a subsequence of arrays of random variables

Consider $X(ij)$ for $i = 1, ..., n$ and $j = 1, ...,n$ be random variables. I proved that for each i, the sequences $X($i$j)$ converge in distribution to random variable Y as $n$ tends to $\infty$. ...
1 vote
12 views

### Does anyone know how to model selection for function on function linear model to find the best subset of functional covariate in R [closed]

Does anyone know how to model selection for function on function linear model to find the best subset of functional covariate in R
14 views

### Subset selection method for identifying predictors in multilevel modelling with longitudinal data

I am completing a time-lagged multilevel model to determine predictors of social functioning over time. I have 5 time points (not evenly spaced) with the dependent (or outcome) variable and all ...
41 views

### How to correlate a subset (gender) of a variable to another variable in a time series data?

So, I have a dataset something like this: Date VariableA VariableB 2014/01 100 500 2014/02 200 700 2014/03 300 900 2014/04 400 1000 2014/05 500 1200 ... ... ... 2022/12 50 10 After using the <...
250 views

### Number of subset from a sample space S is $2^n$?

I am working my way through the statistical inference textbook and am stuck on this question: Suppose that a sample space $S$ has $n$ elements. Prove that the number of subsets that can be formed ...
79 views

### Following Pearson correlation analysis how to compare subsets of the significant correlations

How can I statistically compare subsets of the significant correlations produced from Pearson correlation analysis (r-value, p-value) and Benjamini-Hochberg multiple testing adjustment (q-value)? To ...
1 vote
499 views

### Inconsistent handling of lonely PSUs in R's survey package?

There appears to be some inconsistent handling of lonely PSUs in R's survey package when calling svyglm on a subset of ...
1 vote
53 views

### interaction term in Cox PH model

I have a question with regard to interaction term in Cox PH model. I'd like to analyze the impact of variable A on cardiovascular (CV) event. Variable A levels are different according to sex, although ...
193 views

### Discordant results using IPW and overlap weights (propensity score approach) in sub-group analyses

I am investigating the effect of a treatment on the risk of a disease (% disease=18.5% (515/2784)). To do so, I use a propensity score (PS) approach with two different weights methods: IPW (stabilized ...
41 views

### Model comparison on different datasets + Non-nested model comparison

I actually have two questions. Similar questions unfortunatelly do not answer mine. 1)I realize that with anova(model1,model2) one can only compare two models if ...
71 views

### Should I use AIC / BIC or rather cross validation for discovering gov. equations through linear regression (SINDy)?

I want to use linear regression with very large design matrix for discovery of governing equations to i.e. physical systems. The design matrix would include potential terms that can be part of the ...
115 views

### Linear Regression - Data Subset with Lowest Mean-Squared Error?

Short version: given a linear regression dataset and an integer $K$, what data subset of size $K$ results in linear parameters with the lowest mean squared error on the entire dataset? Long version: ...
21 views

### Determine the likelihood of occurrence of an activity within a subset

I have a monitor that measures dust concentrations around our neighborhood, and from this dataset I subset it into three scenarios to see which scenarios create the most dust. However, when I do this, ...
237 views

### When is subsetting survey data prior to analysis NOT a problem?

Survey researchers are typically advised to not subset their data prior to analysis because it will produce incorrect variance estimates. My understanding of the inferential issue is that removing ...
18 views

### Compare models from different data subsets [duplicate]

I'm looking to compare linear regression models from different data subsets in r. The models are not nested. I have a model from the complete dataset with sex as a factor and then 2 separate models ...
522 views

### Is it preferable to subset data to test specific hypotheses or specify a full model and run contrasts?

Let's say I have a 2x2 design where participants are either in condition A or condition B and, within each condition, either get exposed to exposure C or exposure D. First, I want to test whether ...
56 views

### Logistic regression balanced dataset

I am quite inexperienced using logistic regression and am having trouble understanding my data and how the regression behaves. Here's the outline of my problem: I have a (medical) test that gives a ...
127 views

### Is there a name for the increase in variance upon remeasurement after subsetting with a cut-off value?

Context: My problem relates to estimating effect sizes, such as Cohen's d, when looking at a subset of the population defined by a cut-off threshold. This effect size is the difference in two ...
1 vote
38 views

### How to treat apples and oranges best in multiple regression analysis? One fits all regression model or separate sub models? [duplicate]

I have a data set ready for multiple regression analysis that consist of apples and oranges. Let's say the depended variable is fruit size and there is a bunch of independent variables (categorical &...
42 views

### Relationship between deterministc function of random variables

Given a discrete $P(X,Y,Z)$ let's call $\Omega$ the set of all deterministic functions $f: XYZ \rightarrow W$ and $\Omega'$ the set of all deterministic functions $f': XY \rightarrow V$. Is it correct ...
31 views

### How to isolate a linearly correlating subset from data?

I have a data set of a few thousand data points, and some of them show strong linear correlation. I would like to isolate these data points into their own subsets. What would be the best approach for ...
128 views

### Difference between stratification and subset

This may be a duplicate question asked differently, I am curious to know the difference between performing an analysis by stratification on a variable and by subsetting the dataset based on that ...
981 views

### Probability problem - Probability to pick a subset divisible by 3

I'm trying to solve this puzzle but I get stuck. I thought about trying to use the law of total probability to solve intermediate problems with subset of size k but it didn't helped me that much. Is ...
1 vote
29 views

### Unsupervised Subspace learning for different Tasks

once we extract subspaces(subset of features) for a dataset using unsupervised learning, can we use them for any task I mean for classification, clustering, or outlier detection? Is the selection of ...
282 views

### What is it called when we "zoom in" a data distribution?

Suppose we have a 2D distribution of shops in an area. For example, here is a heatmap density plot of (latitude, longitude) location of shops in a province: Now suppose that we "zoom into" the ...
203 views

### Is it appropriate to include overlapping sub-scale scores and total-scale scores in a meta-analysis?

Question, brief In a single multi-level meta-analysis, is it appropriate to include subscale scores (which represent part of a measure) in addition to total scale scores (representing the full ...
1 vote
456 views

### Q: AUC of each subgroup is smaller than overall AUC

I have a validation data set of 29242 patients, with known labels/health outcomes and predictions that were generated by some model. 28626 patients are negative and 616 are positive The overall AUC is ...
1 vote
615 views

### How to test that a subset of data is distributed no differently than original (discrete, not normal)

In the research I am doing we have initially had ~600 samples which had a certain distribution (not normal, although close). The characteristic of these samples that I am interested in is discrete (...
50 views

### Compact encoding (vectorization) of unbounded sets

Question I have a set of sets. Each set is unbounded. I would like to find a methodology to encode (vectorize) each subset. I am more specifically interested in memory efficient solutions. ...
2k views

### Determine how similar groups of data are to each other

I have a pool of 15,000 unique* items. From that set, there are roughly 3200 sets of 60 items, selected non-randomly (in fact, for the sake of the framing of the question, let's say that each item is ...
1 vote
13 views

### Inferential considerations when comparing a group against the total

I want to compare the value of a subgroup against the same value in the total population in a regression setting. The easiest way to do it would be to treat the subgroup and the total dataset as two ...
3k views

### How to calculate number of sets in Sigma Algebra

The example 1.2.2 of the book Statistical Inference by Casella and Berger states: if S has n elements, there are 2^n sets...(please see attached). Could you please explain how the authors derived ...
71 views

### relation between conditional probability of subset and set

Suppose $A\subseteq B$. Can we derive a relationship between P(X|A) and P(X|B) for some X? X is associated with A.
280 views

### Why do subset selection linear models have higher variance than the full model?

I do not get the meaning of this sentences from the Elements of Statistical Learning book when talking about subset selection methods before introducing shrinkage methods. By retaining a subset of ...
1 vote