I'm struggling on interpreting the output after using the mkspline command.

I have a continuous exposure (N=721) called "norepi_equi_x" and want to model this independent variable using a competing risk model for three possible outcome: 1) event of interest, and (2) competing event, where participants are censored by 96 hours.

mkspline sp_vp = norepi_equi_x, displayknots cubic


knots are then located as below:

| knot1 knot2 knot3 knot4 knot5
-------------+-------------------------------------------------------
norepi_equi_x | .02 .05 .1 .2 1.0564


stset rtime, failure(rstatus==1) exit(time 96)
stcrreg sp_vp* age i.sex elixsum ap2_admit sofa_score_day_before_ext i.icu_class i.admission_type, vce(cluster icu_site) compete(rstatus==2)


Array

I don't quite understand how to trouble shoot what is going with these non-sensical results.

The distribution of my exposure variable (and this captures the dose of a medication):

Array


The first spline models the exposure as a linear relationship, which isn't appropriate for this setting. I don't now how to troubleshoot why each of the subsequent splines don't produce a result.

Thank you for your help.