# Questions tagged [regression]

Techniques for analyzing the relationship between one (or more) "dependent" variables and "independent" variables.

30,262 questions
Filter by
Sorted by
Tagged with
18 views

### Is regression on aggregated continuous independent variable adequate?

I´m trying to analyze some cohorts that reported aggregate data (mean, SD, and n) of a physiological parameter for the outcome of interest, which is a nominal variable but fairly lineal with the ...
1 vote
17 views

### Instrumental variables with lags?

I am new to econometrics so I was hoping to get help with something I didn't understand very well. I have the following regression model: $$G_t=\beta_0+M_{t}+\epsilon_{t}$$ $G_t$ stands for GDP ...
1 vote
44 views

### How do I estimate the standard deviation of the measured variables in linear regression?

Assuming a linear model: $$y = \alpha x + \beta$$ I make n observations of $(x_i,y_i)$. Each observation is subject to a measure uncertainty that I assume to be normally distributed with mean = 0 ...
• 601
407 views

### Regression with highly unbalanced explanatory variable

I have a regression problem where one of the explanatory variables is categorical with 2 categories. My issue is that one category has 90% of the observations and 2nd category has only 10% ...
• 983
1 vote
34 views

### Help interpreting GLM interaction effect (Poisson with offset)

I've modelled a count variable using a Poisson glm and an offset variable. I'm looking at the effect of sampled year on the number of times people who are 'old' ( > age x) perform a behaviour ...
1 vote
15 views

### Using GAM to investigate the within-subject variation between several periods

my research question is to analyse intra-individual (within-subject) heterogeneity in contact patterns and identify determinants of stable contact behaviour before and during the lockdown. Since the ...
• 171
37 views

### Adding interaction to regression: main effect AND interaction non-significant

I've used two models on my dataset: Model 1: clinical score ~ X + Z: both X and Z are significant. Model 2: clinical score ~ X + Z + X*Z: X is not significant anymore, and neither is the interaction, ...
26 views

### R2_test>R2_train from a published paper. How can it be consistently possible?

This image is from a paper where the author has trained and then tested different models on a small dataset (consisting of 117 samples in total). I had the following observation and their questions ...
16 views

### GLMM with interaction terms between two circular predictor variables?

I am running a GLMM to see if several weather and nest box covariates influence occupancy (binary linear response). I would like to include two circular predictors (wind direction and box entrance ...
14 views

### Loss functions for target values very close to 0 [duplicate]

I am currently building a regression MLP model to predict a target variable between [0,3]. The distribution for target variable is normal for the most part with a slight left skew. My model is ...
14 views

### Boosting for regression trees -- Explanation of the algorithm

I am reading Algorithm on Boosting for Regression Trees from the book "An introduction to statistical learning" by James et al. (2013) -- page 322. I am really struggling to understand the ...
• 487
56 views

### System of linear equations with more equations than solutions

How can I determine the solutions of a system of linear equations with more equations than solutions? E.g., I have product A, B ...
437 views

I have some revisions to make on my Master's thesis. One was to add dummy and control variables as I am also looking into demographics. I have 5 independent variables which were previously shown to ...
48 views

### Is there a way to calculate LC50 from a continuous dependent variable?

I'm very new to R and also statistics, so the basics are lost on me. In the past I have done some simple experiments with chemicals and calculating the LC50 from binary responses (dead or alive). ...
• 21
21 views

### Logistic Regression on German Credit data from UC Irvine

I am trying to learn the logistic regression and encountered the German credit data set (https://archive.ics.uci.edu/dataset/144/statlog+german+credit+data). My query is - how to formulate regression ...
21 views

### Based on the scatter-plot that i have made to validate my regression model, that could be considered a good model?

I have a gradient-boost regressor model, i'm predicting value of sentences, which often are round numbers (which makes it annoying to validate). I have created a scatter-plot to validate my model, x-...
363 views

### Odds ratio and p-value

Is it possible that in logistic regression model, one variable has high odds ratio and higly significant and other variable which has low odds ratio but is also higly significant.
• 41
46 views

### Is it a good idea to add as many predictors as possible in a random forest? [duplicate]

In a regression context, specification of the regression equation is rather important. When we add predictors to the regression specification which are not relevant can cause a misspecification issue, ...
• 487
29 views

• 572
1 vote
36 views

### AR(1) model predictions: Are the predictions shifted by one period?

I am estimating AR(1) one step ahead forecasts for the following data using the following code. The AR(1) predictions seem to perform quite well. However, they seem to be shifted by one period in to ...
• 361
45 views

### How does SYSTEMFIT from R work (from statistical perspective)?

In R, there is a package for estimating systems of equations with OLS, called systemfit. Initially, this package does not seem to add that much of a value, as I can ...
• 227