I have three categorical variables (capacity, times, prices). The capacity has three levels ( 4 cups, 8 cups, and 10 cups). After run regression with these three categorical variables (capacity, times, prices), I have predicted values of preference (prefhat).
How can I have a scatter plot of prefhat against capacity (with three level) along with a connected line of average prefhat in each level of capacity? (The scatter plot and the line is in the same graph)
Thank You
Related Posts with Scatter plot with a categorical variable
Removing Blue Character ValuesHi, I am struggling at the moment with two -probably basic- issues. 1. I am working on the Italian…
Missing values in Latent class analysis with gsem in Stata 15 - different results in comparison with R's package poLCAI am using Stata Version 15.0 "gsem" command to get a latent class model fromm a sample with 6860 (i…
Penalized Quasi-Likelihood for Mixed linear modelIs it possible to use Penalized Quasi-Likelihood estimation for GLMM model ? I found the meglm glm a…
Dyadic data and clustered standard errorsHello, I have time-series dyadic data and need to run a regression (DV and IVs are absolute differe…
compare incidence rate among three groupsDear colleagues. I already have definided the failure event (DEAD) and time variable (TIME), and I h…
Subscribe to:
Post Comments (Atom)
0 Response to Scatter plot with a categorical variable
Post a Comment