# Questions tagged [subset]

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

116 questions
Filter by
Sorted by
Tagged with
0answers
7 views

...
0answers
14 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 ...
2answers
59 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 ...
1answer
29 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 ...
1answer
89 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 ...
0answers
28 views

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

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 &...
2answers
25 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 ...
0answers
12 views

### How to test if the subset is representative to whole dataset

I would like to ask how to test if the subset is representative to the whole dataset. I have for example 150 values in whole "population" and I selected (not randomly) 30 of them. I would ...
0answers
13 views

### Reduced chi-squared for models fit to different subsets of data

I have some data to which I am fitting piecewise linear models. I want to select different subsets of the data, fit a model to each of them, and then compare which subsets are best able to be ...
0answers
9 views

### Subset dataframe by conditioning on two observations within a column for each subject (group)

I am looking to compare the results of a survey (not shown) before and after teaching. You can see below that the last column column specifies whether this observation contains the information from &...
0answers
11 views

### Check if a subset is significantly different from the dataset

I have a dataset with violence rate per City that can be grouped by State. I need to check if any State has significantly different violence rates than the entire dataset. How could I achieve that? ...
1answer
18 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 ...
0answers
66 views

### GLM in R: Subset Covariate to specific factor Levels

I like to conduct a GLM in R like this: glm ( Y ~ X + Z + a + b + c + d, quasipoisson(link="log")) with Y as dependent Variable (Count Data, integer) X as ...
0answers
24 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 ...
1answer
335 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 ...
1answer
24 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 ...
0answers
9 views

### Multi-categorical set balancing

I have a particular mathematical problem that I would name as multi-categorical set balancing. I don't think this is a new problem but I do not know the correct term for it, therefore I am also ...
1answer
62 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 ...
0answers
60 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 ...
0answers
93 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 ...
1answer
63 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 (...
1answer
34 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. ...
2answers
549 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 ...
1answer
11 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 ...
3answers
1k 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 ...
1answer
45 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.
0answers
69 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 ...
0answers
24 views

3answers
137 views

### Is this an example of a multiple comparisons problem?

I am conducting a comprehensive research determining the effect of 3 independent variables on the metabolic rate of an organism. However, the set-up of my data analysis leads me to believe that I ...
0answers
79 views

### How many subsets have n values greater/lesser than values in remaining subset?

For example, given set of ten numbers: {0, 1, 2, 3, 4, 5, 6, 7, 8, 9} Split into two equal-sized subsets. Multichoose calculates 252 configurations of subsets with 5 values (pick 5 from 10). Only ...