Skip to main content

Questions tagged [glm]

3 votes
0 answers
32 views

I have fitted a zero-inflated Poisson (ZIP) model to my count data with an excess of zeros (figure 1). Since it didn't capture the overdispersion in the data, and overdispersion is indeed ...
Paw in Data's user avatar
0 votes
0 answers
38 views

I'm trying to fit a GLM with smoothness penalization and see how out-of-fold Gini behaves when increasing penalization so I could get the optimal smoothness parameter value for my model. I expected an ...
Iti's user avatar
  • 1
2 votes
1 answer
83 views

I already have a GLM model in place to predict claims frequency. I know have access to many new variables (a mix of categorical and continuous variables, some of which are likely correlated). I wish ...
InsurancePricer's user avatar
2 votes
0 answers
91 views

In short, I get prediction interval smaller than confidence interval while they should be wider. Any help to understand why is certainly welcome :) Let me start by stating the problem at hand. I use a ...
JR-stats's user avatar
7 votes
1 answer
623 views

I am a medical doctor trying to make prediction models based on a database of approximately 1500 patients with 60+ parameters each. I am dealing with a classification problem (mortality at 1, 3, 6 and ...
user145725's user avatar
5 votes
2 answers
257 views

I'm a psychology student and trying come up with a research plan involving GLM. I'm thinking about adding an interaction term in the analysis but I'm unsure about the interpretation of it. To make ...
r_noobie's user avatar
0 votes
0 answers
1k views

I am trying to build a GLM model (poisson family) using python statsmodels package on train data. The data I have contains categorical values as exogenous variables and numerical values for my target (...
Karima Touati's user avatar
1 vote
0 answers
100 views

I work on a bag of words, on the Toxic Comments Classifications challenge. The challenge is closed but the dataset is very nice to learn. I use R, tf-idf, tm, and logistic regression. I have a strange ...
Xiiryo's user avatar
  • 111
1 vote
0 answers
101 views

I will try to keep this short. As an assignment for my GLM course, we were given a dataset on the # of homicide victims a person knows, as well as the race of the person. The main idea is to answer ...
Ali Shana'a's user avatar
0 votes
0 answers
294 views

Hypothetically, if your company's sales had dropped significantly in 2020, what approach would you take to describe the cause? can you build a model to predict the decrease (between 2019 and 2020 for ...
Jack Smith's user avatar
1 vote
1 answer
5k views

I'm trying to create a logistic regression model using Ridge, this is the code: glmnet(X_Train, Y_Train, family='binomial', alpha=0, type.measure='auc') And this ...
JMarcos87's user avatar
  • 125
3 votes
0 answers
1k views

I'm trying to fit a GLM to predict continuous variables between 0 and 1 with statsmodels. Because I have more features than data, I need to regularize. ...
Rylan Schaeffer's user avatar
1 vote
1 answer
115 views

I am trying to classify cars for a towing company. Junky cars earn more when sent to the junkyard, and the more valuable cars should earn more at the auction, despite the auction fee. Creating a ...
Lamden's user avatar
  • 11
2 votes
3 answers
3k views

I'm a beginner in Machine learning and I've studied that collinearity among the predictor variables of a model is a huge problem since it can lead to unpredictable model behaviour and a large error. ...
Bharathi's user avatar
  • 277
1 vote
0 answers
111 views

I am trying to run LOOCV on my regression model. I tried to run it in r and encountered the following warning message: ...
Ayush Ranjan's user avatar

15 30 50 per page