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
0answers
4 views

Predicting 3-value class label with binary decision tree

Is binary decision tree working better while predicting class label that is binary as well (2 possible values) or it doesn't have any impact? If it does, would it be a better idea to use ternary ...
0
votes
1answer
20 views

SEM: High SRMR in model with binary predictor. Other fit indices OK [closed]

In this post I may display severe lack of understanding in SEM and the math behind it so please be kind. I am testing the following structural model with lavaan using MLM (due to non-normality) with ...
0
votes
0answers
18 views

Binary Non Linear Regression with Time Series and Group Interaction Effect

First post so I'll try to be as specific as possible. My design is as follows: 2 groups: Control and Treatment 5 min test of movement within an arena with a zone of interest Binary Dependent ...
0
votes
0answers
11 views

Can I ignore multicolinearity if i am using predicted probabilities from a logistic regression as inputs into a ROC curve?

I have 8 variables, 6 of which are highly correlated with one another. I want to see how well these variables all together than classify a known binary grouping. I therefore want to run a multiple ...
0
votes
0answers
7 views

Association test for categorical ordinal variables and binary variable?

I could just use logistic regression but is there a test of association like chi2 I could use? Thank you
0
votes
0answers
24 views

Correlation Between Binary Variable and Continuous

Y is a binary variable (0 or 1) and X is a continuous variable. What would be the best way to check how these variables are correlated? Specifically, I'd like to check if the distribution of X | Y=...
0
votes
1answer
38 views

Binomial & numerical variables as dependent and independent + random variable

I am new to statistics and trying to figure out how to analyze my data correctly. I completed a biological study with the following variables: (I have converted my binary variables to 1 and 0) -Type ...
0
votes
0answers
10 views

Computing Gradients for a [-1, 1]-valued RBM

