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.
Sensitivity analysis to assess selection biasHi there! Is there a sensitivity analysis or test in Stata that can be used to estimate the directio…
change in volume between the same months in different yearsI have a hospital dataset declared as a time series with panel data with monthly observations. Volum…
Wooldrige Test for serial correlation.Hello guys! I was running the Wooldrige Test for serial correlation of the error terms and the H0 is…
Heckman selection modelHi there! I'd like to learn more about the Heckman selection model to control for selection bias. He…
Quickly merging chunks of variables within the same datasetHello, I have a dataset with different groups of variables that actually represent the same questio…
Subscribe to:
Post Comments (Atom)
0 Response to Inserting knot locations in stpm2 when degree of freedom is 1.
Post a Comment