The lpoly command works fine as long as my dataset is not too large. Using a dataset with about 45,000,000 observations, I get gaps in the graph. I stored the smoothing grid and the smoothed points and saw that there seems to be a problem saving these two variables.
stata version: 15
command: lpoly varA varB if varB >= -.4 & varB <= .4 [aweight=varC], noscatter ci bwidth(0.05) generate(gvarB gvarA)
For 45 smoothing grids the corresponding smoothed point is saved. But for 5 smoothing grids the smoothed point is missing. At the same time stata saved 5 smoothed points without a corresponding smoothing grid. Increasing the number of observations in the dataset results in more grids. (My dataset has 90,000,000 observations, using a 5 % or 10 % sample works fine. First gaps in the graph appear using a 20 % sample.)
Is there an alternative command or a solution to the problem? Thank you in advance, Heiko
Related Posts with lpoly - problems using large dataset
Latent Class Model on a Mixture-Amount Discrete Choice ExperimentHello I performed a discrete choice experiment which included 8 mixtures terms (the proportions of …
Vlookup in StataHello, There are four regions (Area Unit), and four people. The first table is the origin-destinati…
How to make a ttest with conditions?Hi! I don't know how to create a ttest for this null hypothesis: - H0: b1 +4b3 <= 50 - H1: b1 +4b…
Delete observations with older date within one yearDear Statalists, my data set looks like this: Meeting Date Year Company Attending Person 25ma…
If-Else IssueHello All, I have a rather interesting issue. I am attempting to use some if-else statements for so…
Subscribe to:
Post Comments (Atom)
0 Response to lpoly - problems using large dataset
Post a Comment