# Tagged Questions

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

1answer
17 views

### Goodness of Fit Test for Logistic Regression with small n_i

I would like to test how well my model fits the data. The response is binary and the Chi-Squared Test cannot be applied for the residual deviance because the $n_i$ are $1$. To use the Chi-Squared GOF ...
1answer
87 views

### Steps followed when Binary logistic regression when both dependent and independent variables are binary

I had set of binary variables. To apply logistic regression, I have checked association between dependent and independent variables and considered only those independent variables in the model which ...
4answers
78 views

### Classifier or regression for binary system?

Lets say you want to create a random forest model that predicts whether a user will click on your search engine ad. Lets say the training data set marks the independent variable (i.e. whether the user ...
0answers
18 views

### Predicting binary vectors as a single response

My responses consists of vectors of 12 bits - each bit means a particular event in 1 month. I need to predict the probability of an event in all months -> so the predictions should also consist of 12 ...
1answer
40 views

### Binary classification to evaluate a object classifer. How to merge two samples/groups (different size)?

I'm evaluating a classifier to detect objects. For example: I have a set1 with 50 pictures with the object to detect. And set2 with 100 pictures without the object. I determine the true positves (0 ...
0answers
31 views

### Which statistical tool can compare binary and ordinal data?

My research question is whether aptitude tests are a good indicator on how students will perform on course exams. I have already performed an analysis on total exam score compared with total aptitude ...
0answers
31 views

### how to interpret the result of significant regression of binary logistic yet all predictor is insignificant [duplicate]

I am performing research on Product attributes of mineral water toward purchase decision. However, the result of -2log likelihood test showed that my model is fit enough yet my result of Hosmer and ...
1answer
91 views

### 2D binary classification

Background A laboratory wants to evaluate whether a certain form of gel electrophoresis is suited as a classification method for the quality of a certain substance. Several gels were loaded, each ...
0answers
38 views

### Using R and hidden Markov models to predict pseudorandom binary sequences better than P > .5?

I would to predict a pseudo-random binary sequence of 0's and 1's. I am thinking of using the HMM package in R. I have a binary sequence like ... 0 1 0 0 1 1 0 1 x(n+1)? with thousands of values. ...
0answers
16 views

### Target and Non-target scores, BOSARIS Toolkit

I am working on a binary classification problem using Artificial Neural Networks. My questions are: 1) What are "target scores" and "non-target scores" in a classifier, and how can I make my ...
1answer
48 views

### Interpreting logit regression with both continuous and categorical variables

I have a logistic regression like this: ...
1answer
23 views

### Transform multiclass classification to binary - benefits?

I have 400 instances which must be categorized into 4 classes. Using WEKA, I tried out a couple of multiclass classifiers like J48 and Random Forests, but never made it above Kappa 0.6 and ~65% ...
0answers
28 views

### Correlation of one binary input series and continous response series

I have one input series of type 0/1 (it is an intervention time series) and some metric response series. I need to have a look at cross correlations. Normally I would use Box-Jenkins-technique. But ...
0answers
30 views

### What test should I use in this case?

