Questions tagged [binary-data]

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

1,193 questions
Filter by
Sorted by
Tagged with
847 views

Which correlation analysis is appropriate for binary and ordinal variables?

Violin players were asked to rate 5 violins from least to most rich on a [0 1], 0.05-increment scale, ...
7k views

Changing attributes from nominal to binary

Reading this book, I found the following description regarding model trees for numeric prediction, in which nominal attributes are transformed to binary attributes. Before constructing a model tree,...
679 views

residualize binary outcome variable

Does it make sense and what is the correct approach to residualize a binary variable? For a continuous variable y, I simply run a regression that predicts ...
164 views

Creating fuzzy values for binary data

I am doing a logistic regression where my dependent variable is whether or not a person owns a particular product. Among the variables in the model is an indicator of marital status, 1 for married, 0 ...
86 views

Is it advantageous to use dummy variables when learning a regression model?

Say I have 3 random variables ${X, Y, Z}$, and I have collected an iid sample of size $N$ from them: ${\cal D} = \{ (x_i, y_i, z_i), i = 1,\dots,N \}$. The conditional expectation $E[ X | y ]$ can ...
794 views

Comparing player percentages effectiveness with different sample sizes

I have a spreadsheet of player data. One of the categories of player data is pass percentage. Pass percentage is calculated as follows: AccuratePasses/TotalPasses ...
1k views

Correlation with binary response and Likert scale response

I have 4 data groups: - 3 groups from a 5-point Likert scale (1 ~ 5) - 1 group is binary (Incorrect/Correct -- converted to 0, 1) I have performed Pearson's r and Spearman's rho with the Likert ...
5k views

How to test for mediation when working with binary data?

I want to assess if a single variable is mediating the effects of a set of IVs on a single DV. All variables in the model (IV, DV and the mediator variable) are dichotomous (0, 1) and observed. What ...
617 views

How to improve neural network sensitivity with a lopsided binary outcome?

I'm working on predicting (not explaining) a 0/1 outcome that generally has only about 10% "1"s (I'm not at liberty to name the variables). N ~40,000. Logistic regression proved unsatisfactory, both ...
225 views

Analysis of binary variables

I have a data set consisting of about a quarter-million objects, each of which may have any of 30 particular features. So I might have Object 1: feature 3, feature 7 Object 2: feature 3, feature 29, ...
3k views

How do I interpret logistic regression output for categorical variables when two categories are missing?

