Questions tagged [logistic]

Refers generally to statistical procedures that utilize the logistic function, most commonly various forms of logistic regression

2,353 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
0answers
323 views

Why would feature scaling cause overfitting?

I'm fitting a logistic regression to a simple two-feature dataset. The feature values range from about 1 to 100. When I scale the features (using scikit-learn StandardScaler), the in-sample ...
0
votes
0answers
65 views

Logistic regression on 3 covariates each with unequal sample size

I have 3 covariates $(x_1,x_2,x_3)$, each covariate takes only 2 values $\{0,1\}$ but each covariates have unequal sample size. $n(x_1)=79,\;n(x_2)=80,\; n(x_3)=77$ $x_1$:(60 zeros and 19 ones) ...
0
votes
0answers
205 views

How to interpret this binomial logistic regression output in R

I have run my logistic regression model to find out whether the gender of a test name is a predictor of the gender of the word assigned to the test name. ...
0
votes
0answers
3k views

Prediction using multinomial logit regression in R

I've got three variables, a factored (c) and two ordinal independent (a,b). Every variable has five categories (1,2,3,4,5). Thus, I fitted a multinomial logit regression (testus, see below) with the ...
0
votes
0answers
1k views

How to find cutoff values in multinomial regression?

Updated I have a data set with five continuous variables measuring an index in a population. For finding underlying classifications in the population based on the five observed variables, I did a ...
0
votes
0answers
89 views

What's the likelihood function in this case?

I have a data set with a binary response variable as non-zero survival cells (y=0) or zero survival cells (y=1), and I would like to build a model with explanatory variable X. I know that the most ...
0
votes
0answers
967 views

How to interpret the significance of logistic regression variable? Something analogous to a partial F test in logistic regression

For ordinary linear regression with Gaussian noise, it is easy to interpret the significance of a variable. This is consistent with a partial F test. The square of the t-test for the second variable ...
0
votes
0answers
53 views

How to treat a time rank in logistic regression?

For an analysis of user attrition I want to perform a logistic regression, using task difficulty and point in time (100 trials) for a math task. My guess is that high difficulty at a late point in ...
0
votes
0answers
79 views

Transform categorical variable

The goal is to design a variable to use in logistic regression which measures the importance of starting with possession of the ball in football. Possession is ...
0
votes
0answers
136 views

Can I test a proportion (k success out of n) against an expected probability obtained from a logistic GLM?

I have a logistic regression model which is obtained from literature about the probability of developing a toxicity ($y_{i}=1$ or $0$) when patients are given dose $X_{i}$. $X_{i}$ is a continuous ...
0
votes
0answers
68 views

Regression for categorical y and proportional and discrete xs

I have a model with a categorical dependent variable and independent variables that contain a proportional variable also. It appears that multinomial would be an ideal fit, but am not certain on how ...
0
votes
0answers
697 views

Less significant findings using conditional logistic regression

