Skip to content

Commit

Permalink
Update bumparea.ado
Browse files Browse the repository at this point in the history
  • Loading branch information
asjadnaqvi committed Apr 10, 2023
1 parent ecde55e commit 89b6592
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions installation/bumparea.ado
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

cap prog drop bumparea

prog def bumparea, // sortpreserve
prog def bumparea, sortpreserve
version 15

syntax varlist(min=2 max=2) [if] [in], by(varname) ///
Expand Down Expand Up @@ -107,16 +107,9 @@ preserve
// displace
replace _ylo = _ylo - _locmid
replace _yhi = _yhi - _locmid


// generate mid point
gen double _ymid = (_ylo + _yhi) / 2


// interpolate between the dots
*** create space in the rows
*** for each x category, add 50 points

// get a generic sigmoid in place
sort `by' `xvar'
gen _id = _n
Expand Down Expand Up @@ -304,3 +297,6 @@ end



************************
***** END OF FILE ******
************************

0 comments on commit 89b6592

Please sign in to comment.