Skip to main content

Questions tagged [partial-effect]

The partial effect of individual explanatory/predictor variables from a fitted model on a dependent variable.

Filter by
Sorted by
Tagged with
0 votes
0 answers
16 views

Why are these Partial Residual Plots similar despite having different y-axis (partial residual range vs. component + residual)

I am working to produce some partial residual plots to better communicates the effects associated with each independent variable in a multiple regression model. I am using two methods to plot these ...
Kaliber's user avatar
  • 31
1 vote
0 answers
128 views

Partial eta square values summing to greater than 1

I am trying to run a factorial ANOVA analysis with partial effects, but it seems that my partial eta square values are totalling above 1, particularly when I specify my contrast with Type II or Type ...
BigTimeDataTime's user avatar
2 votes
0 answers
28 views

Variance partitioning when using a response from 1st study as a predictor in 2nd study

I use linear mixed-effects models to analyze my data, where I have a variable C that is used as a response and an explanatory variable in separate studies. In the first study C ~ A + (1|B), I found ...
vetna's user avatar
  • 23
0 votes
0 answers
104 views

Tiny partial effects but high R² in GAMs - and the other way around

I am currently running GAMs with mgcv package and am trying to find a good one by looking at summary() and the visual outputs ...
user_20201213's user avatar
0 votes
0 answers
24 views

Bridging the gap from theory to implementation in "Conditional Distance Correlation" by Wang et al. 2015?

In an attempt to implement a form of conditional distance correlation for random variables represented as vectors of observations, I came upon this paper that nicely extends the notion of distance ...
QMath's user avatar
  • 451
4 votes
3 answers
158 views

Should individual $R^2$ of a predictor always be greater than $\Delta R^2$ when removing that predictor from an expanded model?

I'm running some regressions with a set of somewhat correlated predictors. Let's call these predictors $x$, $y$ and $z$, and my dependent variable $d$. I'm focused on the effect of $x$ on $d$. I first ...
statisticall_not_a_dog's user avatar
2 votes
1 answer
1k views

Creating a partial dependant plot for a prediction function [closed]

I am working on creating a partial dependant plot for one of my features (B). The problem is that I didn't use any model to predict my output (R). I've used a ...
X0-ZXC's user avatar
  • 23
2 votes
1 answer
86 views

How to test if $x_1$ has a positive partial effect on $y$ taking into account the linear and quadratic components of $x_1$?

I have a quadratic population model of the form: $y=\beta_0+\beta_1x_1+\beta_2x_2+\beta_3x_1^2+\mu$ I want to test if $x_1$ has a positive partial effect on $y$. How can I run such a hypothesis test ...
efan787's user avatar
  • 25
2 votes
1 answer
43 views

GLM output says one thing, but glm graph says another, Simpson's Paradox?

I am running a GLM to evaluate the influence of canopy cover and vegetation density on average black-globe temperature. I ran a simple glm, but when I plot the model output, the plot does not agree ...
JLD475's user avatar
  • 33
1 vote
0 answers
90 views

Obtain Multiple Regression coefficients from Partial Correlation Coefficients and ANOVA table

I know, that results from multiple linear regression, partial correlation analysis and ANOVA are tightly related to each other. The answers to this and this question indicate that the results may be &...
user2051916's user avatar
1 vote
0 answers
59 views

Is the PARTIAL regression coefficient always smaller than the SIMPLE regression coefficient (when all variables are positively correlated)?

Suppose we have three variables: X1, X2, and Y. X1 and X2 are the independent variables (IVs) and Y is the dependent variable (DV). Suppose that each IV is positively associated with the DV. Suppose ...
newbie34's user avatar
2 votes
1 answer
91 views

Can I partial out covariates with true coefficients known in Logit?

Suppose the model is $$ \ln(\frac{P_{ij}}{1-P_{ij}}) = X_{ij}\beta_0 + A_i + A_j + \epsilon_{ij}, $$ The unit of observation is at $ij$ level, and $A_i$ and $A_j$ are coefficients on the dummy for ...
user325721's user avatar
2 votes
1 answer
83 views

How to test for a partially mediated model?

I have a dataset with three variables: Outcome, Exposure, and Mediator. My hypothesis is that the variables are related as in the following DAG: In particular I want to test that "Mediator" ...
robertspierre's user avatar
15 votes
0 answers
2k views

How to calculate percent partial deviance explained by each predictor variable in a GAM model?

I am trying to find a sensible way to calculate the deviance explained by each predictor variable in a GAM model and need some input on my calculations. Following Simon Wood's example on the thread ...
Isabella Ghement's user avatar
3 votes
1 answer
53 views

difference partial dependence and feature weights

Assume we train a linear model to predict a numeric outcome. A feature's model weight would essentially quantify me how much the outcome variable increases for each increase in the predictor's value. ...
PejoPhylo's user avatar
  • 317
3 votes
0 answers
192 views

Multicollinearity and Partial Dependence Questions

