Dear Stata specialists,
I have seen the description of -rcsgen- on Paul Lambert's blog, stating that "The rcsgen command generates basis function for restricted cubic splines. The command is used by my stpm2 command to fit flexible parameric survival models.".
I was wondering what's the actual relationship between -rcsgen- and -stpm2-? Does -rcsgen- always be followed by -stpm2- (Or can -stpm2- work without -rcsgen-)?
(Some brief info about my study and data if you'd like to refer to:
I'm trying to use flexible parametric model to estimate Hazard ratio over time (at 1 year, 5 years and 10 years after start of follow up) and visualize HR change over time using survival data.
outcome: development of CVD (0/1)
main exposure: RA (0/1)
covariates: age (continuous), sex (0/1), region (categorical noted by 0-20)
censoring: death during follow-up, emigration during follow-up or end of study (0/1)
follow-up time: in years (from diagnosis of RA to development of CVD or censoring) )
Thank you in advance!
Best,
Z.
Related Posts with What's the relationship between -rcsgen- and -stpm2-?
PPML and OLS Estimation with time-fixed effectsHello, I would like to analyse a gravity model using OLS and PPML methods. I am going to emphasize f…
Difference-in-Hansen tests of exogeneity of instrument subsets:Hello and Greetings from India! For my current study on analysis of market share of insurance compa…
Can somebody explain this Regression command to me ?Hello i hope all of yopu have a great Evening at least in Germany it is, I am researching for my Ba…
Statistical Test for Continuous Variable Differences Between Study Groups that Accepts Probability Weights?Hi all, I'm constructing a table that shows differences in baseline characteristics between four st…
problem with backtick in a stringI am trying to destring a variable which occasionally contains the backtick ` symbol. I am just not …
Subscribe to:
Post Comments (Atom)
0 Response to What's the relationship between -rcsgen- and -stpm2-?
Post a Comment