Questions tagged [binary-data]

A binary variable takes one of two values, typically coded as "0" and "1".

Filter by
Sorted by
Tagged with
0 votes
0 answers
6 views

$z$ is the endogenous variable, and $x_1$ and $x_2$ are the instruments in this probit 2SLS model?

Given a probit model ${ }^{[1]} y=1\left[y^*>0\right]$ where $y^*=x_1 \beta+z \overline{0}+u$, and $u \sim N(0,1)$, without losing generality, $z$ can be represented as $z=x_1 \theta_1+x_2 \theta_2+...
3 votes
2 answers
73 views

Binary classification cross validation ROC score - only consider higher confidence class probabilities

Given a binary classification task, during 10-fold cross-validation I'm able to get the probability that each test set sample is of one class or the other. When I compute the AUC ROC score during ...
  • 83
0 votes
1 answer
17 views

What are some good feature selection techniques for binary classification problems?

I am performing binary classification on a data set with around 90k records and 28 features. I'd like to evaluate various models such logistics, SVM, Xgboost etc. via grid-search method to see which ...
  • 1
-1 votes
1 answer
27 views

How to compare the mean to the mean of mean values of dummy variables?

I am trying to validate the calculations of a mean value for a collection of binary variable values. The validation process is where I compare x to y where: x is the mean value of percentage of ...
2 votes
2 answers
65 views

Would there be any alternatives to a Logistic Regression or way to modify the Regression for what I'm looking for?

To provide more information I am looking for an alternative to logistic Regression or a way to modify it. This is because of two reasons: My data is widely dispersed across the X axis for both my 1s ...
  • 41
0 votes
1 answer
25 views

Determining association (or not) of binary variable with continuous independent variable

(Fair warning: I am not a statistician.) Let's say I run a bunch of trials. My (possibly) dependent variable is binary; my independent variable is continuous. For the sake of example, say each trial ...
  • 221
0 votes
0 answers
8 views

Determine Choice Preference from Multiple Response/Dichotomies

Details: I have several datasets of multiple response survey questions where users were shown a list of attributes and asked to indicate those attributes they value. Responses were recorded as either ...
  • 21
0 votes
0 answers
19 views

Multiple factor comparisons for binary data

An example of my data is as follows: ...
1 vote
1 answer
18 views

Interpretation of interaction coefficients and p-values with categorical predictors

Let's say that we have gene expression measurements from bacteria after heatshock. The expression changes are collected as log2 changes, and are approximately normal and centered around 0. Ribosomal ...
  • 11
0 votes
0 answers
10 views

Multiple-site similarity (Sørensen) between two 2D-arrays

Suppose I have two binary 2D-arrays x and y. I wish to asses the multiple-site similarity between them. I think it should be ...
  • 101
0 votes
0 answers
16 views

How to interpret mixed level logistic regression with contrast coding?

I'm currently trying to interpret several mixed-level logistic regressions with contrast coding and it is my first time using this method. My main research of interest is the intercept, which is ...
2 votes
1 answer
24 views

Examples showing the difference between dummy variables and binary variables?

So I understand that dummy variables and binary variables are not the same thing. Here are my definitions of both (please correct if I am wrong): Dummy: Categorizes variables that don’t have any ...
  • 121
1 vote
0 answers
14 views

Which test do I use to compare if there is a significant difference in a binary outcome at two time points within the same group?

