Question: what is mkspline in stata?
Answer: Overview: The "mkspline" command creates a collection of variables that permit a so-called piecewise linear model. Such a model assumes that the regression is linear between specified points, and that the regression is connected at these points. ... The created variables can be used for any analysis.