Hello everyone,
Is there any way to use pcarrowi command dynamically? I'm trying to find a way to insert arrows into several plots to indicate the changes in the values of some variables across time. For example, I'd like to draw an arrow between the predicted values for group 1 and group 2, pre and post trial, in the graph below (not quite in a finalized format, but just an example for the moment)
. Array
I have the values of the predicted values via matrix r(b), but these values do not seem to be compatible with addplot command. For example, if I were to insert either addplot(pcarrowi 0 k[1,1] 0 k[1,2]) or addplot(pcarrowi 0 scalar(a) 0 scalar(b)) (after defining scalars as suitable values of the matrix), I get error message "invalid point." Is there any way to dynamically use addplot (specifically pcarrowi) with scalars/matrix cells, rather than specific values?
Thank you!
Related Posts with Using pcarrowi dyanmically?
Can we apply different estimation techniques in a single paper?In a research paper, if we use, for example, the ZINB model for our main analysis (main table). Can …
New to Stata, need some advice about how to learn StataHello, everyone. I am new to Stata, really need some advice about how to learn STATA, especially how…
getting 95% CIs for multinomial variable, with clusteringHi all, I'd like to obtain 95% CIs for a variable with 3 categories - male, female, and unknown; ove…
Matched dataset based on multiple variablesHello, I am attempting to create a dataset of matched observations based on multiple criteria. I h…
How to do K-S test with weight Dear specialists, I really thank everyone here sparing no efforts to help me. The problem is this…
Subscribe to:
Post Comments (Atom)
0 Response to Using pcarrowi dyanmically?
Post a Comment