I have a fixed group of 60 samples, with their serology status (adequate vs inadequate) at 2016 and 2018. Typically we would do this yearly, but I am interested to find out whether missing out a year (...
  • 11
1 vote
0 answers
25 views

Post-hoc test after GLM with binary data

This is my first time posting here so apologies in advance if I have done anything incorrectly. I have performed a binomial GLM and am now trying to perform a post-hoc test to see the significance of ...
0 votes
0 answers
20 views

Similarity significance between binary time-series with autocorrelation

I have pairs of binary time-series, $(A_i,B_i)$ and I'm interested in the similarity between the two time-series, specifically for co-occurences of $A_i=B_i=1$ and $P(B_i = 1 \mid A_i = 1)$. There are ...
1 vote
0 answers
36 views

Binary Logistic Regression?

I have a yes/no dependent variable; independent variables are also a combination of yes/no variables and one 3-level sexual identity variable. Also hoping to control for for 2 of the yes/no variables ...
  • 21
0 votes
0 answers
13 views

How to model insurance count data with a large number of zeros and no number of claims in a period greater than 1

I have a large dataset for insurance claims and I am trying to model both the number of claims and the severity of claims based on a number of explanatory variables using a General Linear model. As is ...
0 votes
0 answers
18 views

How to measure uncertainty in binary data?

I want to clusterize binary data, so each object is vector of 50 binary values. For real number I can measure standard deviation in each cluster, or something like that. What can I use for binary data?...
  • 111
1 vote
1 answer
35 views

Trying to correlate multiple binary independent variables

So I have a test that you only get right if you guess correctly three independent variables. Guess any of them wrong or even any combination of the variables wrong and you loose. My question is what ...
0 votes
0 answers
24 views

Fixed-effects regression with variable number of binary responses but only one success

I believe my problem requires the use of generalized estimating equations but there are a couple of characteristics of the data that make me question the suitability. The following data is ...
1 vote
1 answer
12 views

Fluctuations in both the accuracies and losses in training and validation of Deep learning MLP

I have a binary classification problem with Dataset N430 and predictors=146. Both Validation and training accuracies along with losses fluctuates. What would be the reason and suggest solution please?
1 vote
1 answer
54 views

Which test to compare the difference between the amount of job categories for men and women

I have a dataset with men and women (independent variable) and want to know if the job spectrum (dependent variable) of the men is broader than the job spectrum of the women. Their jobs are ...
4 votes
2 answers
49 views

Adjusting for unconfounding in DAG context?

I am reading Cox's Case-Control Studies(2014) pg 6 of Preamble chapter. The book uses DAGs but it seems that it deviates from DAGs. I am not sure whether the following statement should hold in DAGs ...
  • 1,159
0 votes
0 answers
14 views

Comparing the additive vs separate effects of two predictors in logistic regression

Apologies if this question is a duplicate, but I couldn't find the answer to my question by looking at existing questions. I have a sample of individuals for which I have case/control status, two ...
  • 111
2 votes
1 answer
22 views

What analysis to choose when I have one continuous and one nominal predictor and my dependent variable is binary?

So in my data, I have a continuous variable (say from 0.1 to 1) and a nominal variable indicating the condition (3 conditions, no drug, drug and baseline) and a binary dependent variable (0 or 1). So ...
  • 21
2 votes
1 answer
23 views

Binary encoding for medical features

I'm currently facing a classification task on a rather small set (201 observations) with a large number of predictors (about 90). There are about 25 variables describing such quantities as blood ...
  • 269
2 votes
0 answers
52 views

How do I do an EDA on boolean/binary data without ML?

I'm looking to get some insight on what methods I can use to help identify key factors in my dataset that influence my dependent variable and how to prove that they are statically significant. There ...
0 votes
0 answers
33 views

Can balancing of the majority and minority classes (RUS/SMOTE/...) improve AUC of a binary classifier?

Given that AUC is a threshold independent measure, can undersampling or oversampling of the majority/minority class during training improve the performance of a binary classifier? In my experience ...
0 votes
0 answers
15 views

Comparing binomial dependent variables?

I have 4 tests that use different procedures to detect bacteria. I want to compare the detection rates by the test used. My data is arranged such that I have each test in a column and their detection ...
's user avatar
0 votes
0 answers
10 views

how does poLCA work differently when using a three-response format compared to a binary response format?

I am using poLCA on a dataset and I am comparing using binary indicators to a three-response format. Is there any reason why most LCA studies use binary indicators? How will poLCA work differently on ...
1 vote
0 answers
19 views

Bayesian inference with a binary and a continuous variable

I am studying the link between a linguistic feature (the specifics doesn't really matter but for any given language there are two options, the language either has the feature or it doesn't) and gender ...
0 votes
0 answers
13 views

How to perform a correct comparison to baseline of classification algorithms and what conclusions may I draw?

I'm doing a comparison of n classification algorithms (more specifically beat tracking) to a baseline approach (control), through several metrics commonly used (AMLc, F-Measure, etc.). I have 4 ...
  • 155
0 votes
0 answers
17 views

unbalanced type II SS ANOVA the correct test?

Good day, I have been pondering over this question for a couple of days now and maybe got lost in the details. I am a Psych Grad student, so my stats knowledge is not as deep as I would wish for. I ...
  • 1
0 votes
0 answers
15 views

Best way to compare two binary sequences [duplicate]

I need to compare two binary sequences and get a measure of similarity between them. Seems like the Pearson correlation coefficient is not suitable because it is for continuous signals. Is the ...
3 votes
0 answers
52 views

how to perform double ML with binary data (either in the treatment or in the outcome)?

I have grown interested in double Machine Learning (ML) for causal inference because it answers an intuitive question: if the relationship between a variable $X$ (the treatment) and a variable $Y$ (...
  • 365
0 votes
1 answer
30 views

Most appropriate correlation test for continuous and binary variables for non-normally distributed dataset with a high sample size

I have a dataset with N ≈12800 with two types of variables: independent continuous (distances in m) and a dependent binary variable (yes and no), associated with each distance. I have to test the ...
2 votes
1 answer
29 views

Is it possible to learn/separate this data?

I have a highly imbalanced (~0.4% minority class) binary classification dataset of time series (flux) observations, and am now at a loss on how to classify it, as the data aren't separable. Here's ...
0 votes
1 answer
40 views

Visualization for univariate binary logistic regression with a categorical independent variable

I am performing a univariate logistic regression where the outcome is obviously 0 or 1, and the independent variable has 18 different levels. I am looking for a way to graph the results of this ...
  • 1
0 votes
0 answers
12 views

Likert Scale for 5 independent variables, one yes/no question for dependent variable

I'm seeking to find out whether certain variables (5, total) influence individuals' decision/intention to invest for their own retirement. Whether they already do invest or plan to doesn't matter -- I ...
  • 1
6 votes
2 answers
720 views

Categorical or Categorial? Is there a difference between the two terms from a statistician's point of view?

I have heard about Categorical distribution and Categorical variables in statistics. But what is a Categorial variable? Can both Categorial and Categorical be used interchangeably? Are there specific ...
  • 69
0 votes
0 answers
6 views

How to incorporate data from different time periods to predict species presence?

I'm attempting to model the probability of presence of a single species, based on (WorldClim format) bioclimatic variables, using both present and past known distribution data. I've so far created ...
  • 1
2 votes
0 answers
36 views

Logistic regression: binary dependent variable ~ continuous independent variable. Is it valid to assign "more than" values?

I have a dataset of about 3,500 employees with two variables: whether they left or stayed; and how many days they worked at the same location. I want to build a logistic regression model to see ...
1 vote
0 answers
10 views

How can I analyze the relationship between a quantitative and a categorical variable in a within-subject design?

For my bachelor thesis I'm conducting a study on the relationship between eye-movements and memory. One of the hypotheses is that the number of fixations made during the viewing of a movie clip will ...
0 votes
0 answers
18 views

How to deal with training and test data that have different imbalances?

I have a dataset made of categorical variables and a binary outcome. Responses about the variables and the outcome were recorded at time 1 and time 2. The data is imbalanced between the two outcomes (...
2 votes
1 answer
88 views

Which "type" of residuals should I use when assessing autocorrelation in a binary logistic model?

I believe there are several types of residuals which can be defined for a glm e.g. "response", "deviance", "pearson", "working" etc.). Which one(s) of these ...
3 votes
1 answer
42 views

Boolean order statistic

Inspired from this LeetCode question. I authored this question myself however. Please review my answer for accuracy. Let's sort an array ($n \ge 1$) of $1$s and $0$s, so that all $0$s come before $1$s....
0 votes
0 answers
10 views

Need help figuring out what statistical test to use (ANOVA or MANOVA)

I am trying to figure out what statistical test I need for my eye tracking study. I have 2 dependent variables: Dependent Variable 1 is continous (gaze behaviour, which is subdivided into fixation ...
0 votes
0 answers
12 views

Discrete choice models: truncated or censored model

I am reviewing some practice. Suppose we have a random sample of households reporting their share of financial wealth invested in stocks (alpha). The minimum alpha in the sample is 0.15, and the ...
  • 1
1 vote
1 answer
54 views

Can I run a linear probability model or logistic regression if my binary dependent variable only has 4 1's and 150 0's?

I am trying to estimate a linear probability model (LPM) / logit model with about 3 covariates. The main dependent variable is an extremely imbalanced binary variable (there are 4 1's and 150 0's in ...
0 votes
1 answer
34 views

Get statistic about cancer after radiotherapy

I have 100 patients all with specific benign tumor. They have radiotherapy and removed tumor. Some of them have secondary cancer after more than 15 years. Our question is, what is a probablity, they ...
  • 101

1
2 3 4 5
27