Questions tagged [binary-data]

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

Filter by
Sorted by
Tagged with
1
vote
0answers
20 views

LASSO grouped variables and explainability of the model

I am trying to build a binary regression model and I will be using LASSO. The dataset is the credit card dataset where the binary response is defaulted and not defaulted. Now, I know that LASSO will ...
0
votes
1answer
35 views

Probit with fixed effects

Could anyone elaborate on why fixed effects (or within estimator) will not work in the probit setting? Thanks in advance.
2
votes
1answer
285 views

How to plot binary vs. categorical (nominal) data? [duplicate]

I am building a machine learning model for a binary classification task in Python/ Jupyter Notebook. I am currently in the "Exploratory data analysis" phase and try to create multiple plots/ ...
1
vote
0answers
17 views

What statistical test is for two tables consisting same set of IDs each of which has a group of dichotomous measures?

What statistical test is for two tables consisting same set of IDs each of which has a group of dichotomous measures? I have two tables as below: Table A ...
0
votes
0answers
13 views

Is it feasible to interpret dichotomous questions into a 5-point Likert scale?

I have a research survey that is consisted of only dichotomous survey questions. I've thought of trying to interpret them as percentages, but in doing so, I've realized that I'm going to need a scale ...
0
votes
0answers
23 views

MLE and binary variables

Suppose $z$ and $y$ are discrete random variables taking values 0 or 1. The distribution of $z$ and $y$ is given by $$P\{z=1\}=\alpha$$ $$P\{y=1|x\}=\frac{e^{\gamma x}}{1+e^{\gamma x}}\\ z=0,1$$ Here $...
0
votes
0answers
3 views

Statistical Testing of Census Aggregate Data and Binary Data

I am trying to run some statistical tests on data from the U.S. Census, which only provides aggregate numbers (or totals) of a certain number of people in a category. I am trying to find out which ...
2
votes
1answer
43 views

Can I use a binary logistic regression for repeated measures data?

For this particular study, I had 3 monkeys complete 3 tasks, each task has a binary outcome (Win/Lose). A task is considered complete when they reach a criterion of 85% accuracy in their most recent ...
0
votes
0answers
32 views

how to make validation accuracy and validation loss more stable?

I have been working on a project lately and this project is about detecting dimples in SEM images of ductile fractures, e.g.: and what I mean by detecting dimples is detecting the border of each ...
0
votes
0answers
18 views

Is it possible to run Confirmatory factor analysis with gsem on STATA with binary outcomes?

So far I have only seen an exmaple that involve counted number as the outcome, which has "poisson" as one of its option. My outcome variables are almost all binary, so I tried with "...
0
votes
1answer
22 views

Proof of B1by OLS in a multiple regression model with dummies

Given the model Y=B0 + B1C + B2A + e, where C=(0,1) and A=(0,1), how can I derive the formula for the estimator of B1 by OLS? I already know the formula for the general case in which A and C are not ...
0
votes
1answer
25 views

SEM model with binary outcome using LISREL

I am developing a SEM model for factors associated with dental caries. It has 48 observed variables and 13 latent variables. I have both independent and dependent latent variables in the model. ...
0
votes
0answers
15 views

Nadaraya-Watson regression alternative for binary outcome

I am looking for pointers as to what would be the non-parametric equivalent of Nadaraya-Watson regression when modelling a binary outcome. I have been googling and ended up with Generalized Additive ...
0
votes
0answers
17 views

Means-as-outcomes Regression Model with latent variable predictors at Level 2

I plan to estimate a structural equation model with several latent variables (e.g. importance of comfort when choosing a car) as predictors of a dependent variable which is a proportion: number of ...
1
vote
1answer
30 views

Theoretical variance of the (binary) accuracy score for a random guesser

Suppose we want to compute accuracy for a binary classifier (assuming balanced classes): Acc = (TP+TN)/N Where N = TP + TN + FP + FN. For the case of a pure random guesser where each (actual) positive ...
2
votes
1answer
51 views

Am I misunderstanding Zou's method for computing relative risk for binary outcomes using Poisson regression?

