# Questions tagged [regression]

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

27,272 questions
Filter by
Sorted by
Tagged with
16 views

### Comparing incident rate ratios among dummy variables

The output below is from the Poisson example at https://stats.oarc.ucla.edu/stata/dae/poisson-regression/. The incident rate for program 2 is 2.96 times the incident rate for program 1 (the reference ...
• 51
184 views

• 103
13 views

### Data Analysis for a Time Series Clinical Trial Dataset

I have a Clinical Trial dataset where, I have the values of Blood haemoglobin level for 40 patients for 6 weeks, after a particular treatment. For drawing some meaningful insights from this data set, ...
• 67
15 views

### Testing equality of mean responses

In the context of linear regression, we know that $E(y|x_0)$ for a given new data $x_0$ is estimated by $\hat{y_0}=x_0^t\hat{\beta}$. If given another set of new observations $x_1$, is there a way to ...
515 views

### What is the 'right' slope formula of a regression? deltas or Pearson?

this may be a silly question, but still: I've been told that the slope formula equals the rise/run ratio, like this: $$m = \frac{rise}{run} = \frac{y_2 - y_1}{x_2 - x_1}$$ in which rise equals ...
• 471
22 views

### do you need to specify the direction of b for a moderated regression

I conducted a moderated regression, but didn't specify the direction of moderation by M. that is I didnt specify whether the relationship between X and Y would be greater at lower or higher levels of ...
22 views

### Approaches for running separate monthly regressions on a time series

I have a time series with daily granularity. The time series under consideration depends on an independent variable x (say). In order to account for seasonality effects - I run a separate regression ...
39 views

### Interpretation of logistic regression results

I have a database that looks like this ...
1 vote
22 views

### how well would a robust mixed model fit these data? R (rlmer)

I want to investigate Y ~ X1 * X2 + (1|ID on this dataset (there's a plot of these data in that post too, it's the same dataframe) Y is a continuos outcome ...
• 471
9 views

### Change versus level regression

I tried running a panel regression of y on contemporaneous x variables, and again using the change in y from year t-1 to year t. I am getting the opposite sign on my variable of interest (VOI) if I ...
9 views

### How best to quantify how much one part (i.e., a group of items in a scale) contributes to the whole pool?

I am trying to determine how much specific types of stressors contribute to the overall pool of stress experienced, e.g., X type of stress contributes X% to the overall pool of stress, or be able to ...
1 vote
18 views

### Connection Between Bayesian Prior and Variable Selection in Lasso [duplicate]

I am interested in learning more about the Bayesian interpretation of the Lasso model. The Lasso model assumes a Laplace distribution of coefficients and the optimal coefficients maximize the ...
• 213
17 views

### Multivariate regression with dependent variables on an interval

I want to do a regression what the probability is of event being True (=P(E)). This dependends on three variables, let's say A, B and C. SO: P(E) = X1 * A + X2 * B + X3 * C My data consists of the ...
22 views

### How to prove that L2 loss converges faster than L1 loss

I see many sources claim this result, however, I was not able to find a proof for it. I think this should be given in some paper or book. Can someone point me to some resources, or even better, show ...
18 views

### How to improve the predictions of a model when we have too few predictor variables?

I tried to use a linear model to explain a variable "age" with two variables "x1" and "x2". I can clearly see a decreasing slope inside my scatterplot for age vs x1, or ...
• 1
19 views

### Regression with paired repeated measures design

I have the following data: ...
34 views

### GLM: how to treat multiple variables that all measure a confounding aspect in a slightly different way?

For a response variable $y$ and predictor $x_0$, I have data for a number of additional variables $x_n$, $n = 1, ..., 7$. I would like to control for a confounder in my GLM, let's call it "size&...
• 121
1 vote
25 views

### Violating assumptions of linear mixed model

I am currently analyzing a dataset using a linear mixed model. In the study - using a within-subjects design - participants had to rate the intensity of a stimulus (this is my dependent variable, DV) ...
• 13
28 views

### Logistic GLM vs GLMM diagnostic issues

Problem I am running through the diagnostics of two logistic regressions and two equivalent GLMMs with their only differences being crossed random effects (intercepts only). The output for the ...
1 vote
32 views

### determining the effect of the change in an independent variable using regression

I'm creating a regression model that predicts a customer's spending based on their income, while adjusting for age, gender , and region. The model looks as follows: ...
• 11
75 views

### The GMM estimator is reliable under the given conditions

Consider the linear model $$y_t= x_t'\beta +\epsilon_t$$ for $t=1,...,T$. where $x_t= ( x_{1t} \ \ x_{2t} \ \ ... \ \ x_{kt})$ and $\beta$ is $(k\times 1)$ vector of unknown coefficients. Given \$z_t= ...
• 976
35 views

### separate models vs joint model

My goal is to estimate the association between children BMI and distance to the nearest fast food restaurants. The hypothesis is that children BMI increases with increasing proximity of fast food ...
70 views

### How to learn steep functions using neural network?

I am trying to use a neural network to learn the below function. In total, I have 25 features and 19 outputs. The above image shows the distribution of two features with respect to one of the outputs....
• 175
27 views

### Probit/Logit or Linear regression Model?

I have data about the occurence of a data breach at certain companies for the periode 2005-2018. Now I have a question about the model I should use. I have two options: Probit/Logit: I set the ... 1 vote
39 views

### Robust standard errors with splines

I realize that large changes in model results between using robust and non-robust standard errors can suggest a misspecified model. My case refers to using a Cox regression and I have experimented ...
• 335
1 vote