How to fit a polynomial degree 2 models with by-groups then capture the parameter estimates
I would like to create polynomial degree 2 by each (SERIAL, P1, P2, P3) and get the coefficient and constant then put in each column by using JSL. The example data was attached in this post, but actually I will do with the data about 1 million rows.