# Questions tagged [binary-data]

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

1,219 questions
Filter by
Sorted by
Tagged with
51 views

### How to forecast course completion percentage?

The goal of this task is to be able predict percentage of students who registered a specified term which in the future will pass the course. I did a logistic regression for binary response whether ...
35 views

### How to identify a binary model with varying mean and variance

I have the following model, Yi = 1.( Xiβ + εi > 0) where εi~ Ɲ(Ziδ,1). or Yi = 1.( Xiβ + εi > 0) where εi~ Ɲ(0, (µ + Ziδ)2) with a binary model, can i identify β and δ in such a model? How? and ...
844 views

### Simple Question about ROC Curve

Motivated by this reference, it states under ROC Space When evaluating a binary classifier, we often use a Confusion Matrix...however here we need only TPR and FPR I'd feel more comfortable if the ...
2k views

### statistical modelling for imbalanced data [duplicate]

I am dealing with a binary response (good/ bad) type data set of size 2153, which reflects a dependent variable. Out of these, only 67 are in favor of "bad" and the remaining are of "good". Also, i ...
6k views

### Log likelihood function for binary classification

I need help with this following task. There is a binary classification problem where each observation xn is belong to one of two classes (t = 0 and t = 1). The training data points are sometimes ...
227 views

### Statistical tests for a binary response variable with more than 2 repeated measures?

Question: Did plants experiencing treatment A vs. treatment B receive significantly more or less observations with zero visits from pollinators? Methods: Plants were clustered by similar physical ...
3k views

### Correlation between continuous and binary variables [duplicate]

Is there a way to check for correlation between a continuous variable (year of graduation) and a binary variable (yes/no--took a specific course) with n=85, particularly using SPSS? Our hypothesis is ...
182 views

### Distribution of binary sequences?