It seems that relative risk estimation using Poisson regression is a popular approach in epidemiology, with a couple of papers I have recently looked at (for example [3] and many others like it) ...
0
votes
0answers
75 views

Outliers in binary columns

Is it possible to exist outliers in binary columns? At first I thought it was impossible based on this Outlier detection for a univariate categorical variable? , assuming that binary columns also mean ...
0
votes
1answer
16 views

How can precision be less than one in Leave-One-Subject-Out binary classification if each subject contains only one class

Say I'm trying to classify a medical condition. Theres only two classes: Sick and Healthy. I build a model and I can't split the data because I don't want data from the same patient being in training ...
0
votes
0answers
15 views

How to construct a GAM for 1/0 response of whale behaviours with environmental variables?

Firstly, I am novice at GAM construction, as I am sure will become clear very quickly! I have 2 questions related to what I have come across. I want to use a GAM in MGCV to figure which temporal, ...
0
votes
0answers
11 views

How to select dichotomous variables?

I have a data set of 57 dichotomous items that constitute a scale for measuring a particular condition. I also have another dichotomous variable of the condition itself. I would like to do some factor ...
3
votes
1answer
122 views

Information loss

Let's imagine we have some binary random variable $Y$ and some other continuous variable $X\in\mathbb{R}$ and we have some sample of size $n$. Suppose we want to determine the relationship between $Y$ ...
0
votes
0answers
20 views

Clustered pre-post analysis dichotomous variables in SPSS

I’m not entirely sure how to analyze data we have from the following study: We trained three teams of health care professionals of three different palliative care wards We would like to analyze the ...
0
votes
0answers
36 views

Techniques for finding patterns in binary data

I have a question about data analysis and I am wondering if someone can advise? I am interested in what mathematical techniques are available to look for patterns in binary data. Say I have a black ...
0
votes
0answers
15 views

two groups difference with control

I'd like to test whether a binary variable, adhdCNN, differs between the two groups identified by the binary variable group, ...
0
votes
0answers
30 views

Best statistical approach…?

I am currently thinking about different statistical methods and which is the most suitable for my question. I have a questionnaire with 12 dichotomous items (yes/no) that ask about stressful ...
0
votes
0answers
25 views

Maximum information in dichotomous variables?

I have a number of dichotomous variables from a number of study participants, and I want to do some exploratory factor analyses and other things. However, my sample is too small to include all the ...
1
vote
1answer
37 views

What is the best way to test for a relationship between a binary variable and a continuous variable?

Suppose I have a dataset with a continuous numerical variable $x$ and a binary numerical variable $y$ (with values 0 or 1). How can I test the null hypothesis that the value of $x$ has no effect on ...
2
votes
1answer
37 views

Is GEE the simplest choice for a 2x2 factorial design with repeated measures and binary dependent variable?

I have a 2x2 factorial design. Both independent variables are binary (age: young/old and condition: experimental/control). Age is between subject and condition is within subject. The dependent ...
1
vote
0answers
17 views

Data analysis with only one independent binary variable in a time series

I have a time series dataset of air pollution with with one discrete dependent variable: nitrogen dioxide and one binary explanatory variable: ...
1
vote
0answers
27 views

One-hot encoding in Keras for R [closed]

I am trying to build a binary classifier using a MLP with the Keras package in R. My question is, why does the package require the labels to be a one-hot vector? For example, the value 1 will be the ...
0
votes
0answers
20 views

large-n ols simple linear regression assumption “no perfect linear collinearity”

