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.
Related Posts with Struggling with -mkspline-
LabelsHello, i'm sure my problem is very basic, but I couldn't find an answer in past topics. An example …
mgarch dcc predicted correlationsHello, Does anyone know why mgarch dcc predicted correlations begin with unreasonable values? For e…
-xtgls- vs -xtscc-?I am analysing a panel data with n=19 (ID/panel variable i.e. countries) and T=44 (time variable) to…
How to test whether difference in differences is statistically significant without regression?Dear all, I have two groups and have tested whether the mean of my variable of interest is signific…
Which model would you recommend to use? Panel DataHi all, I do my University work and need your help. I have a panel data and want to know how 10 inde…
Subscribe to:
Post Comments (Atom)
0 Response to Struggling with -mkspline-
Post a Comment