I used regular logistic regression on my dataset and got a few significant hits. However, since the data is 1:1 case-control matched data I decided to try using conditional logistic regression (...
0
votes
0answers
211 views

Goodness of fit vs. significance

If you had two models - one with a better fit, and one with predictors of higher significance - which one would you choose? Keep in mind that both models are considered a good fit. One has a 3% ...
0
votes
0answers
545 views

Transforming a continuous covariate into a discrete one in logistic regression

I am largely inexperienced in the area of logistic regression. I was wondering if there were a good way to transform a continuous covariate in a logistic regression into a discrete one by subdividing ...
0
votes
0answers
74 views

Find good features

I am trying to find out what variables are important in predicting how many points are scored in the first half of basketball games so I can plug these into a logistic regression. I know that betting ...
0
votes
0answers
512 views

Finite output in logistic regression with divergent `glm` algorithm

let m be my matrix of data ...
0
votes
0answers
245 views

Comparison with trial dependent chance level

I ran an experiment where each participant had to choose 1 image from a 4-image display and I measured whether the image they chose was from category A. I want to compare the average proportion of ...
0
votes
0answers
147 views

Using R in Java Project

I hope this question is not off topic on CV: I am currently fitting some different models (naive bayes, logistic regression...) in R which I up to now thought of as prototypes for a later Java ...
0
votes
0answers
87 views

Using logistic regression to fit a weird dataset

I have the variables $Y$, $x_{m1}$, $x_{m2}$, $\ldots$, $x_{mn}$, $x_{p1}$, $x_{p2}$, $\ldots$, $x_{pn}$, $x_{q1}$, $x_{q2}$, $\ldots$, $x_{qn}$. $Y$ is the class label (0 or 1). $x_{mj}$, $x_{pj}$ ...
0
votes
0answers
77 views

Using different variables for each dependent value in multinominal logistic regression

I am not sure if this is possible, but my question is - Is it possible to use different sets of independent variables in the same model for different values in a multinomial logistic regression model? ...
0
votes
0answers
336 views

Pooling data with unequal sample sizes

I have searched far and wide for a clear answer to my question (and am aware that a clear answer may not exist) and I'm hoping someone might be able to help me: I have survey data for 4 samples of ...
0
votes
0answers
403 views

Confusion while using lassoglm

I am trying to fit a logistic regression model with L1 regularization on my data. My data has just 12 examples with 150 features. So I used L1 regularization. Now when I use the lassoglm function like ...
0
votes
0answers
98 views

Centering to use a sparse covariate?

In my dataset, there's a binary response, some factors, and some covariates. In particular, there are some covariates that are always present when factor1=="A" and ...
0
votes
0answers
372 views

What are some software packages for doing panel aggregated logistic regression with no random or fixed effect intercept (not SAS)?

I am interested in doing Panel Aggregated Logistic Regression (aka Panel Binomial Logistic regression) without random intercept and I was wondering if anyone could suggest some existing packages. ...
0
votes
0answers
583 views

Weight variables to develop scoring algorithm

I am studying how to develop a prognostic index in medicine. I have read some articles and in all of them metholodgy is quite the same. Most of them use logistic regression, choose variables and build ...
0
votes
0answers
4k views

How do I conduct model selection for logistic regression in SPSS?

I am analyzing a set of clinical data where I try to predict an outcome by using certain covariates. I have already done univariate analysis and now am progressing to binary logistic regression, ...
0
votes
0answers
863 views

Generating and analyzing predicted data in JAGS

I am trying to model a logistic regression on data predicted from the results of a previous logistic regression, and am having trouble figuring out how to do it, either in OpenBUGS (BRugs) or JAGS (...
0
votes
0answers
3k views

How can I get stepwise selection for multinomial regression in SPSS to process?

I am using SPSS to analyze my data. It is multinomial regression I am using. I have 14 predictor variables of which 9 are categorical and 5 continuous. The response variable is categorical with three ...
0
votes
0answers
2k views

Logistic Regression and Linktest in Stata

When checking the fit of my logistic regression model through the linktest command in Stata, the results indicate that hatsq has been omitted due to collinearity. Does this result indicate that the ...
0
votes
0answers
143 views

22 word frequency Variable has been selected for predicting whether tomorrow is up or down day (binary target), how to interpret

First of all, I appreciate lot of creator of this web and any attention on this question. I asked related question here: 52 variables after backward variable selection on logistic regression on 160 ...
0
votes
0answers
120 views

Coding the regresssion model with several binary variables

Say I have 5 binary variables and 2 normal variables. I want to get the probability of success, say one of the variable 1 or 0, 1 for success. How can I do that? I tried ...
0
votes
0answers
932 views

Using Rasch model to explain relationships between a set of dependent and independent variables

My research study is in development economics. My data consist of more than one independent variables (continuous and categorical) as well as more than one dependent variables (categorical 5-point ...
0
votes
0answers
483 views

Logistic regression with longitudinal data

I have longitudinal data (one measurement being continous and the other ordinal) and I want to fit a model which takes into account the correlation between these two measures. I am using stata. Can ...
0
votes
1answer
25 views

Protection levels and survival analysis of machinery?

I'm familiar with the basics of survival analysis; we use the cumulative distribution to ask, "What's the probability of a machine still being operable after X days of usage?" Eventually, ...
0
votes
1answer
28 views

Can we extract the non-significant variables by using stepwise algorithm?

In my logistic regression model, I want to remove all the significant variables and keep only the non-significant ones. Because I want to have only the variables that are not distinguished between « ...
0
votes
3answers
320 views

How to interpret normalized coefficients in logistic regression?

I trained a logistic regression model with 5 features per sample. Before training, I normalized the range of my features into [0,1] (MinMax scaler). After training, I received the following ...
0
votes
3answers
79 views

Suggestions on binary classifiers for high dimensional categorical data set?

I have a binary classification problem with 210 variables (2 levels 0/1) and I am wondering how should I approach this problem as algorithms which I used (logistic regression, random forests) did very ...
0
votes
1answer
982 views

Lasso logistic cross validated error

I fitted a lasso logistic regression using glmnet. I use a pretty small dataset with only 51 (28/23) observations. I want to compare the model fit of two possible variable combinations. Only control ...
0
votes
1answer
57 views

Is logistic regression the best test for this study?

I have two independent variables (both categorical) and one dependent (categorical) variable. I want to look at the predictive factor or significance of those two independent variables (either ...
0
votes
2answers
22 views

How to understand if 2 very correlated predictors influence the output?

I have a binary output $y$ and a small set of predictors $x_1, x_2,\dotsc$ Two of these predictors are very correlated. It is known that one of them has influence on the output we want to know if ...
0
votes
1answer
2k views

binary logistic regression analysis (method=ENTER) model has all beta values are statistically non-significant

My binary logistic regression analysis (method=ENTER) model has all beta values are statistically non-significant. Should I include these predictors in the final binary logistic regression equation?
0
votes
1answer
20 views

What are the preliminary analysis before running a logistic regression?

I have a dichotomous variable which represents if a student is accepted or not in a University. In order to do this I have about 60 variables (information of the students: gender, age, etc; their ...
0
votes
3answers
197 views

Comparing two logit models

Folks, Would appreciate any advice on the following topic. My question I would like to answer is the following. What are the determinants of being a First Time Buyer of a House? Based on a survey ...
0
votes
1answer
263 views

Is it ok to interpret the sign of an interaction term in a logit or probit model with random effects?

Is it ok to interpret the sign of an interaction term coeficiente in a logit or probit model with random effects? For example, Y=b0+b1*X1+b2*X2+b3*X1*X2 being Y binary (e.g. 1 if company i has ...
0
votes
1answer
165 views

Interpretation of chart in logistic regression

I built a model of logistic Regression examining whether a customer returns to buy after his first deal by the transaction amount (success is not return..). There are three parameters in the model, a ...
0
votes
1answer
289 views

Logistic regression repeated measures with binary outcome and continuous predictor

I am really a beginner in stats (and also in r) and would need a input on whether my statistical methodology for following research experiment is right: Study: I want to test the effect of the ...
-1
votes
1answer
50 views

logistic and anova

In here, you can see original data. My data is $4\times3\times3\times2$ completely randomized design experiment data. I want to model the probability of survival in terms of the stimulus variables. ...
-1
votes
1answer
49 views

multicollinarity issue

I ran a logistic regression moderation analyses and I noticed that with the addition of the interaction term, one of the predictors flipped signs. The variable (X) was previously -.015 and became .006 ...
-1
votes
1answer
257 views

Extremely weird logistic regression results

I am getting very weird results in my logistic regression analysis and am confused about why. Any help would be greatly appreciated. Here are the details: The illustration below represents the ...
-1
votes
1answer
429 views

How to test if data pooling is appropriate for logistic regression?

I have two data sets that include variables regarding consumers website usage and click behavior on display ads. The click response per session can only be 1 (clicked) or 0 (not clicked), since only ...