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-
Need help with tricking -coefplot-, thanks to restricted data issues (Ben Jann user written command)Dear Statalist: I have been using the user-written -coefplot- (authored by Ben Jann). It's great. I…
Stability test- how to interpret the results?Hi everyone, I am currently doing a time-series analysis using the VECM. I have one cointegrating …
Importing Excel variables into Stata with shortened namesDear all, I am working with a dataset that contains information about individuals and their relatio…
Does this situation require a reshape long, or something different?Dear Statalisters, I would like to efficiently convert the following data: Code: * Example genera…
Problems with table command in Stata17I have some problems using table command in Stata 17 Code: webuse nhanes2l table (sex race) () () …
Subscribe to:
Post Comments (Atom)
0 Response to -lpoly- combined with -by-
Post a Comment