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

learn more… | top users | synonyms (1)

0
votes
0answers
17 views

Results of xgboost binary logistic regression in R

I am having problems running logistic regression with the xgboost package. My code (the dataset is not the classic iris dataset): ...
0
votes
1answer
15 views

Binary Logistic Regression with multiple binary and ordinal independent variables

In my data set I have one dependent variable (dead or alive) and 37 predictor variables. 35 of my predictor variables are dichotomous (Obese: 1 or 0, Female 1 or 0, etc), however 2 of my variables are ...
0
votes
1answer
27 views

Nonparametric tests and binary data?

I'm having data which represent two groups, one that used tool 1 and the other that used tool 2. I asked a series of questions (10 questions). The questions were true or false. I also measured the ...
0
votes
0answers
9 views

Classification techniques for handling mislabeled data

I am trying to think about a problem of how to model binary data in the presence of possible labeling errors and was curious if anyone had any thoughts about it. The basic setting is that we have a ...
1
vote
0answers
24 views

What analysis is appropriate for binary outcomes nested within individuals?

I'm working on my FYP & want to find out if my manipulation (condition: priming v.s. no priming) has any effect on distribution outcome (binary outcomes: 1-1 FAIR split; 2-0 UNFAIR split). Each ...
1
vote
1answer
15 views

Combine multiple predictions of binary outcome

I am moving from a single-model prediction of a binary outcome to an aggregate of a small number of models, for example: ...
1
vote
0answers
14 views

How to analyze Time-Series Panel Data with Binaries?

