Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [marginal-effect]

Marginal effects measure the change in the conditional mean of outcome $y$ when regressors change by one unit.

0
votes
0answers
4 views

Which emmeans to choose between full and main effect mixed effect models with heteroscedasticity corrected

I have a split splot full factorial design : 3 blocks, each block contains 4 plots for factor E and each plot is divided into 3 subplots for factor F. I use a mixed effect model with random effects on ...
0
votes
1answer
6 views

Why margins and mfx yield different results in R?

When I run a simple logit regression between a binary variable $y$ over another binary variable $x$, the average marginal effects obtained by the function logitmfx (...
6
votes
2answers
338 views

lm and glm function in R

I was running a logistic regression in r using glm() as glm(Y ~X1 + X2 +X3, data = mydata, family = binomial(link = "logit")) ...
0
votes
0answers
10 views

Interpretation of average marginal effect for proportion outcome in Poisson model with offset

To see the association of malaria prevalence with village level risk factors, I ran a Poisson model in r with the prevalence of malaria(y) as a dependent variable, altitude(x1) and Forestation(x2) as ...
0
votes
1answer
16 views

Marginal effects in an AB/BA cross-over study

I am currently working on an AB/BA cross-over study. There I have a treatment $T$, a time-varying covariate $X$ and a dummy variables $Z$. I wish to study the interaction between $X$ and $T, Z$. I ...
1
vote
1answer
38 views

Using variance-covariance matrix of mixed-effects logistic regression to obtain p-values for custom contrasts

My question is a follow-up to this question, following through on @Isabelle Ghement's excellent series of responses. I just want to run this past some people in the know to see if what I am doing is ...
0
votes
0answers
26 views

Logit regression: Treat binary indepedent variables as continuous or as categorical for the marginal effect?

I have two logit models: A standard binary one (y=0/1) and an ordered logit model (y = yes, definitely/yes, maybe/no, probably not/no, definitely not. Now, to get the marginal effects of the binary ...
1
vote
0answers
92 views

Standard partial regression plot vs. effect plot from 'effects' package

I'll use a modification of this example to ask my question about an apparent alternative way of presenting a partial regression plot, using the effects package. ...
0
votes
0answers
23 views

Interpreting marginal effect of interactions in OLS

I have the following model, as you can see I have included an interaction between i.own for 10 dummies and innoscore which is grand mean centred as a way of making interpretation easier. ...
0
votes
0answers
17 views

GSEM Tobit margin

I am trying to estimate the marginal effects as follows but am unable to get it right. I run the tobit model and it shows ok, but am not sure how to replicate it with gsem. I am running Stata 14.2 MP. ...
0
votes
0answers
10 views

Marginal effets

Good morning I would like to question you something This is my regression and my marginal effects, they are inqual, what should be the problem? How can I interpret this results
0
votes
1answer
241 views

How to interpret the marginal effect of a dummy regressors in a logit model

I have a problem interpreting the marginal effect of a dummy variable in a logit model. (I am using Stata to estimate the logit regression) I've run a simple logit say this: ...
2
votes
1answer
48 views

Surprisingly large difference between conditional and marginal effects estimates

I am performing a logistic mixed effects regression on some data I have. There are 201 participants answering a question over 6 time points. The model includes 4 fixed effects: X1, X2, X3, and Time. ...
0
votes
0answers
34 views

Marginal interpretation of fixed effects in GLMM

I understand that when applying GLMMs (e.g. in logistic mixed effects regression), the interpretation of the coefficients for the fixed effects is that they are also conditional on the random effects (...
3
votes
0answers
236 views

Delta Method Average Marginal Effects Multinomial Logit

Following the incredible demonstration in Statalist by Jeff Pitblado on how to calculate - using the Delta Method - the Standard Errors for Average Marginal Effects of a Logit Model. Q: What would ...
1
vote
0answers
34 views

Interpretation of sign switch of marginal effect

I have calculated marginal effects for my problem. How do I interpret aswitch of the sign of the marginal effect (see plot). For example, when I want to answer a question like the following. Does ...
1
vote
0answers
164 views

Is delta method better than bootstrap to generate standard error for marginal effects?

I read here, here, here, here, and elsewhere that " Parametric bootstrap closely related to objective Bayes. (That’s why it’s a good importance sampling choice.) When it applies, parboot approach ...
2
votes
3answers
241 views

OLS effect of X squared ond dependent variable

I have my OLS regression: $y = \beta_1 + \beta_2 X_2 + \beta_3 X_3 +\beta_4 (X_3)^2$ Could anybody please explain to me the effect of a change in $X_3$ on the dependent variable?(Is the effect ...
4
votes
1answer
81 views

Margins in “R” throws confidence intervals that do not contain cero, yet p-value > 0.05. Is this possible?

I am running a logit model on survey data using the svyglm function in the survey package in R. I am using the margins function to find the average marginal effects, but then something weird happens. ...
1
vote
2answers
244 views
1
vote
0answers
103 views

marginsplot Stata: how to show MERs for categorical variables horizontally instead of vertically? [closed]

I ran an mlogit model in Stata. I then asked for the average marginal effects at representative values and now I would like to represent them in a graph. I have a ...
1
vote
0answers
26 views

Interpreting marginal plots and results from underlying regression

I am helping someone with a project and want to be sure I am understanding how to interpret this correctly. We are running a simple OLS regression where we are predicting a continuous DV (number of ...
1
vote
0answers
52 views

How to interpret an interaction between an endogenous and an exogenous variable

Consider the following model for a regression : $y = \beta_0 + \beta_1 x_1 + \beta_2 x_2+ \beta_3 x_1 x_2 + u$. Suppose $x_1$ is exogenous and $x_2$ is endogenous. Endogeneity precludes me from ...
3
votes
0answers
131 views

About Partial dependence for Poisson GLM

Can someone tell me what would be the expression for calculating the partial dependence on a GLM model with family specified as Poisson? From applying Friedman partial dependence estimation ...
0
votes
0answers
79 views

Interpretation of marginal effects of interaction terms in regression models [duplicate]

I'm trying to interpret the marginal effects of my logistic regression model, calculated using margins package in R. My model ...
0
votes
0answers
6 views

Test for diminishing marginal returns between quartiles?

I have established a model in which i divide my data into four quarters of the explanatory variable (my dependent variable is PRICE and my main explanatory variable if REPUTATIONALSCORE, although ...
0
votes
1answer
304 views

Interpreting Marginal Effect Results

I'm having a little bit of difficulty interpreting the marginal effects results I obtained since I am quite new to this sort of stuff. For my model I'm running an ordered probit regression where there ...
2
votes
1answer
827 views

Predicted probabilities and marginal effects relationship (R, margins package)

Working on a logit model, i get the following results: Predicted Probs.: ...
2
votes
0answers
736 views

Average Marginal Effects vs. Marginal Effects at the Mean

Can the Logit regression produce different results for Marginal Effects at the Mean and Average Marginal Effects? If so, what does that mean?
1
vote
1answer
116 views

Which p-value should I use ? (Probit and interaction terms)

I ran a Probit model to determine which variables/interaction terms are significant. I got these results: Probit: "mino" is not significant. Whith the margins command (Averadge marginal effect) I ...
0
votes
1answer
189 views

How to calculate probit marginal effects over groups with Stata [closed]

How to properly calculate marginal effects of a probit model to capture marginal effect of one variable over a group. The setup is the following (simplified version): Data: ...
1
vote
0answers
56 views

test the significance of the marginal effects of a spatial probit model

I'm using the CRAN package spatialprobit to estimate a Spatial Probit. The function sarprobit calculates the marginal effects ...
1
vote
1answer
122 views

Is the t-value (or z-value) of the margins of a logit model equal to the t-value of the coefficient?

The accepted answer of this question seems to indicate that the z-value of the margin is the same as the z-value of the coefficient in the logit model. This, it seems, is true with how Stata ...
1
vote
0answers
115 views

Marginal effect of variables - Logistic regression, Boosted tree, and other tree-based models

Assuming I have a classification problem where I have binary dependent variable Y and independent variables X1-X10. The X variables are categorical. Say we are interested in the marginal effect of ...
0
votes
1answer
531 views

fixed effect and marginal effect in negative binomial

Probably this question has no sense but I am really confused and I need help. I have a panel data model. I ran a fixed effect negative binomial regression for a variable which indicates the number of ...
0
votes
1answer
126 views

Predicted probability at the mean decreases when more variables are added to a Logistic regression model

I have been thinking about this question for the past couple days and have not been able to come to a conclusion. I am running a logistic regression and want to calculate the % change in predicted ...
1
vote
1answer
442 views

How to calculate marginal effects in McFadden's choice model?

I am estimating a multinomial choice model in stata with the command asclogit. One of the case specific variable is a dummy variable. I want to get the marginal effects of the dummy variable on choice ...
1
vote
0answers
82 views

To which p-value should I look at? Of the regression coefficient or of the Average Marginal Effect?

I am trying to analyse this logit regression model using R. I wish to identify the effect of a treament variable (...
1
vote
0answers
163 views

What are the statistical properties of average partial effect in nonlinear models?

Using a linear model like OLS, the marginal effects are simply the coefficients given by $\beta = (X'X)^{-1}X'y$. However, in a nonlinear model, it is more difficult to derive marginal effects. For ...
2
votes
1answer
343 views

Delta Method for Marginal Effects of Generalized Linear model

Consider the generalized regression model (in my case a probit, but I'll leave it more generally): $$ E[y|X] = F(x'\beta) $$ where both $x$ and $\beta$ are ($K \times 1$) column vectors and $F$ is ...
0
votes
1answer
65 views

What do significance tests for adjusted means tell us?

Many stats packages allow you to view the adjusted means/marginal means/predicted values of a model (e.g., R's lsmeans, Stata's 'margins', SPSS's 'Estimated Marginal Means'; for more info., see https:/...
1
vote
0answers
89 views

Interpertation of coefficient and marginal effect in logit model

My problem is that I am not able to interpret my results. I am confusing coefficient and marginal effect interpertation. ...
2
votes
2answers
55 views

How to include both dummy measure and continuous measure of one variable into regression models?

Suppose here is a market for softwares. The softwares can be free or paid, which is captured by dummy variable paid. At the same time, we have another variable, price, to measure how much the ...
0
votes
1answer
4k views

Calculating marginal effect of logit model by hand

For an assignment I have to calculate the marginal effect of 'age' by hand. But I am dealing with a logit model, which makes it difficult for me. I have 4 variables, which are age, education, income ...
1
vote
1answer
19 views

Isolating effect of explanatory variable when it is highly correlated with other explanatory variable

This is the problem I am trying to solve: I am looking at user behavior for an online newspaper. I have a behavior period and then I look at the users who bought a subscription within two weeks after ...
7
votes
3answers
15k views

Average Marginal Effects interpretation

I ran a regression where the dependent variable is winning (1=win) Given that my regression is probit I want to understand the coefficient. I've done margins, dydx()...
0
votes
2answers
3k views

Interpret eydx, eyex in margins, Stata

Suppose the regression is y=beta_0+beta_1*x + epsilon. I obtain the eydx=.295 by magins eydx(x) command. What does Stata really do? Does Stata actually regress <...
1
vote
0answers
578 views

Interpreting regression coefficients with ratio as dependent variable and percentage as independent one

I am running the following regression: y = $b_0$ + $b_1$$x_1$ + $b_2$$x_2$ where y is measured as a ratio (between 0 and 1) and $x_1$ is measured in percentage terms. This is a Tobit regression ...
1
vote
2answers
1k views

marginal effects of a GLM

A marginal effect is the effect one independent variable on the dependent variable has when it is changed by one unit and the other independent variables constant. In the simple OLS regression ...
1
vote
0answers
34 views

In a count model, how do I predict the change in y if one of my independent variables changes?

I am using a count model--a negative binomial regression. My dependent variable is count data (number of individual customers at each company in the industry). Since at most companies there are no ...