Skip to main content
0 votes
0 answers
24 views

We run latent transition analysis with covariates using LMest and with the help of the available Literature (e.g., Bartolucci et al., 2017) and what we found on the web, we were also able to interpret ...
nviesel's user avatar
0 votes
1 answer
54 views

I'm working on a project, and I need to do a graph where there is two curves of logistic regression. I'd like to display the curve of the disease status (encoded by 0 and 1), along with the Age (...
How dare you's user avatar
1 vote
1 answer
67 views

I have a dataset with a binary outcome income and two continuous predictors, age, and education_num. I'm fitting a logistic regression model with a natural spline for age and an interaction with ...
Konstantinos Gkirgkiris's user avatar
1 vote
1 answer
33 views

Is my syntax below for an ordinal logistic model correct? I get an error message which I don't understand.I got the code from a published paper illustrating a graded response model (ordinal logistic, ...
user2450223's user avatar
2 votes
1 answer
266 views

Whenever I try to build a multinomial regression using the R-style formula approach in statsmodels in Python, I get ValueError: endog has evaluated to an array with multiple columns... Here's a ...
Brian Bull's user avatar
0 votes
0 answers
38 views

I am working with matched case-control data that used risk-set sampling with replacement (a control can be matched to more than one case). I am trying to figure out the correct syntax for conditional ...
user28632583's user avatar
0 votes
1 answer
100 views

I want to simulate a Discrete-Choice/Multinomial model. Consider the situation where I have 100 people each with four choices (1 = air, 2 = bus, 3 = car, 4 = train). There is a baseline preference ...
kpr62's user avatar
  • 575
0 votes
1 answer
44 views

I am using LogisticRegression in python to train a model, I found when I use dataset below,the model cannot learn a proper prediction method. But when I magnify the data 100 times, the answer is right....
stewart jade's user avatar
0 votes
1 answer
71 views

I'm creating a forest plot for my logistic regression model in R. I am not happy with the forest plot created by some packages, especially because the names of the predictors and the levels of the ...
Giovanni Tinervia's user avatar
1 vote
1 answer
87 views

I constructed a phylogenetic logistic regression model for a binary response variable using the phyloglm() function from the phylolm package. The code looks like below (predictor and response names ...
Shivani Jadeja's user avatar
3 votes
1 answer
51 views

Thanks in advance for any help you can provide. I have a dataset containing some healthcare data and am trying my hand at using python for EDA/regression modeling on the set. I have one date column [...
Kevin O'Leary's user avatar
4 votes
1 answer
95 views

I have a dataset with 125 animals across 3 sites and 100500 observations. Both show up properly when looking at the structure of the data but when I run the model with an updated data frame (I added a ...
Leyna Stemle's user avatar
0 votes
0 answers
26 views

I'm making a logistic regression model to predict female presence on boards in tech SMEs. I was going to take out companies with only 1 employee, as they don't have boards, but my supervisor told me ...
Anya's user avatar
  • 1
2 votes
1 answer
62 views

I've got a bit of a headscratcher from what I thought was going to be a routine fit. The logistic regression model I fit through the glm function instead gives a linear model when I use the predict ...
Ingolifs's user avatar
  • 358
1 vote
1 answer
383 views

I am running a multiple logistic regression model. The dataset has ~350,000 observations, with the outcome being a binary 0/1 dichotomous variable. Most predictors are also dichotomous but there are ...
flailing-in-r's user avatar

15 30 50 per page
1
2 3 4 5
249