I am using binary logistic regression; the dependent variable is 1 or 0; the independent variables are two groups: the first group includes continuous variables (...
740 views

Appropriate test for comparing two sets of binary tests?

I have items made from two different materials. For each material I took a set of 250 samples and subjected them to a test which either broke them or did not. Which test could answer the question - ...
21k views

Likert scale and yes/no calculation of one score

My survey is based on observations and interviews. The observation questions are yes/no type questions and interview questions are 4 points. $1=$ never, $2=$ sometimes, $3=$ usually, and $4=$ ...
1k views

How to compare two sequences of binary data?

I have two differing-length sequences of binary values. In each sequence, each value corresponds to an observation which is either right or wrong. I'm looking for a statistical test that addresses ...
10k views

Percent correctly predicted of logit model

Is there a standard way to report the percent correctly predicted when predicting a binary outcome? Using glm in r, the results are predicted probabilities. However, in order to make a comparison to ...
272 views

comparison of sets of binary sequences

I want to compare three sets of binary sequences and assess whether they differ statistically. Each sequence is 100 bits long (the length 0-100 represents the axis of an elongated tissue : if there ...
6k views

Test for effects of two categorical variables on a binary response variable?

I am looking for a test similar to a 2-way ANOVA that would work on a binary response variable. My response variable is survival of plant seedlings (alive or dead). My explanatory variables are ...
166 views

Independent variable misclassification and statistical tests

Suppose we have our standard DGP, $y=\alpha+\beta x+\varepsilon,$ where $x$ is binary. Let's say the observed $x$ is actually measured with error, so that the explanatory variable is misclassified for ...
427 views

Is there a better alternative to a logit / probit regression when all dependent variables are dichotomous?

I'm working on a clinical trial dataset with binary response. All independent variables are also binary. My first impulse was to simply run a standard logit / probit regression and be done with it. ...
100 views

Determine ratio constant and formula for an equitable score in my algorithm

I am working on a algorithm for a software module but decided I was hung up on the mathematical formula so I posted here instead of Programmers. Each scenario will have a team of people competing. ...
1k views

Is there an R package for continuous time longitudinal binary responses?

The bild package appears to be an excellent package for serial binary responses. But it is for discrete time. I would like to specify a smooth function of time ...
109 views

Way to rank binary sequence

Bear with me as I try to word this question well (I'm a mathematical modeler, but not a statistics guru). We want to assess the response patterns of a binary timeseries. The data are from people ...
5k views

Why don't dummy variables have the continuous adjacent category problem in cluster analysis?

I know that if we use categorical variables in cluster analysis we would assume that the scale is continuous and we don't have this concept of distance between two adjacent categories. But what is the ...
1k views

How to model binary dependent data with temporal autocorrelation?

I am trying to model annual tree nut production using climate predictors. The nut data (dependent) is a binary timeseries (0,1 - representing unsuccessful and successful nut production), with one ...
655 views

Association between a categorical and binary variable

I have a set of patients that I split into two parts using some obscure algorithm (doesn't matter how): let the $X$ take on values $A$ and $B$. Each patient belongs to exactly one of 5 disease ...
77 views

Percentage of binary outcome when informed of only one event

Suppose you have a bunch of independent time series each with binary outcomes A/B, all with the same CDF (but we don't know anything about it a-priori). We want to compute the average percentage of A ...
224 views

Reporting contrasts between binary probability parameters in Bayesian data analysis - odds ratios or difference in probability?

In a bayesian data analysis, if one is modeling differences in binomial/bernoulli probability parameter differences between populations, is it still standard to report the difference in the binary ...
1k views

6k views

How to do a repeated measures analysis with binary DVs and a single binary IV?

I ran an experiment where participants were randomly allocated to 2 conditions. They then completed 3 seperate tests with a binary pass/fail outcome for each test. So I have 3 binary (within-subject) ...
255 views

Multi-factor model for a quantitative response variable

I am analyzing data in order to develop a model for power generation of a solar system based on three predictor variables. I have done t-tests showing significant improvement in the generation while ...
895 views

Selecting link function in GEE with binary dependent variable

In my experiment participants had to make a binary (yes-no) decision about various stimuli. I have two categorical (stimulus characteristics coded as -1 0 and 1 and treatment group coded as 0 1) and ...
2k views

Is it acceptable to rotate factors with PCA for binary data?

What issues, if any, might there be in rotating factors in order to obtain factor/component loadings of binary data? Is it acceptable to rotate the factors when doing a traditional PCA? (Assuming I’m ...
412 views

How to test for differences in binary score data?

I have data from a human subject study that was setup as a 3x2 (system by task type) experiment, with 24 participants. Each participant completed 6 tasks in all, one using each of the 3 systems, and 2 ...
12k views

Looking for a step through an example of a factor analysis on dichotomous data (binary variables) using R

I have some dichotomous data, only binary variables, and my boss asked me to perform a factor analysis using the tetrachoric correlations matrix. I’ve previously been able to teach myself how to run ...
215 views

Is there a (parametric) distribution over sparse symmetric, binary matrix-valued random variables?

The title says it all, really. I'm aware of the Wishart distribution for symmetric, nonnegative-definite matrix-valued random variables, and am looking for something along these lines, but for sparse ...
376 views

Can I include nominal predictor variables in ordinal regression?

I am in the process of performing ordinal regression on a large data set that measures different types of variables (nominal, ordinal, continuous). My outcome variable is ordinal, hence the ordinal ...
14k views

What test is appropriate for binary outcome with repeated measures and binary, ordinal and continuous independent variables?

I'm trying to figure out what is the most appropriate statistic test for use with my data and was hoping for some advice. The primary data consists of a binary independent variable (patient test - ...
174 views

Dichotomous DV and 3 points of measurement per condition within each subject

I have been reading a lot on this site and I think I am going to analyze my data using a mixed model ANOVA- random effect= subject and 2 fixed effects- comparison and pricing. All of my subjects were ...