# Tagged Questions

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

19 views

### Modeling an indicator variable with continuous properties

I'm trying to model auction participation for a single individual. It occurs to me that their participation is binary (yes/no), but also continuous in the 'yes' case. Any general pointers for how to ...
15 views

### should i normalize for size? using roc-curve to compare classifiers

background: I plan to use a roc-curve to compare 4 classifiers. My data is made up of 2000 family members (x1, x2, ... x2000) and each member is part of a family of a certain size (y1,y2...y215). ...
17 views

### Appropriate statistic for testing similarity of two paired binary datasets (of glaciovolcanism)

I am studying the ice-covered volcanoes of the world. I have developed three methods that use existing datasets to determine whether a particular volcano is icy or not, and I applied all three methods ...
165 views

### Regression when one class occurs for middle values of a predictor

I am trying to model a process with a binary response (pass/fail). The process fails if the predictor is large or small, but in the middle it passes. The result looks something like this: I want ...
10 views

### Extended Binary Logistic regression - multinomial regression or something else?

I wonder whether you could help me decide which statistical test to use. Briefly, I am testing whether personality (Big Five) predicts problem solving, in N = 282 participants. For personality, the IV,...
8 views

### Testing paired binary data for independence

I have run an experiment where I apply two treatments to a subject. Each treatment has a binary success outcome. My results look something like: ...
18 views

### causal correlations for binary variables

Let's assume we have binary vectors where we want to find correlations and the possible causal relations between the variables in R. 1- does "Bayesian Network structure" give the correlated variables?...
14 views

### interpretation of Pearson correlation for binary variables [duplicate]

I'm doing a correlation for binary vectors in R , I had this question about interpreting the coefficient and P-value of the result. Should I interpret just based on the correlation coefficient (r-...
35 views

### Any distance measures that are more useful for binary data clustering?

I was taking a look at Clustering a binary matrix but it didn't seem to answer my question. I used a basic euclidean distance measure which definitely works but I am exploring alternative distance ...
31 views

### Visualizing a two way interaction for a binary dependent variable

I have a dataset that has two continuous independent variables, months and tenure. The target variable is binary, 1/0. I want to visualize how the events change across months*tenure. How can I do that?...
60 views

### Is there a nonparametric test available in R to test for a trend in a binary variable?

I have e.g. the following (n=14) time series data: 0,0,0,1,0,1,0,1,1,0,1,1,1,0 By looking at this time series, it is easy to see that in the first half we have more zeros than ones and in the second ...
6 views

### Determining confidence for individuals' performance

Apologies if this is ridiculously basic - I have searched the site but my vocabulary is probably too limited to be successful. I have a group of individuals performing a task with a boolean outcome - ...
22 views

### Estimating Conditional Logit using Binary Logits

The statistics package that use (Gretl) cannot estimate conditional logits. My question is: Is it possible to trick Gretl into running CL using only binary logits. I found this reference but ...
7 views

### How to compare the results from two time points in the changed group?

I’m conducting a longitudinal experiment. The purpose of the experiment is to detect relation changes among the members of group (actors). At start time point, $t_0$, I formulated some social network ...
13 views

### Binary classification. Naming of metric TP+FP/FullSet

I have not been able to find the naming of this metric; TP+FP / FullSet (TP+FP + TN+FN) [for Binary/Binomial Classification] Basically percentage of how many Predicted Positives can I find within my ...
37 views

### Classification of binary string into 0 or 1 categories

I observe a binary string that contains both 0's and 1's like this one 100111101. However the true process that created these strings are either all 1's or all 0's. Due to technical errors and ...
5 views

### sample size for longitudinal quasi-experimental evaluation

I am working on the evaluation of a proyect designed to help crime victims to overcome their experiences. My main hypothesis is that the program prevent these victims being crime victims again. Since ...
25 views

### Timeseries with binary regressors

