Thank you, could you please tell me how I can add standard deviation of my variables as error bars on my "scatter plot with my best fit line? I prepared my scatter plot showing the means of each variable, but I want to add the standard deviation for each variable as well
You can overlay a bar graph or range plot on top of your scatterplot with fitted values. Please type *help twoway* to learn more about overlaying plots, and *help graph bar* or *help twoway rcap* to learn more about bar graphs and range plots. Please email us at tech-support@stata.com if you have any other questions.
Awesome video, very helpful. How would this change if you are running a multivariable logistic regression. When you do the marginal analysis, is that keeping the multivariate OR value of the covariate of interest or is it treating it as a univariate
When you include multiple covariates, the predictions are calculated with the other variables at their observed values. For example, if the model were instead *logistic highbp i.hlthstat age* , then the average predicted probabilities obtained with *margins hlthstat* would be computed with the observed values of age. For further questions, please email us at tech-support@stata.com.
Thanks Chuck for this great video
Thank you, could you please tell me how I can add standard deviation of my variables as error bars on my "scatter plot with my best fit line? I prepared my scatter plot showing the means of each variable, but I want to add the standard deviation for each variable as well
You can overlay a bar graph or range plot on top of your scatterplot with fitted values. Please type *help twoway* to learn more about overlaying plots, and *help graph bar* or *help twoway rcap* to learn more about bar graphs and range plots. Please email us at tech-support@stata.com if you have any other questions.
Awesome video, very helpful. How would this change if you are running a multivariable logistic regression. When you do the marginal analysis, is that keeping the multivariate OR value of the covariate of interest or is it treating it as a univariate
When you include multiple covariates, the predictions are calculated with the other variables at their observed values. For example, if the model were instead *logistic highbp i.hlthstat age* , then the average predicted probabilities obtained with *margins hlthstat* would be computed with the observed values of age. For further questions, please email us at tech-support@stata.com.
very helpful, thanks
is the margins interpretation in percentage, or percentage points?
probability so .3 = 30%
Thank u