Hello,
I got 2 continous variables with an interaction, I'm trying to visualise that as a graph, however the graph is also drawing the mean vlaues on which I dont want. How can I remove them ?
stats | TDU3 csProx3
---------+--------------------
min | 0 0
mean | 2.006938 .2641235
max | 4.088879 .8478552
skewness | -.3457696 .5499676
kurtosis | 2.642254 2.512267
N | 2789 2789
------------------------------
Here are the commands I type :
margins, at(csProx3 TDU3 ) at(csProx3 = (0 0.2641235 0.8478552) TDU3 = (0 2 4) )
marginsplot, xdimension(TDU3) noci scheme(s2mono) title(Number of Startups created)
This is the result :
Array
As you can see I got the pesky mean in there and I cant get rid of it. It shows the 2.006938 of the TDU on the lower axis and I get an extra line I didnt ask for for Prox. Any suggestions ?
Best regards,
Arman
Related Posts with How to remove the average from marginplot
General stata resources for analyzing J or U curve shaped dataI am analyzing data from a longitudinal data on hypertension. The outcome is all-cause mortality (ye…
tvdiff vs. eventddDear forum members I have a question about staggered diff-in-diff and event studies. I managed to f…
Meaning of alpha in xtpoissonDear all, I am estimating a random-effects Poisson regression with Gamma distribution, using -xtpoi…
IV: creating an interaction termHi all, I'm using an IV and I need to include an interaction term using the instrumented endogenous…
Linking to specific posts in a Statalist threadI'm embarrassed to post this since I'm sure the answer is simple but I couldn't find it in the Stata…
Subscribe to:
Post Comments (Atom)
0 Response to How to remove the average from marginplot
Post a Comment