The gradient derivation for a binary-valued RBM with values $\in\{0,1\}$ is well-documented, for example in Goodfellow, et al and here on Cross Validated. However, in some works (e.g., associative ...
0
votes
0answers
13 views

Finding an association between two methods of medical intervention and a continuous variable [duplicate]

I have here with me, two methods of intervention; a standard care method, and a specialised intervention. Different individuals receive different method, its all randomly allocated. I am trying to ...
0
votes
0answers
17 views

What is the appropriate strategy when only first two principal components explain most variance in binary classification problem?

I have 50 explanatory variables(predictors) and one target variable(y, which is zero or one) And sample size is greater than 10,000. I used principal components analysis and found first PC explains ...
0
votes
0answers
12 views

Cross-validation with binary response

I have a dataset (size = 36234) with 9 response variables, all of them binary, along with 3 continuous predictor variables. Since the response variables might be correlated, I'm using Ising to fit the ...
1
vote
0answers
15 views

How to find initial feasible point for the dual problem of SVMs (Support Vector Machines)?

Problem Is there a systematic way of finding an initial feasible point for the dual problem of an SVM? Context I'm writing an implementation of Support Vector Machines for Binary Classification in ...
0
votes
1answer
24 views

Binary Classification problem for imbalanced dataset

I am new to machine learning and need help. I have a dataset with two classes(0,1) where is 0 is Profitable and 1 is Unprofitable. Ratio of 0:1 in train set is 150/52 Taking positive as "1"(...
0
votes
0answers
32 views

Data Science Take Home Challenge Interpretation of Question

I am currently applying for a Data Science position and have to finish a take-home challenge for one of the companies. However, I don't really understand what they want me to do and hope you can help ...
3
votes
1answer
26 views

GLMM in seed germination study

I have an experimental design measuring germination of a single species of tree under different treatments. The treatments include; cattle grazing and no cattle grazing and rodents and no rodents. The ...
0
votes
0answers
11 views

Diagnostic plots GLM [duplicate]

I done a binary regression,it's possible that the the plot of residual vs Predict has two different line? I never see before one like this
1
vote
0answers
28 views

Formula for testing for equivalence for binary paired data

I am trying compute p-values for an equivalence test of paired, binary data (coming from two different tests, without known ground truth). I followed the paper of Liu et al (DOI: 10.1002/sim.1012) ...
1
vote
1answer
17 views

Can the output of a probit regression with a Z-score predictor be interpreted as a standardised effect size?

I want to obtain a standardised effect size for a regression with a binary outcome. If I standardise the (continuous) predictor and run a probit regression, the resulting coefficient can be ...
0
votes
0answers
18 views

problem with diagnostic plots for binary regression

I make a binary regression to study Italy's poverty/non poverty on R. mod1<-glm(status~CLETA5+cit+AREA3+Q+studio+ACOM5+godabit,data=total,family=binomial) I don't know if the diagnostic plots are ...
1
vote
1answer
20 views

How to account for similarities in features when clustering?

I have survey data from students who were asked to rate (yes/no) if a math equation was useful for a set of four educational purposes. Students were ask to answer this survey for five different math ...
0
votes
1answer
20 views

Is AUC for binary predictor equal to balanced accuracy?

... because they come up the same when I compute them for binary predictions. So either they are the same, or I have something wrongly implemented.
2
votes
2answers
42 views

Rain overflow modeling: Categorical variables or separated models?

I'm working on a project where I have to predict rain overflow due to rain for 5 sewer locations. I have a file which tells me if there is a rain overflow (=1) at a given date for a given sewer or no (...
0
votes
0answers
8 views

Visualization and two-group statistical testing in high-dimension binary data

I am planning a biomarker discovery experiment, and the data is expected to take the form of a high-dimensional dataset where each data point is described by 8 binary variables indicating the presence ...
2
votes
2answers
24 views

Compare Leave-One-Out cross-validated performance of classifier across two datasets

I am trying to determine whether there is a statistically significant difference between the performance of a SVM classifier on two different datasets. The performance of the classifier is determined ...
1
vote
0answers
10 views

Mediation analysis with all binary variables

I am seeking to run a mediation analysis on a dataset in which the outcome variable, the mediation variable and the main input variable are all binary. Is this going to be possible? If so would anyone ...
3
votes
0answers
25 views

How can I calculate the power of my analysis with binary response data?

I have three groups with ~ 15 individuals per group. Group 1 gets a treatment Group 2 is a control in the same area Group 3 is a further control in a different area The response is binary, 1 or ...
1
vote
1answer
53 views

How to perform multiple tests of contingency tables with more power: Fisher's / Barnard's test vs Logistic regression

I have a sample of answers to Yes / No questions: \begin{array} {c | c c c c} \hline \text{Case} & X_1 & X_2 & X_3 & X_4 \\ \hline 1 & 1 & 1 & 1 & 1 \\ 2 & 0 & ...
0
votes
0answers
38 views

Exact four-sample proportion test for difference-in-differences analysis?

Assume I have a binomial variable. I can test whether the proportion is different from zero, using an exact test. I can test whether the proportions in two samples are different, using an exact test ...
0
votes
0answers
18 views

Analysing serial dependence in binary sequences

Suppose, I have a generator of a binary time series $x_t$. The generator produces a $1$ with probability $q$, except when there was a previous trial and the previous trial was a $1$: in this case the ...
0
votes
0answers
35 views

Bootstrapping for mediation in multilevel model with binary outcome

I am trying to do a mediation analysis with a multilevel model, where the outcome is binary and the predictor and mediator are continous. I wanted to do bootstrapping and then comparison of confident ...
3
votes
1answer
13 views

How to test correlation between ordinal and a binary variable?

I wanna know which test should I use to see if there's correlation between the number of risk factors for a disease (three groups: none, 1, 2 or more), and the presence of symptoms for this disease (...
0
votes
1answer
17 views

How to compare two groups + binary variable?

Sorry about my language, i'm from Brazil I need help about which test should i use to compare differences between two groups that answered a binary varible In my case, the groups are Sex (male or ...
0
votes
1answer
12 views

Does it make sense to see if success of one thing determines the success of another

I have modeled whether a bird is detected by an antenna (1=yes, 0=no) with the following predictor variables: length of visit, species, and site. Individual ID is a random effect. I am not also ...
13
votes
1answer
158 views

Comparison of statistical tests exploring co-dependence of two binary variables

Suppose we observe data $(X_i,Y_i)_{i=1,...,n}$ on two binary variables: $X\in\{0,1\}$ and $Y\in\{0,1\}$. We would like to test if $X$ and $Y$ are co-dependent (related). Standard suggestions in ...
2
votes
0answers
18 views

Why the Y in logistic regression must be truly binary, not be contrived from an underlying ordinal or continuous response variable?

I wonder what would happen when the assumption as mentioned in Frank Harrell's answer for "When is logistic regression suitable?" is violated? The primary assumption of logistic regression is that ...
1
vote
2answers
49 views

Justification of kNN: sample mean vs expectation a binary variable?

Suppose, x is a random binary variable with values {0, 1}, and $E[x] > 0.5.$ Is it true that, for a random sample $S$ of $x$, $P[\mu_S(x) > 0.5] > 0.5.$ In other words, if expectation of ...
0
votes
1answer
26 views

Hayes Mediation Tables with binary outcome variable

I am trying to put together mediation tables for my study which has a binary outcome variable. Normally, I report the R-squared and F statistics for my mediation model. However, SPSS Process does not ...
0
votes
1answer
20 views

Order dependencies between binary variables

I have a series of random, binary variables that are sampled in a particular order. Some may be affected by the order in which they're sampled, i.e. there may be order dependencies. Suppose I sample ...
0
votes
1answer
38 views

Can logistic regression be used to predict future classifications?

I am trying to predict if a doctor is likely to switch from prescribing Drug A to Drug B. Based on my understanding of logistic regression, you can use the independent variables to determine the ...
0
votes
0answers
450 views

Variance Inflation Factor (VIF) if Y and X are binary - Valid approach?

I have a hot-coded X dataset, which takes the values 0 or 1. The same applies to the dependent variable. As far as I know the formula for the Variance Inflation Factor is given by: $VIF(\hat{\...
0
votes
0answers
13 views

Finding 95% CI for logistic output of Neural Network

I have an mlp with a logistic output between 0 and 1 for a binary classification task. With each run, I have to adjust my threshold for minimizing the misclassifications. My question is to present my ...
0
votes
0answers
12 views

Test Of Equal Or Given Proportions on large number of successes and trials

I have 2 binary matrices, in which 1's represent "critical exons" and 0's represent "non-critical exons". Now I want to know how significant is the proportion of critical exons in first matrix than ...
0
votes
0answers
18 views

Functional form in binary choice model

I have a problem where I have to analyze various determinants that are undergoes in influencing the admission to medical school. Dependent variable is modeled as a binary choice variable - ...
0
votes
0answers
14 views

Can binary data be used in ordinal regression models?

Basically I have some code which runs a lot of calculations originally on some ordinal response variable and some predictor variables, and it is based on the VGAM R package. As such, it seems like it ...
1
vote
1answer
28 views

Logit model for hundres of items - can and should I use the items as a category variable?

I am in the early phase of a new project about looking at multiple factors that potentially influence the probability that an item fails quality inspection. I am interested in seeing whether each ...
0
votes
1answer
47 views

Matrix of confusion - percentage per row or column?

When you build a prediction model on a binary variable, you have a confusion matrix which compares your predictions according to real values. ...
0
votes
0answers
8 views

Impose similar metric on segments to model

I am training a binary classifier in a dataset using AUC as a score. The dataset has two main groups (we will refer to them as good and bad population). A property that this dataset has is having a ...
0
votes
0answers
34 views

Another solution than McNemar test for bilateral asymmetry on binary data?

Let's say I studied the shoulders of 10 individuals, and I scored the presence/absence of a criteria (ex: arthrosis, presence=0;absence=1) on the left side and the right side. I need to test the ...
0
votes
0answers
29 views

data analysis of categorial dicothomical variables

I have the following dataset I would like to calculate the frequency distribution of the response F or G in each participant, for each condition (MIO,TUO, NEUTRO) for a total of 15 images ...
1
vote
1answer
26 views

How to interpret model results for Yes/No dependent variable

I have run a model for a data set that looks like the following: ...