Hi,

I am using STATA version 15.1.

I am trying to run the following command:
bspline, xvar(tmean05) knots(4) gen(bs) power(2)

but STATA gives me an error "this is version 15.1 of Stata; it cannot run version 16.0 programs
You can purchase the latest version of Stata by visiting http://www.stata.com."

I can see that bspline is an old program but somehow it is not working in STATA 15.1.

Any help will be really helpful for me. Thanks!