Dear experts
I am new to this forum and I want to thank you in advance for any help.
Varible1 is categorical of yes or no, varible2 is continuous variable with 10000 values. I want to know the estimated rate of yes in each value of variable2 and make the curve smooth. I use "twoway fpfitci varible1 varible2" and it doesn' work.
Thank you
Kai-Lun
Related Posts with how to draw a graph of distribution when x axis is continuous varible while y axis is categorical value
Propensity Score Matching - Regression on a matched sample and introducing new controlsHi, I am using propensity score matching to reduce selection bias and then running a regression on …
Current and Lagged Values of an Independent Variable in xtabond2Hi everyone! May I ask if it is technically correct to include both current and lagged values of an …
how to control for individual fixed effects in Stata?I know one method can be: Code: regress y x1 x2 i.id, vce(robust) But the problem is in my data set…
Creating a sum variable which depends on 2 other variablesHello! I am currently working on a panel dataset containing, amongst others, the variables "compani…
Nested foreach loops with panel dataDear Statalists, I am fairly new to Stata and am facing some issues regarding nested foreach loops.…
Subscribe to:
Post Comments (Atom)
0 Response to how to draw a graph of distribution when x axis is continuous varible while y axis is categorical value
Post a Comment