I have two binary sequence and wanted to test if there is a similar patterns between the two. This is a completely new topic for me. Are there ways to define distribution of a binary sequence (...
136 views

### Meta-analysis - Multiple Outcome measures for the same population

Basically, I am trying to include some binary data into a meta-analysis and not sure how to include this dataset. If you look at the attached table, each red square that i drew depicts an ...
2k views

### Visualizing variability from graph

It is written in the book Applied Logistic Regression, Second Edition. By David W. Hosmer and Stanley Lemeshow , p.2 that a problem with the above graph is that the ...
130 views

### using unlabaled data in a classification problem (There is labeled data but it comes from a biased sample)

I have a binary classification problem. The task is to rank instances from high probability of fraud to low probability of fraud. The following data is available: ~7.000 instances of 0/1 labeled ...
782 views

### In penalized regression models, should binary predictors be standardized?

It is generally agreed that in penalized regression models, such as ridge regression, the lasso, and the elastic net, one should standardize the predictors (such as dividing each by its SD) so that ...
1k views

### Choosing a good binary classifier to be trained by a small set of labeled data

I have a small set of labeled data (diagnosis in individual subjects): ~50 of "sick" observations ~100 of "healthy" observations In reality, only ~1% of the observations are expected to be ...
211 views

### Recode Binary to scale Variables

I'm looking to find information to recode a set of dichotomous response variables to preferable a 1-5 scale. I have several response variables which when combined with PCA clearly depict certain ...
138 views

### Interpreting Coefficients of a Dummy variables derived from an Ordinal variable

I have a variable that is measure societal complexity (SC) on a 3 point scale. 1 being the least complex and 3 being the most complex, and I think that this can safely be classed as a ordinal variable....
27 views

### Using variables that are only available for part of the data-set in a classification model

I have Data X1, X2, and y. X1 has the same variables as X2, + some extra variables that X2 does not have. I want to use the data X2 to predict binary variable y. I suspect the extra variables In X1,...
89 views

### prediction with string similarity

Assume we have an input of an email and we want to predict if it is spam or not spam. Without being a statistician, i would think one of the predictors takes the subject of the input email and ...
170 views

### What does it actually mean for classes to be balanced?

I saw the following statement when reading Kuhn's APM: "The classes are fairly balanced; there are 111 samples in the first class and 97 in the second..." I thought balance would require the ...
4k views

### How can I run a t.test in this situation of two processes having binary outcomes

I have two processes, lets call them A and B. I want to infer whether their population means are equal for their experimental outcomes. Both of these processes generate 1s and 0s only. That is, the ...
67 views

### ANOVA analysis?

I need some help since I'm not that good with statistics. I have to perform a study to know whether different groups of people are willing to buy a product. I've shown 6 different scenarios, thus I ...
107 views

### BINARY or ANOVA test in R

I'm confused on what test to use for an experiment I have conducted over the past months. Let me give you some context: I ran a germination experiment, sowed 900 seeds total in trays of 40 in a ...
51 views

### Testing causes of accident blackspots on road network

Say I have a way of predicting, for each link on a network, the likelihood of road accidents. I also have a (mercifully quite sparse) point data set of recorded accidents. Bearing in mind that the ...
946 views

### Statistical test for multiple comparison of groups of animals with Yes or No outcome

In my experiment (pre-clinical vaccine testing) I want to know what kind of statistical test to be used to compare between 9 groups of animals (72 animals randomly divided into 9 groups). Each group ...
24 views

### Parameterizing deviation from average

I am seeking help in parameterizing a concept. For instance: "Interest in literature" may be higher for poorer book owners than book owners with higher income, given that book ownership is only 10% ...
828 views

### Find correlation between binary variable and discrete variable [duplicate]

My background is not in stats but I did do some in school. You're help is really appreciated. I'm wondering what is the best way to find some correlation between a binary variable and a discrete ...
32k views

### How to use both binary and continuous variables together in clustering?

I need to use binary variables (values 0 & 1) in k-means. But k-means only works with continuous variables. I know some people still use these binary variables in k-means ignoring the fact that k-...
17k views

### I need both quadratic and linear coefficients in a GLM with binary response. What's the best option? [closed]

I have three predictors and one response. What can I do if my response variable is binary?
2k views

### Can I use ANOVA when participants choose yes/no to a four option IV?

I have one IV with four levels. Participants are asked if they prefer: Option 1. yes/no Option 2. yes/no Option 3 yes/no and Option 4 yes/no. So, this is a binary response, and as I understand ...
344 views

### Multivariate Bernoulli, Covariances for Categorical Data

I need to find outliers in multidimensional, categorical, 1-hot encoded, binary data. Data might look like, 0,1,1,0 1,1,0,0 1,1,1,0 0,1,1,1 0,0,1,0 I toyed with ...
150 views

### Is it okay to convert binary data to percentage data?

I have a within-groups study with 4 groups (400+ users). Each user answered 10 questions for each group. The answers were scored as right/wrong (1/0). Can the percentage correct for each user/group be ...
492 views

### Fleiss' Kappa alternative for inter-rater reliability with multiple answers

I have a dataset where researchers assign a binary yes/no answers to cells in a matrix. For each row more than one, but at least one, 'x' is allowed. For example, researchers 1 may code: ...
29 views

### Recommendation for type of analysis to measure whether intervention is effective

I have a dataset of about 90,000 cases. In something like 10% of these cases, an intervention was applied to hopefully bring about a specific outcome. The intervention was not equally applied across ...
81 views

### Adjusting Binary Logistic Formula in SPSS

I am running a binary logistic regression in SPSS, to test the effect of e.g. TV advertisements on the probability of a consumer to buy a product. My problem is that with the formula of binary ...
64 views

### Binary classifier via Mahalonobis distance

In a recent conversation with a colleague at univerity, they mentioned that for a certain problem, we can "just use a binary classifier". When I inquired as to how they would train, they said "No ...
69 views

### Model block not significant but interaction dummie is, should I interpret it?

Im doing a binary logistic regression with various blocks. I got 2 interactions. Of 1 the block is not significant in total, but some dummie combinations of the interaction are. Should I still ...
48 views

### Using a measure of productivity which is determined by reviewers

Apologies for the ambigious title - I wasn't sure how a problem like this is expressed. I have a small sample of 20 individuals, of which the dependent variable (of interest) is binary with 5 ...
722 views

### A binomial test with repeated measures?

I'm working on a study with a single trained animal (ie. our only participant). He is making a binary choice on a number of consecutive trials (we are essentially trying to teach him a rule -- if A, ...
627 views

### Test equality of binomial variances across four groups

I have four 100x1 vectors of binary outcomes of a particular experiment. I want to test for equality in variance across all of the four different treatment groups. At the moment I have used the ...
510 views

### Bayesian linear regression with continuous and binary covariates

I am interested in learning more about applying Bayesian linear models for covariates some of which are continuous and some are binary. What is the appropriate terminology for such models so that I ...
4k views

### binary logit regression - which test apply for detecting heteroskedasticity?

After reading a lot of different papers and a lot of different posts on the internet I still don't have a clue how to test on heteroskedasticity with my logistic regression (binary). The White test ...
394 views

### Interpretation of smaller-than-one odds-ratios in logistic regression with multi-category categorical independent variables

I've run a binary logistic regression analysis, and I’m unsure how to interpret some of the odds-ratios. I tested the predictive capacity of three independent categorical variables on a binary ...
186 views

### Appropriate classification model for combination of continuous, binary and categorical inputs

I have a binary classification problem for classify my samples to two classes (class_1 and class_2). I have different kinds of ...