Here is my problem: each case in my dataset is a person who did or did not get appointed to a fellowship (0, 1), and I want to explain this with two independent variables (grades, 0-100, and ...
1answer
47 views

### Can logistic regression estimates suffering from subsample abuse be salvaged?

Suppose we have some logistic regression modelling problem; $f(X) = Y$, where $Y$ is binary and $X$ is a vector of normally distributed variables. In industry it is sometimes the case that ...
0answers
65 views

### Prediction based on repeated measure with binary outcome

I'd like to make a prediction about a subject's likelihood that a certain outcome will occur based on a series of measurements taken over time. The easiest way to explain the problem is as follows. ...
2answers
82 views

### Concerns about the size of odds-ratio estimates in binary logistic regression model

I am creating some binary regressions and am wondering if I should be surprised by the size of the odds ratios. In this particular example, the dependent variable indicates whether a student can ...
0answers
19 views

### Trusting the results of a binary vector comparison

Dear Statistics Experts, I have two pretty long binary vectors (~3 mi positions), and I found the distance between then using Jaccard's Index J=(a / (a + b + c)). After getting the result, I asked ...
1answer
41 views

### Testing association with 0-1 independent variable - how?

I'm looking to demonstrate an association between penalty (overtime) payments and absenteeism. The dependent variable is overtime payments ($0-$highval) for a shift, and the outcome variable is 'was ...
1answer
76 views

### PAC learning theory and lower bound on the amount of input samples

I am trying to answer the following question: "How much (binary) data do I need for my learner to have seen every variable of the dataset at least once?" In my set-up I am feeding my algorithm binary ...
0answers
18 views

### Two-factor contingency table analysis where individuals can only choose between 2 options

I have an experiment where individuals can only choose between 2 options at any given time, and am interested in determining if two factors interact to influence the individual choices I observed. ...
0answers
27 views

### Confidence with probability values

I am constructing a predictive model for a binary outcome, which gives me results in a "probability-prediction" fashion such as "0.3-YES" or "0.4-NO". The model is working perfectly. My question ...
0answers
133 views

### PLS-DA with binary predictors in R (package mixOmics)

I am trying to analyse a dataset with at minimum 50 explanatory variables coded as 0 and 1 for presence/absence and a binary response variable (case/control). The goal is to see how the variables can ...
1answer
141 views

### Binary logistic regression on SPSS 20 - output seems inconsistent and illogical

I have one categorical dichotomous dependent variable (yes/no - retention of newly learned words) and two independent variables - both are categorical. One independent variable is "delay between ...
1answer
75 views

### Binary or multinomial logit?

I am having some doubts on whether I should use binary or multinomial logit. I am modelling product choice. The dependent variable is the choice of either shampoo or toothpaste. Although my dependent ...
0answers
61 views

### Normalize binary features for logistic regression

I am applying logistic regression and I am using a mixture of continuous and binary features. My question would be how do you go about binary features when trying to normalize. I would very much ...
2answers
52 views

### Highly significant positive binary IV: Interaction always positive too

I'm working on a project where the main independent variable is binary. We then interact this variable with different continuous variables. The binary variable is by far the most significant variable ...
0answers
89 views

### Measurement bias with Likert items and dichotomous items

I'm hoping someone here might be able to answer a question I am struggling with. I'm trying to find the best way to test differences across and within 3 conditions, where I am manipulating my ...
2answers
118 views

### The bootstrapped confidence intervals for ORs are strangely big or small in my binary logistic regression. Are they valid in the first place?

This question is an extension to my previous question, although it is not repeated. My bootstrapped ORs are OK. They are equal to non-bootstrapped ORs. However, the confidence intervals of the ...
0answers
141 views

### How to interpret the significant interaction of two non-significant main predictors?

I have two non-significant main binary variables in my binary logistic regression model, but their interaction is significant. The variables are centered and no multicollinearity is the case (all VIFs ...
1answer
89 views

### A model that can fit binary data in R

I have data that indicates if the computers in my network are up or down. Data is collected every minute and has a seasonality of one week, looks like this for 3 hosts. Servers are supposed to go down ...
1answer
51 views

### Find the correlation between two binary observations when the parameter is one of two possible values with priors $p(\theta_1)$ and $p(\theta_2)$

Consider two binary observations, $x_1$ and $x_2$, which are independent given $\theta$. Now suppose there is uncertainty with respect to $\theta$. Find the correlation between two binary observations ...
0answers
29 views

### OLS Regression for binary outcome [duplicate]

When is it appropriate to use linear regression for a binary outcome? I understand that it is conventional to use logistic regression for a binary outcome because it generates a linear list of ...
1answer
50 views

### Transformation of binary data

I have a function that I am trying to optimize using Particle Swarm Optimization. The objective function gets a binary string. These binary strings are candidate solutions of the subject function. I ...
1answer
141 views

### Calculating a correlation with yes/no answers?

How do you calculate a correlation, that similar to Spearman and Pearson forumlar when you are only comparing one variable (age) to answer given by yes and no. As ages goes up more likely to answer ...
1answer
84 views

### Positive/negative relationship for a binary variable in a linear regression

I have a linear regression with multiple independent variables. One of the variables is binary. If the parameter estimates are positive or negative, does it share the same positive/negative ...
2answers
2k views

### Is there a simple rule for interpretation of Interactions (and their directions) in binary logistic regression? [duplicate]

I have a binary logistic regression with Y (a disease) and 5 independent variables (and some of their 2-sided interactions which did not cause multicollinearity). All of my single IVs significantly ...
0answers
27 views

### Clustering of Different Data Types and Dimensions

I'm looking for advice on the most appropriate (and hopefully fastest) Clustering method for a few different scenarios. First of all, please do correct me if Clustering is not what I'm looking for. ...
3answers
192 views

### Detecting clusters in a binary sequence

I have a binary sequence such as 11111011011110101100000000000100101011011111101111100000000000011010100000010000000011101111 Where clusters of mostly 1's are ...
3answers
322 views

### Reporting of an interaction in a binary logistic regression

I've found some interesting results that I'm trying to write up appropriately, but I'm having a hard time finding any guidance into how to write up an interaction in a binary logistic regression ...
2answers
135 views

### Alternative to LPM and logit regression in Stata

I'm dealing currently with complex dataset that was already tested with Linear probability model and logit regression. I'd like to find an alternative for original regressions. The sample uses a ...
0answers
21 views

### Change in S.E of one variable when interaction term added to Binary Logistic Regression [duplicate]

I have 6 predictor variables and have carried out a binary logistical regression. I found that most variables significantly predicted the DV. However, I then wanted to find out if there was a ...
3answers
85 views

### Which test(s) for analyzing yes-no answers for control vs treated conditions

To keep it simple, I have sets of data in which I have a control and a treated sample. The data I obtain is "yes" or "no" (0 or 1) for a particular behaviour. I have 150 data points for each condition ...
3answers
242 views

### Binary classification machine learning

I have data set (30,000) mapping people to incomes(<=some number ,>some number) each instance has 15 features so as age, education. I would like some advice/pointers as to the best machine ...
1answer
51 views

### Classification of biological samples with binary variables

I have a question about a very basic classification problem. The objective is to discriminate between feature A and B. Where A is a specific biological sample, and B all others. And the goal is to ...
1answer
475 views

### Covariance of binary and continuous variable

Suppose $y$ is a continuous random variable and $d$ is a binary random variable that takes the value $1$ with probability $p$ and $0$ with probability $1-p$. How do I show that ...
0answers
200 views

### How to construct GLMM model for repeated measures with binary responses with lmer

In my experiment I assigned subjects to one of the 3 treatments A, B or C. Within each treatment, a single subject was tested with two models sequentially. The test sequence was randomized. The ...
0answers
51 views

### What is a binary explanatory variable?

Can someone provide a simple definition of what a binary explanatory variable is? A description in simple terms would be ideal. How would you recognize one?
1answer
204 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 ...
0answers
37 views

### Find and fill values for the missing points using close/similar vectors

I have a matrix which looks like the attached image below, and I would like to know what's the statistically best educated guess for the missing steps (filled in orange) for the vector $\mathbf N$. ...