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.
Replacing String variables with another string variable. (String variables contain data from multi select questions)Hi. im trying to replace observations of a string variable from another string variable (Both the st…
Synthetic control for MicrodataI am using IPUMS microdata to run a differences-in-differences model and I want to augment it with a…
Instrumental variable with ordinal dependent variable(reject the parallel test)Dear all, I am using the instrumental variable approach. My X variable is a binary variable, and Y …
Setting up a two-dimensional binary linear programming problemI am trying to solve a tricky (for me) 2D binary LP problem. Suppose I have a rectangular matrix B (…
Using numbers from tabulate var1 var2 into mcciDear Statalists, I need to perform a lot of McNemars using mcc or mcci (with a preference for mcci)…
Subscribe to:
Post Comments (Atom)
0 Response to Inserting knot locations in stpm2 when degree of freedom is 1.
Post a Comment