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
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 ...
1
vote
1answer
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 ...
8
votes
1answer
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 ...
3
votes
1answer
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 ...
1
vote
2answers
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 ...
1
vote
1answer
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 ...
4
votes
1answer
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 ...
0
votes
2answers
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 (...
1
vote
0answers
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 ...
6
votes
3answers
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 ...
2
votes
1answer
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 ...
6
votes
0answers
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 ...
0
votes
1answer
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 ...
1
vote
0answers
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 ...
1
vote
1answer
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....
2
votes
1answer
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,...
1
vote
0answers
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 ...
2
votes
1answer
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 ...
2
votes
3answers
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 ...
1
vote
0answers
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 ...
1
vote
0answers
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 ...
1
vote
0answers
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 ...
1
vote
1answer
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 ...
1
vote
0answers
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% ...
3
votes
0answers
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 ...
34
votes
2answers
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-...
7
votes
1answer
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?
2
votes
0answers
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 ...
2
votes
0answers
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 ...
2
votes
0answers
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 ...
3
votes
0answers
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: ...
1
vote
0answers
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 ...
1
vote
1answer
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 ...
2
votes
0answers
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 ...
0
votes
1answer
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 ...
1
vote
1answer
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 ...
2
votes
0answers
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, ...
2
votes
1answer
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 ...
3
votes
1answer
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 ...
2
votes
1answer
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 ...
1
vote
0answers
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 ...
0
votes
0answers
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 ...
2
votes
1answer
2k views

Ratio between positive and negative examples in a training problem

When training a 0/1 classifier, what should be the ratio of positive to negative, how to decide the ratio between them based on the classifier I use and the data set under analysis?
0
votes
0answers
191 views

Selecting kernel or binary similarity measures

Currently, I am facing a choice of encoding some information either in a binary vector or a normalized (Gaussian) floating point vector of the same length. For instance it could be in the format $[ 1, ...
2
votes
0answers
289 views

Kernel Methods for Binary Vectors

I am currently involved in a project which requires a minor point in choosing a proper similarity metric for a set of binary vectors, i.e. all components are either 1 or 0. Currently, the go-to ...
1
vote
0answers
100 views

Effect of binary variables on binary outcomes

All I have two sets of data. One where people bought and another where they did not. For each sample in the two sets, I have ~3000 binary independent variables. Each dataset has about 1000 samples. ...
5
votes
1answer
2k views

Optimizing for target metrics in Weka

I'm a PhD student in Information Retrieval with some limited experience in ML. We've been working on a binary classification task with weka (I'm using weka programmatically via Java), specifically ...
2
votes
1answer
137 views

c-index for parametric links in binary regression

I am conducting a binary regression using different sorts of parametric links (logistic, Pregibon, Aranda-Ordaz, ... see) and I would like to compare their predictive and classification perfomance in ...
7
votes
1answer
4k views

Cross correlation for very sparse binary data

I have a very large (5271159x60) sparse (~2.5%) binary matrix, and I'd like to calculate the cross correlation between each of the columns (sensors) for a series of lags from -10:10, which would give ...
2
votes
2answers
1k views

Fitting decaying exponential to binary response

I have this data that I want to fit with $y = e^{-bx}$, but the y:s represent probabilities and the outcomes are either 0 or 1, so I can't say $ln (y) = -bx$ since the values will just alternative ...

1
17 18
19
20 21
25