Dear Statalist:
In the past, when I used -lpoly- to estimate smoothed values over groups, I just created a separate data file for the subgroups and ran it separately. This works fine if you're estimating it by gender, and less if you're estimating by, say, USA states (or states X gender).
As far as I can tell, lpoly doesn't work with -by- or its cousins. There are probably reasons for this, but I'm hoping to run lpoly on about 100 different subgroups and creating different data files is a bit of a mess (if you're wondering: Yes, my data set is exceptionally large). Maybe it would work if I created temporary data files and then merged them together rather than permanently throwing 100 data files in a folder somewhere, but I'm hoping that there's a simpler way to approximate this. Does anyone have any experience making this work?
Thanks,
Jonathan
Related Posts with -lpoly- combined with -by-
percentage of missing data for each group?Dear All, Suppose that the data set is Code: webuse grunfeld, clear set seed 1234 replace…
Create local macro already with double quotataion marksDear Statalist I would like to create a local macro for an if-condition that already includes doubl…
Generating the AVERAGE, by dropping Missing ValuesHello Everyone, I have Ten years of Data (2005 to 2015) for an X variable for 200 countries (data t…
Robustness Check for Logistic CoefficientsDoes anyone know of a logistic coefficient robustness/sensitivity check for downloading into Stata o…
Identify 100 biggest companies within a firmyearDear all, We are trying to generate a new dummy variable (biggest_comp_d) indicating whether a comp…
Subscribe to:
Post Comments (Atom)
0 Response to -lpoly- combined with -by-
Post a Comment