Suppose I have a model: $$ y = \beta_{0} + \beta_{1}X + \epsilon $$ where X is a binary dummy, either 0 or 1. Suppose all other conditions are satisfied (linearity, $y_{i}$ $x_{i}$ iid, ...
0
votes
0answers
9 views

How to structure and model game/match data

I am looking to model RTS video game data to identify if certain sides are unbalanced (i.e. have a higher than average win rate). One issue I've been running into which I was hoping to get input on is ...
0
votes
0answers
67 views

Binomial LASSO Regression - p-values and coefficients

I would like to know how to select the final variables in (cv.glmnet) LASSO by passing the lm command (similar to the link below) but for binary outcome with binary predictors. Thanks a lot. Link to ...
3
votes
3answers
148 views

Correlation between two vectors of binary values

This may simply be a problem of me not knowing how to describe my issue properly, if so, apologies in advance for the duplicate. Some context: I am studying the distribution of genetic mutations in a ...
0
votes
0answers
7 views

Binary DV across versions

I'm trying to figure out the correct statistical analysis to use for an unusual design. The DV is a choice of one of 4 videos options. 2 of the videos are live and 2 are taped. I'm not interested in ...
2
votes
1answer
29 views

No group differences between group A and group B emerged for sex p=0.6 - How was this tested?

I wanted to report the demographics of my sample, which is a common thing to do in medicine. It means to report mean age, gender proportion etc of your groups. I turned to a paper that conducted a ...
1
vote
1answer
44 views

Sample size for binary outcome with rare events

I want to compute the sample size to compare two groups for a binary outcome where we expect rare events. I will do an example with R. Assume the following expected probabilities of observing an event ...
1
vote
0answers
27 views

How to get a probability value for a binary data observation every minute of the day

I am observing the electrical power availability on the main line at my home as either existing (0) or not existing (1) every minute of the day (we get a lot of power outages in this part of the world)...
0
votes
0answers
42 views

One Class Classifier for balanced binary dataset

Can I use one class classifier for the balanced binary dataset? For example, consider a text sentiment analysis dataset in which a number of positive and negative samples are equal Can I use one class ...
0
votes
0answers
14 views

Binary data of MCQ for paired T test

I am designing an experiment where I need to measure developer awareness after the introduction of a tool. basically taking 4 questions in pre and post-survey to measure increased awareness using the ...
0
votes
0answers
12 views

Weighted similarity coefficient for binary data?

I would like to evaluate the accuracy of land degradation maps I have estimated using remote sensing compared against observed field land degradation maps. The maps are classified in a binary way and ...
0
votes
0answers
30 views

Obtaining estimated probabilities and 95% confidence intervals from binomial GLMM

I have a dataset where I am testing whether, overall, individuals are more likely to mate (mating_response) with individuals of the same type rather than a different type . The response variable is ...
0
votes
1answer
47 views

Calculate Correlation/Distance Between Two Sets of Binary Vectors

Given two sets of binary vectors, what are some optimal ways to calculate their correlation? For example, Set A: [1,1,1,0,0,0] [1,0,1,0,1,0] [0,0,1,1,1,1] Set ...
0
votes
0answers
8 views

Filtering segments to balance classes in classification

I have a binary classification cohort where the False/True classes are imbalanced 20:1. It is possible to determine the quality of the data collected for each sample in the cohort. In my case, quality ...
0
votes
0answers
13 views

can i use cramers v to calculate correlation between two binary vectors?

i have a table with a mix of binary vectors and numerical. How can i calculate the correlation between the binary vectors (which contain 0s and 1s). Can I use cramers V for this? or should I use phi, ...
1
vote
0answers
43 views

Can you estimate average precision from log loss?

I am doing my final thesis in the field of Deepfakes and their detection. The final outcome is to have a binary classifier which could predict which video was updated and which was not. In other words,...
0
votes
0answers
23 views

Regression analysis with binary independent (categorical) variables and continous dependent variable

I am working on a dataset with 14 binary (0 or 1) independent variables (product features) and trying to measure a continous dependent variable (product price). I tried doing a regression analysis to ...
1
vote
0answers
54 views

why is the standard error so high for my probit model [closed]

I have created two probit models, and even though p values are significant and sample spaces are large- 10000 samples in both- standard errors seem to be about 6.27e. What could be the reason for that?...
1
vote
1answer
60 views

AUC-ROC interpretation for a binary classifier

I have this confusión matrix results: ...
0
votes
0answers
19 views

Binary Logistic Regression using SPSS for Non-Dichotomous Independent Variables

Im using SPSS for binary logistic regression but one of my independent variables is non-dichotomous and categorical (genotype - there are 5 gene combinations possible). I am trying to see if a ...

1
2
3 4 5
24