Assume I build a binary classification model to predict p(y=1) from {x1, x2, ... x10} For now, assume that model could be a GBM, RandomForest, or Logistic Regression. Also assume that all of the ...
Josh's user avatar
  • 403
1 vote
0 answers
12 views

Partial and Semi-partial/Part correlation in matrix/vector form

For three variables, e.g. $X$, $Y$, and $Z$, it is easy for me to deduce the partial and semi-partial correlation coefficients (in general), however I cannot do the same for more than three variables. ...
Stephanie's user avatar
  • 131
2 votes
0 answers
39 views

Partial derivative of bivariate cdf

Suppose the bivariate cdf $F(a,b)=Pr(X\leq a, Y\leq b)$ is differentiable in $(a,b)$. Is it true that $\frac{\partial Pr(X\leq a, Y\leq b)}{\partial a}=Pr(X=a,Y\leq b)$?
ExcitedSnail's user avatar
  • 2,966
0 votes
1 answer
826 views

is there a R function to do multiple comparison for all levels of a categorical variable by capscale (vegan) with a covariate? [closed]

First, I did DB-RDA for a community dataset with two factors and one covariate. The results showed the interaction effect was significant. Then, I need to do the pairwise comparison for all the levels....
sunshine's user avatar
1 vote
1 answer
148 views

Partial skewness (kurtosis)

On Wikipedia one can read: In probability theory and statistics, partial correlation measures the degree of association between two random variables, with the effect of a set of controlling random ...
Ad van der Ven's user avatar
0 votes
2 answers
52 views

Which test you recommend?

Assume in a study the dependent variable is quantitative, while most independent variables are categorical, with some of them being quantitative. We aim to evaluate the relationship between the ...
user avatar
2 votes
0 answers
3k 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. ...
field101's user avatar
3 votes
2 answers
5k views

Partial dependence plot for glm in r -- why linear?

I'd like to understand why my partial dependence plots for a logistic regression model simply show up as straight lines -- even when I'd expect basically a threshold effect from a covariate. I know ...
ltlf653's user avatar
  • 109
2 votes
0 answers
1k views

Interpretation of partial eta-squared in factorial designs

I'm having troubles interpreting and comparing effect sizes in factorial designs based on partial eta squared values. E.g. in a 3x3-within-subjects design with: η²part, A = .2 η²part, B = .4 η²part, ...
Asld's user avatar
  • 21
5 votes
0 answers
269 views

Quantifying uncertainty when fitting a statistical model to partial effects/dependencies from a random forest (or other machine learning model)

Question: I estimate the partial dependence of $y$ on one predictor in a fitted random forest (RF). I want to now fit a parametric model to this partial dependence. How can I estimate my uncertainty ...
mkt's user avatar
  • 18.9k
4 votes
3 answers
593 views

A null Chi-square test – what could be done next?

I have a rating (from 1 to 5) under two conditions (let’s call them "blue" and "red"). I tested whether the distribution of the ratings is significantly different using a chi squared test for goodness ...
Sharonio's user avatar
2 votes
0 answers
4k views

Generating and interpreting partial dependence plots [closed]

I am trying to mimic partial dependence plots as explained in R's pdp package (https://journal.r-project.org/archive/2017/RJ-2017-016/RJ-2017-016.pdf). The second ...
Gaurav Bansal's user avatar
1 vote
1 answer
352 views

Causality Analysis and test of Independence

