Hi there,
I am running a flexible parametric model with 2 knots (I know this is equivalent to weibull model but for some reasons I want to use stpm2). So, I just have 2 boundary knots and no internal knot. I want to specify knot locations using “knotstvc” and “bknotstvc” options. I tried to use bknotstvs without knotstvc as follows: “bknotstvc ( -.67 2.70 )” but I faced error of “invalid name”. Again, I tried to use the same internal knots and boundary knots as follows: “knotstvc( -.67 2.70 ) bknotstvc( -.67 2.70 )”. This time the stpm2 ran, but the output considered 3 splines (i.e. 4 knots).
Would you please help me how should I define boundary knot locations when I have no internal knots?
Any help would be much appreciated.
Related Posts with Inserting knot locations in stpm2 when degree of freedom is 1.
Interpreting significant intereactions inHello, I post below a results table for a diff in diff model. For simplicities sake, please look on…
dual treatment effect modelI'd like to ask if there is an official command of dual treatment effect model. I use the stata17 ve…
looking for tl_2016_us_county.zip,can you share the package with me?Can any friends share this map pack(tl_2016_us_county.zip)? Just to practice the operation of the sp…
Interpretation of xtreg,feDear Community, Could you please help with the interpretation of the -xtreg -fe results. Basically,…
Imputing a passive variableDear all, I have the following data. A group identifier for the region (region) a person lives in wi…
Subscribe to:
Post Comments (Atom)
0 Response to Inserting knot locations in stpm2 when degree of freedom is 1.
Post a Comment