For a project I have collected some data. The Data has some binary variables (success(0/1), Manager present(0/1), First_Third (1 if the observation was in the first third of the project, 0 otherwise) ...
1
vote
2answers
35 views

Odds ratio interpretation if no significant correlation between outcome and predictor

Does it make sense to conduct a logistic regression (binary outcome vitamin D deficiency and predictor CRP) if there was no significant correlation between the two variables in the first place? ...
0
votes
0answers
12 views

Use of mixed effects model for count, continuous and binary variables

I have data in the following structure: Nested: "site" (n=6) > "year" (n=6) Response: "marshland_area" (continuous) Explanatory: "sea_level" (continuous); "invasive_species" (binary); ...
0
votes
0answers
14 views

How do I run a t-test or variance analysis on odds-ratios from multiple binary regressions in SPSS or R?

I am computing a binary logistic regression with two sexes, five age groups and two social status groups as categorical independent variables and the probability of the prevalence of a disease as ...
4
votes
1answer
101 views

Where in Elements of Statistical Learning does it talk of a “trick” to deal with categorical variables for binary classification?

I've struggled to deal with categorical variables in Random Forests, for binary classification. Between 8:15 and 9:30 in this instructional video, it talks of a "clever trick". It says the trick ...
0
votes
1answer
28 views

Using Ward's method for clustering and Dice's similarity coefficient for binary data

Is it valid to use Ward's method for clustering and measure similarly by Dice's coefficient for binary data? I am trying to isolate the most similar groups from a set of binary variables while ...
0
votes
0answers
19 views

predictive model for mutation data (all binary)

I have a mutation data set (all binary, 0 or 1, representing a gene not having mutation or having mutation), and I need to find out a list of genes that can predict the outcome (also binary, group1 or ...
1
vote
0answers
11 views

Why is a larger sample required for a weaker rate when the response is a binary event?

I am interested in conducting an experiment and am attempting to calculate the sample size required for this experiment. If I hold beta at 0.8, alpha at .95, and am looking for a 5% increase, why do I ...
0
votes
0answers
8 views

Determine association between/reliability of two series of frequencies

I have received two sets of data, both contain usage frequencies of different newspapers during 44 days. I don’t have any data on respondent level. The samples questioned in both datasets are ...
1
vote
0answers
31 views

Appropriate test for two test groups, one control group and binary outcome

I have the following problem: We send our Clients an email and offer them some new product. Let's say we want to test 2 email designs. Additionally, we need a control group, since some of the clients ...
1
vote
0answers
15 views

R - Binary outcome from binary history [closed]

I am new user of R and I am trying to solve an issue: I have a series of 1,0 (which represents data taken in a period) and I would like to predict future with same results (1,0). Better explanation: ...
1
vote
1answer
40 views

How to compare coefficients in different models?

I used a binary logit regression with three different dependent variables in order to end up with three models. The dependent variables are configured with 0=no/1=yes. I use a variety of different ...
0
votes
0answers
45 views

Using probabilities as predictor variables for binary classification

I have training data with each feature being different sources of probability. All of the features are probabilities (between 0 and 1 obviously). This is a binary classification problem. Note ...
0
votes
1answer
33 views

I don't know how to determine the P-value for my OR.

I'm new to logistic regression.suppose i have a binary outcome (Y) and categorical independent variable (X). when i run the test on spss, for every category there is a different P value. please i want ...
0
votes
0answers
9 views

generalized regression of expected values in classification problem?

I am working on a classification model to report the probability that, given a new vector of conditions, predicts the probability of Y being true. X is a 300 x 250,000 matrix of numerical and ...
0
votes
2answers
23 views

Clustering of binary/nominal variables in one sample

Assume that a medical school classifies its active, full-time students according to their free time activities. By distributing simple questionnaires individuals have to answer whether or not they're ...
0
votes
0answers
19 views

how to convert quantitative variables into binary variables?

My problem is in finding the cut-off point which divide my continuous data into 2 binary outcome. I read articles they used the 75th percentile of the control distribution as cut off point and they ...
0
votes
0answers
13 views

How to specify a threshold for binary cross-validation using the DAAG package in R?

I recently found out about the DAAG package in R, which has the CVbinary function that performs cross-validation for regression with a binary response. I created a ...
0
votes
0answers
18 views

Binary classifier for high categorical data

I have a dataset with ~1kk observations of some categorical variables (with ~100k categories each, which stay for ID), time and response $y$ (binary). The goal is to construct binary classifier. I ...
0
votes
0answers
12 views

What should be reasonable distribution for a binary dependent variable in the logit model?

I have a logit regression at hand which involves dependent variables consisting of 87% 1s and the rest is 0s. Does this distribution of the binary dependent variables appear right in the sense that it ...
0
votes
0answers
12 views

Significance of the outcome of a binary variable

I have two classifiers A and B, and use each of them to predict the class of the same 500 data points. Assuming we have the following figures: Classifier A, correct predictions: $a_c$ Classifier A, ...
3
votes
1answer
90 views

What are dangers of calculating Pearson correlations (instead of polychoric ones) for binary variables in factor analysis?

I do research on educational games, and some of my current projects involve using data from BoardGameGeek (BGG) and VideoGameGeek (VGG) to examine relationships between design elements of games (i.e., ...
0
votes
0answers
3 views

sampling size for binary group estimation (under randomized validation)?

Having binary groups with n members (size of several thousand or more members which can have 0 to ...
0
votes
0answers
32 views

How to dichotomize dependent variable for binary regression analysis

I am doing a research and want to analyze factors that are associated with dental erosion using binary regression analysis. Dental erosion (dependent variable) was graded using a scale criteria with 5 ...
1
vote
0answers
29 views

Joint PDF (or MGF) of random sums

I am interested in finding the joint PDF of two sums of random variables. Let: $\textbf{Z} = \left[ {\begin{array}{*{20}{c}} {{z_1}} \\ {{z_2}} \end{array}} \right] = \textbf{D}\textbf{X}$ ...
-1
votes
1answer
54 views

What test should I run to show if there is a correlation between two binary variables?

I have two variable religion and healthy. The answers are coded as yes or no. I want to see if health is related to religion.
1
vote
1answer
33 views

Should I convert a categorical variable with k levels to (k-1) or k binary variables?

I'm building a predictive model with a combination of numeric, binary, and categorical variables. The outcome is binary. For methods like SVM, I have read on stack exchange that the categorical ...
0
votes
0answers
34 views

How to deal with a model that can't be fit due to quasi-complete separation? [duplicate]

I am doing a binary logistic regression analysis. I got one categorical predictor with 7 levels. When I try to do this in Minitab 17 I get an error message: "The model could not be fit. Maximum ...
0
votes
0answers
10 views

Excluding levels in a categorical predictor in logistic regression

I am doing a binary logistic regression with one explanatory variable. I got 7 treatments originally in this variable, but what I am actually interested in is testing the difference between two of ...
0
votes
0answers
24 views

Consistency of GMM/LIML IV in presence of endogenous binary variable

From what I've read, 2SLS with 1st stage probit for the binary variable will result in inconsistency, this is the so-called "forbidden regression". This problem is adressable, but that's not what I'm ...
1
vote
1answer
34 views

Need help deciding on a model for estimating births

I'm working on a regression that predicts the number of births a female will have based on roughly ~15 variables. Therefore I have a discrete dependent variable. I was doing some research and it seems ...
1
vote
1answer
27 views

Which test should I use to compare means for two independent binomial samples?

I am trying to compare the number of "likes" on social media posts between two independent samples of about $n=60$ each. Is it appropriate to use a chi-squared test for this data?
0
votes
1answer
43 views

Can I use binary variables in logistic glm in R? [duplicate]

Can I use binary variables in R's glm function with a binomial outcome (logistic regression)?
0
votes
0answers
35 views

how to perform correlation analysis between binary and continuous variables?

Can any one tell me how to perform correlation analysis between binary and continuous variables? I have to do this analysis for publication wherein we are trying to construct between binary and ...
0
votes
0answers
20 views

Possible to run regression to determine impact of day of week on binary variable?

I have a data set on medication adherence for a single user with daily entries for more than a year. Is it valid to analyze whether day of week has a significant impact on medication adherence? The ...
4
votes
1answer
43 views

Comparing more than two proportions within one sample

My experiment was in short: I had less than thirty individuals. One individual had to choose between three colours (green/red/yellow). (Very much like a multiple choice.) Now, my question is how do I ...
0
votes
1answer
57 views

Yes/No question statistics

I'm very new to statistics and am trying to figure it all out! I have a number of yes / no questions answered from a survey. (a) I want to see if, in each question, there is a statistical significance ...
0
votes
0answers
50 views

Combinations of substring occurrence in string

Say I have a binary sequence of length N (e.g. HTHHTHTTTTTTH). How do I find the number of ways to get a NON-overlapping substring of length K (e.g. HHTH), where 1<=K<=N? It's possible you can ...
0
votes
0answers
32 views

What statistical test should I use to compare average binary response on two variables?

I would like to test if an experimental measurement outcome is statistically significant, but I'm not sure if this can be tested or what statistical test to use. I have a population of subjects (in ...
2
votes
0answers
21 views

How to choose optimal bin width while calibrating probability model using Brier score, isotonic regression or calibration plots

There are some great questions/answers here on how to calibrate models which predict probabilities of an outcome happening. For example Brier score, and its decomposition into resolution, ...
1
vote
0answers
23 views

Best statistical test for binary data

Hi :) I hope someone can help me figure out what statistical test(s) are relevant in the following situation. It is new for me working with binary data. 10 patients have blood submitted to 4 ...
0
votes
0answers
18 views

Relations between binary variables in logistic regression - what is the best method?

In generating a logistic regression model for a data set of c.8000 observations over c.40 variables (not including interactions) I am trying to figure the relations between the variables. Most ...
2
votes
0answers
25 views

Convergence diagnostics for binary variables

I am running MCMC for binary/categorical variables. I know that a decent method to check for convergence is to look at the traceplot of the variance, but I don't know a good citation for this. Does ...
0
votes
0answers
49 views

CLIQUE and PROCLUS Algorithm for binary data

I am performing a subspace clustering on binary attributes, about 48 in number. The dataset has 248 records to be clustered. I tried using opensubspace plugins for weka and rapidminer, using the ...