Skip to main content

Questions tagged [logistic-regression]

Logistic regression is a statistical classification model used for making categorical predictions.

logistic-regression
0 votes
0 answers
3 views

Find learning rate for homomorphic encryption logistic regression model

I am implementing a homomorphic encryption logistic model using CKKS in SEAL library. To find the best learning rate and number of iterations, I use grid search on the normal logistic regression with ...
Quang Huy Vũ's user avatar
0 votes
0 answers
7 views

Hausman test report [closed]

I've been working on a research project using a multi-level regression model, and I'm currently figuring out how to present the Hausman test results. I've seen some papers where authors mention doing ...
Sabrina's user avatar
0 votes
0 answers
18 views

Issues with Converting Sklearn Logistical Regression Predicted Probabilities into Scores

I'm trying to convert a logistical regression model into user-level scores, based on this article. y_pred_df['sub_primary'] = logreg.predict_proba(y_pred_df.loc[:, [col for col in y_pred_df.columns if ...
jajastrzemb's user avatar
0 votes
1 answer
33 views

Different outputs of marginaleffects::avg_prediction and ggeffects::ggeffect in R

I am running multinomial regression using nnet::multinom for a dataset where response and predictors are all factors. A sample of my data: df2 = structure(list(SOURC = c("dsint", "dsint&...
Shakir's user avatar
  • 345
-1 votes
0 answers
19 views

Sentiment Analysis using Logistic Regression [closed]

Were currently conducting a thesis project, our study is mainly about analyzing sentiments of feedbacks using logistic regression, the data will come from database. We currently dont have any ...
justarandomguy's user avatar
-3 votes
1 answer
27 views

I am getting error in importing logistic regression in jupyter notebook

error iris flower classification I am building a classification model for Iris flower classification by using Logistic Regression. I am using jupyter notebook and I am importing Logistic Regression by ...
Mukta Wankhade's user avatar
0 votes
0 answers
15 views

How to perform model comparison based on multinom( ) function of nnet package in R? [migrated]

My independent variables are gender and sequence, and the dependent variable is intervention (including 3 intervention methods). I established a multinomial logistic regression model to examine the ...
zhang xia's user avatar
0 votes
0 answers
16 views

Multinomial mixed models: glmmTMB vs. mblogit. Why does glmmTMB works and mblogit gives the 'a' is computationally singular error?

Currently, I am trying to run a multinominal mixed model with one random factor in order to analyze a dataset comprising the following variables: Demographic group: a factor with 7 groups, the ...
S_vdp's user avatar
  • 1
-1 votes
0 answers
40 views

Microsoft Fabric Data Science - How to Save Probabilities Along with Predictions in Delta Table Using Apply Model Wizard?

I had created a logistic regression model for a binary classification task. The model works fine for Prediction and I got my desired result. But as business needs changed, I also wanted to get the ...
yunus_rouhan's user avatar
0 votes
0 answers
17 views

Negative average marginal effect for positive estimate in ordinal logistic regression [migrated]

I'm running an ordinal logistic regression with eight indepdent variables and the dependent variable has five categories (1 = Not at all and 5 = To a great extent). To interpret the coefficient ...
silje's user avatar
  • 25
0 votes
0 answers
10 views

computing risk ratio and risk difference from binomial models

in R or SAS, How do I compute binomial models where the interpretation is a risk ratio or risk difference? Or how can I convert the odds to a risk? I want a model that I can interpret the risk ratio ...
ggplotr's user avatar
1 vote
0 answers
76 views

Why are R and Python giving me different confidence intervals in a logistic model?

I'm making a logistic model predicting whether individuals' health (0=good, 1=poor) is affected by whether they're exposed to secondhand smoke and a few other demographic factors. In R, the code I run ...
AIRE Study's user avatar
1 vote
1 answer
78 views

Replicating logistic regression results from Stata in R

I'm facing an issue with replicating the results of a basic logistic regression model in R. The model was originally run in Stata. The issue is that all of my odds ratios (and their underlying ...
tomatosauce's user avatar
0 votes
3 answers
144 views

Draw a nomogram for a logistic regression (full data not available, only intercept and coefficients)

I would like to draw a nomogram for a logistic regression. Unfortunately, I do not have the full dataset, but I have the intercept and the coefficients. I found an example in python (https://spj....
ava's user avatar
  • 944
0 votes
0 answers
26 views

How do I perform an ordered logistic regression with the R lme package?

I have longitudinal ordinal data and survival data. I want to do a joint model. I am familiar with the JM package, which uses lme for the longitudinal model. I theoretically understand that you can ...
Bryan's user avatar
  • 225

15 30 50 per page
1
2 3 4 5
253