Hello,
I have made a multilevel model for which I want to plot the effects of one of the levels, which has 675 observations through a standard error bar chart (serrbar command). I have ordered the effects with the rank command, in addition to obtaining the standard errors. The problem is that I tried unsuccessfully to apply the "in" option so that the graph only shows the 20 best observations, but the 675 appear making the graph impossible to read. This is the code without the "in" option:
[CODE]]generate labheight = v0 + 1.96*v0se + 0.05 serrbar v0 v0se v0rank if pickone_Driver==1, scale(1.96) yline(0) /// addplot(scatter labheight v0rank, /// msymbol(none) mlabel(Driver) /// mlabposition(1) mlabangle(vertical) mlabcolor(navy)) /// ytitle("Predicted Driver effect") xtitle("Rank") /// legend(off)[/CODE
How should I include the option to achieve my goal? Thanks for your help
Related Posts with Selecting certain observations for a graph
adding 100 rows in a matrix from different 100 matricesHello, I am trying to make a column matrix (100X1) using different 100 matrices? What is the best po…
creating a variable from frequencies and percent from tab commandDear statalist Members, other than using contract, is there a way i can create a variable from the …
Estout - Showing Two Coefficients in PercentageHi Everyone, I am running following code: xtset id month eststo:xtreg rateofreturn_excess mkt_rf …
numbered listIs there a command to create a numbered list, e.g., from 1804 to 2018. …
Effect size logit regression with sqaure terms and interactionsDear STATA users, I am running a model with a logit regression (binary DV), in which I include my I…
Subscribe to:
Post Comments (Atom)
0 Response to Selecting certain observations for a graph
Post a Comment