Dear all,
I estimate the kernel density of variable var1 and at the mean of var1 I would like to draw a vertical dashed line from the horizontal axis to the curve. I know how to draw a line in twoway Stata graphs, but what I would like to ask is if there is a general way of finding out the function value of the estimated kernel density at a specific (horizontal) coordinate - in my case at the mean of var1.
Thanks in advance and best regards
Tom
Related Posts with Getting the value of kernel density function estimate at specific coordinate
gmm estimate parametersI have drawn a random bivariate normal distribution. matrix m1 = (1,0) matrix c1 = (41, -22 \ -22, …
pwcompare does not generate letters for the groupHi, I am running the mlogit model and using the pwcomapre would like to compare the margins. The out…
How to run firm and industry*year fixed effects with reghdfe?In my dataset, TYPE2, INDC32, region2, and yr stand for firms, industry,region, and time. Normally, …
Modified Herfindahl–Hirschman (MHHI) Calculation*Dear all, I am new to STATA and tried to calculate a measure that captures the ownership concentrat…
I want to duplicate values of a variable for the same identifierHello, I am working with a dataset that has households' IDs matched with individuals' IDs, so that …
Subscribe to:
Post Comments (Atom)
0 Response to Getting the value of kernel density function estimate at specific coordinate
Post a Comment