First the problem: I am refering to lecture note, on page 480, 2nd paragraph, it mentions If X is in fact useless for predicting Y given Z, then an adaptive bandwidth selection procedure (like ...
Ironluca's user avatar
  • 208
5 votes
2 answers
10k views

How to do partial regression plots with linear mixed-effect models?

I have a linear mixed-effect model in R with two continuous fixed-effects and one random effect, like this: ...
Artur Wanderley's user avatar
1 vote
0 answers
234 views

Partial effects whithout ceteris paribus assumption

Is it possible to estimate the partial effect of the exogenous variables without holding other variables constant, in other words without ceteris paribus assumption? I know that in normal case we need ...
Kate's user avatar
  • 11
1 vote
0 answers
361 views

Partial correlation or two separate correlations? How to interpret?

Hope someone can help me here: So there are variables A, B, C, and D and groups 1 and 2. Groups significantly differ in variables A and B, but not in C and D. From previous research, correlations are ...
user141032's user avatar
1 vote
0 answers
25 views

How to report total and complete results

I have conducted a social research with one thousand complete participations and more than 1200 total participations (incomplete contributions included). In reporting the results, what is the best ...
Always learning's user avatar
2 votes
0 answers
455 views

partial scalar measurement invariance

I have performed a measurement invariance analysis in R using SemTools, to assess the five factor structure of a questionnaire across 3 age groups. The latent variables have 5 indicators (5 items). I ...
Linda P's user avatar
  • 41
5 votes
1 answer
7k views

Partial Dependence plot interpretation for Categorical variables

I am using partial dependence plot from random forest. The partial plot doesn't make sense to me. 10th completed people have only 62 out of 933 people as 1. But the partial plot shows positive bar, ...
Shudharsanan's user avatar
2 votes
1 answer
950 views

Partial/marginal effects after probit regression

Is it plausible to get positive coefficients after running a probit but negative partial/marginal effects? If so, what is the intuition?
richpiana's user avatar
  • 257
4 votes
0 answers
276 views

Get covariance from conditional covariance for lognormal (and other) observations?

Consider lognormal random variables $X_1$ and $X_2$ with correlation coefficient $ρ$ and a partial observation sample of them of length N, the sample being partial because it only contains occurrences ...
Psa NP's user avatar
  • 41
2 votes
1 answer
79 views

How to get the regressed output?

I have a model Y = slope1*variable1 + slope2*variable2 + Intercept. I used lm in R to get slope1, slope2 and Intercept. In this case, variable1 is my main effect ...
statistical_beginner's user avatar
1 vote
3 answers
2k views

how to plot 3D partial dependence in GBM

I can use the following code to get one-dimensional partial dependence plot. what code can I plot two-variable partial dependence plot, that's the three dimensional figure. Thanks. plot.gbm(GBMmodel,...
Captain's user avatar
  • 13
3 votes
1 answer
3k views

Difference between Partial Correlation and Semi-Partial Correlation

Partial Correlation is when there are three things connected each other(A,B,C), when comparing A and B, we should think about the effect of C so when we calculate the pure relationship between A and B,...
LKM's user avatar
  • 221
4 votes
2 answers
1k views

Why it is popular to use stochastic gradient descent in neural networks rather than the BFGS algorithm? [duplicate]

I have made two solvers to implement neural networks, one is based on stochastic gradient descent (SGD) while the other is based on the BFGS (Broyden-Fletcher-Goldfarb-Shanno) algorithm. I have read ...
maple's user avatar
  • 299
4 votes
1 answer
1k views

Marginal Effects of Discrete Variables in Quantile Regression

I find myself puzzled by a passage about marginal effects of discrete variables in quantile regression. On p. 217 of Cameron and Trivedi's MUS book, the authors write: For the $j$th (continuous) ...
dimitriy's user avatar
  • 37.2k
2 votes
1 answer
123 views

Partial sorting: select at most N elements including for sure the top T elements

To whom it may concern. My "population" with known size P is a landscape and has not more than 4 peaks with about same high. Naturally top elements group locally within the population. I seek the top ...
Stephan's user avatar
  • 21
5 votes
1 answer
603 views

Good machine learning algo for partial derivatives?

Does anyone know of good robust algos to estimate partial derivatives of a regression model? I am talking about a general regression model like this: $\mathbb{E}(y|x_1, x_2, ... x_n) = f(x_1, x_2, ......
jubo's user avatar
  • 1,072
2 votes
0 answers
779 views

Correlation vs Partial Correlation to explore relationship in data

I have a cognitive architecture solving a set of tasks. Also I have data of human subjects solving the same set of tasks. Now I want to see whether I can find a relationship between the performance ...
Stefan's user avatar
  • 21
7 votes
1 answer
4k views

Random Forest - how to know if variables affect positively or negatively

I'm running a RandomForest in R on a set of data with many variables. Using varImpPlot() I know how important is each variable ...
Tero's user avatar
  • 103
0 votes
0 answers
3k views

Scatterplot correlation with covariate (partial correlation) in SPSS - how?

I'd like to make a scatterplot of a partial correlation - so a correlation with covariates. How should I do this in SPSS? If necessary, I could also do it in R. The most important thing is to show the ...
Janine W's user avatar
2 votes
0 answers
55 views

How can I test if a bivariate correlation is significantly different from a partial correlation?

I have three variables (A, T, C) with n= 1083. The Pearson correlations are as below: A*T= .170 (p<.01) A*C= .370 (p<.01) T*C= -.103 (p<.01) Partial correlation between A and T ...
Sam's user avatar
  • 21
2 votes
1 answer
18k views

How is the proper number of lags for ACF or PACF displaying?

How many lags should be used for ACF or PACF displaying if we have $S$ seasonality? For example, for 500 observations I have 25 lags for 200 observations I have 22 lags It is independent from ...
KateRin's user avatar
  • 31
7 votes
2 answers
6k views

How are partial regression slopes calculated in multiple regression?

I'm trying to understand how multiple regression statistically controls for the effects of other predictor variables when calculating partial regression slopes. In a multiple regression of Y~X1+X2, ...
jay's user avatar
  • 1,215
2 votes
2 answers
3k views

Is partial correlation possible after Spearman's correlation?

I have two test groups that conducted an online task measuring response times (avg, avg(congruent), avg(incongruent)). I expected one group to be faster than the other but it turned out exactly the ...
Charlotte Houwing's user avatar