Questions tagged [partial-plot]

26 questions
16
votes
1 answer

Best way to visually present relationships from a multiple linear model

I have a linear model with about 6 predictors and I'm going to be presenting the estimates, F values, p values, etc. However, I was wondering what would be the best visual plot to represent the individual effect of a single predictor on the response…
15
votes
3 answers

R: What do I see in partial dependence plots of gbm and RandomForest?

Actually, I thought I had understood what one can show a with partial dependence plot, but using a very simple hypothetical example, I got rather puzzled. In the following chunk of code I generate three independent variables (a, b, c) and one…
user7417
  • 893
  • 2
  • 9
  • 18
15
votes
1 answer

Meaning of y axis in Random Forest partial dependence plot

I am using the RandomForest R package and am confused at how to interpret the values of the Y-axis in their partial dependence plots. Help docs state that the plot is a "graphical depiction of the marginal effect of a variable on the class…
jacobsap
  • 151
  • 1
  • 1
  • 3
5
votes
1 answer

Partial Effects Plots vs. Partial Dependence Plots for Random Forests

One method for interpreting the relationship of a predictor X to the response variable Y in a fitted multivariate regression model is a Partial Effects (PE) Plot. This can be generated by holding other predictors constant at their mean or median…
5
votes
0 answers

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 when fitting this statistical model to the partial…
mkt
  • 11,770
  • 9
  • 51
  • 125
5
votes
1 answer

Random Forest partial plot

I have the following graph generated after I used the partial plot function of Random Forest in R. Now from this image, my understanding says that temperature has a linear relationship with my variable at y axis (the one I am predicting) for values…
show_stopper
  • 415
  • 4
  • 14
4
votes
0 answers

Trying to understand partial residual plots

When I launch this code (sorry, I cannot post my data): fc3 <- avgScore ~ slope_mean + water_dist + clc_231 + clc_242 + clc_321 mc3 <- lm(fc3, data = d) require(car) residualPlot(mc3) I get the following plot: What is confusing is that the…
Tomas
  • 5,735
  • 11
  • 52
  • 93
3
votes
0 answers

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 expression (page 27): $$\bar{F}_l(\mathbf{z}_l) =…
3
votes
0 answers

leverage.plot() R - CAR package

I'm trying to complete a homework regarding added-variables and leverage plots using the CAR package. In the documentation of the leverage.plot() it says that "These functions display a generalization, due to Sall (1990), of added-variable plots…
Giorgos
  • 31
  • 2
3
votes
2 answers

Interpreting Partial Dependence Plots in GBM

I am using gbm to fit a model and partial dependence plots to interpret parts of the model. There seems to be some differences between partial dependence plots for gbm and the extension dismo - but that might be saved for a different post. Anyways,…
Danib90
  • 407
  • 2
  • 5
  • 12
2
votes
0 answers

Am I getting the definition of partial residual plot right?

I am trying to make a partial residual plot of one quadratic predictor in GLMM (glmer in R). I tried to do it manually, from how I understood the definition of partial residual plot, but I'm still getting different result than the one of the effects…
Tomas
  • 5,735
  • 11
  • 52
  • 93
2
votes
0 answers

Generating and interpreting partial dependence plots

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 page (page 422) of the document describes a loop to calculate partial dependence for a…
Gaurav Bansal
  • 633
  • 1
  • 6
  • 16
2
votes
1 answer

Partial Dependence Plot interpretation

This question regarding the partial dependence plots obtained from random forest model. I am trying to do classification modelling. I see negative probability in the y-axis . How to interpret this?
Shudharsanan
  • 117
  • 2
  • 6
2
votes
0 answers

Interact.gbm : Friedman's H statistic

I really need help to understand how the function interact.gbm (gbm package) can compute Friedman's H statistic to assess the relative strengh of interaction effects. In this Friedman's paper http://arxiv.org/pdf/0811.1679.pdf (section 8.1, page…
Stats9415
  • 31
  • 1
  • 5
1
vote
0 answers

Understanding partial dependence plot from XGBoost in R

I have developed an xgboost model in R using the package 'xgboost', with a binary outcome being predicted. I'm looking at a partial dependence plot of one of the important features, and I'm confused at how to interpret it. This is the plot: The…
Ben
  • 11
  • 2
1
2