I'm trying to identify impact of some causal events on a given timeseries. However, the trouble is I only know whether the event occurred or not (binary). What kind of techniques can I use to create ...
245 views

### Clustering of variables: but they are mixed type, some are numeric, some are categorical

I have a dataset with 15 variables. Some variables are numeric, continuous. Other variables are boolean, dichotomous (true/false). There's also one variable categorical, nominal. ...
15 views

### Learning from Multiple Naive Annotator's Presence (and their labels as Y)

Although I am new to the forum, I have been following for several years and wanted to begin by sincerely thanking everyone, from the administrators to the members, for creating such an amazing ...
38 views

### Decontaminating the training data set - any idea why it works?

TL;DR I have to decontaminate a training data set that includes irrelevant observations that will harm the quality of any statistical estimation and inference. It is of course initially unknown which ...
20 views

### Classification when variables are observed as a group

How do I classify variables when the classifying binary output is known only for groups of variables? Here is a concrete example: a person eats different types of foods on different days, and she ...
32 views

### Vector Outcome Logistic Regression

Question: What model (Likelihood/prior family) is appropriate to use when attempting to do inference on a vector of boolean outcomes given continuous factors? Elaboration: I am only aware of ...
22 views

69 views

### Generating weights in mediation analysis

This mediation analysis regards how much of the social inequality (as a binary exposure) in long term sickness absence is mediated through physical work environment. The mediator is the logarithm of ...
23 views

### Measure relationship between continuous variable & unbalanced binary variable

I am trying to select variables for modelling a binary variable (whether a person will repay a loan) using various continuous variables about them - age, income, years of education, etc. I'd like to ...
41 views

### Classification, create a grey zone

I want to create a "grey zone" for a binary classifier. Grey zone means, in this zone classifier should give the result "I don't know". I denote classes with + and -. I have good tpr , but not so ...
17 views

### Test Retest of highly skewed dichotomous variables

Does anyone have recommendations on how to evaluate test retest reliability with 95% CI (individuals took the same survey 1 week apart) on data that is dichotomous (yes = 1; no = 0) where the data is ...
33 views

### Probability of getting a certain correlation by random chance

Say I have two different binary vectors (containing only 0s and 1s) with 20,000 observations in each and find the correlation between them. I'm interested in finding out if a very high correlation (.9-...
75 views

### 2PLM IRT modeling of rare event behavioral data: Why changing discrimination and difficulty values?

I am using the 2PLM (2-parameter logistic model) IRT model to examine how sets of very rare (negative/aversive) maternal behaviors (towards their children) are associated with a priori ...
13 views

### Habitat selection using binary data (comparing used sites to available sites)

I have a data set containing habitat data for the estivation sites of my study species, and I am trying to figure out the proper analysis to determine which features are important for them. For each ...
14 views

### Correlation between sequential binary choices

I have an experiment in which subjects perform a binary choice for each question. I want to explore the effect of n-1 choice on the nth choice. I think it has something to do with autocorrelation but ...
26 views

### Interpretation of Interaction effects in a Binary Logistic Regression

I have a series of exam practice questions on binary logistic regression, and I am struggling with one because I am unclear on how to interpret interaction effects in binary logistic regression. In ...
51 views

### Use Lasso Logistic Regression to Analyze Binary Data with

I am involved with a medical research that analyzes Coronary Artery Disease. The dataset has a couple of predictors such as age, gender, race, certain symptons and medical standard procedures to be ...
29 views

### Best neural network architecture for binary inputs and output (MATLAB)?

My input features are binary (0 and 1) and my output is binary (0 and 1). Currently I'm using patternnet function of MATLAB R2016a with default properties. Any ...
I am fitting the linear probability model, $$Y_i=\beta_0 + \sum_{j=1}^J \beta_j G_{ji} +\varepsilon_i$$ where $Y_i \in \{0,1\}$ and $G_{ji} \in \{0,1\}$, for $j=1,\ldots,J$ and \$\sum_{j=1}^J G_{ji}=...