Often times when I do custom maximum likelihood estimation in R I will plot cuts through the likelihood along all coordinates of the parameter vector so as to get a sense of what the likelihood surface looks around the parameter vector R claims is the optimum (I am not the only one to have had this idea, apparently). Often times this has proved to be instructive and once or twice it has helped me find out that the vector, which I thought maximized the likelihood, really didn't. The plots I make look a little something like this (note that for var3
the parameter doesn't maximize the likelihood whereas for all others it looks like it's pretty close):
My question is: Is there an easy way -- or really any way at all -- to generate such plots in Stata?