Hi Statlisters,
I am finding different methods cited in the literature to categorize a continuous variable (cumulative life time measure of alcohol consumed, tobacco smoked etc) , e.g, using smoothing functions such as splines to identify specific deflection points/range of values that can be used as cutpoints. For a binary outcome and a continuous predictor (with or without other covariates), is there any Stata syntax/code/function to find out the optimum cut-point values for categorizing the continuous predictor? Something similar in essence to what has been given for these softwares; a) SAS (Finding Optimal Cutpoints for Continuous Covariates with Binary and Time-to-Event Outcomes); b) Choose Cutpoints for Categorizing a Continuous Predictor (I have no idea which software this code is for but in this here, they seem to use the information received from the regression model to find out optimum cut points).
thanks
I am finding different methods cited in the literature to categorize a continuous variable (cumulative life time measure of alcohol consumed, tobacco smoked etc) , e.g, using smoothing functions such as splines to identify specific deflection points/range of values that can be used as cutpoints. For a binary outcome and a continuous predictor (with or without other covariates), is there any Stata syntax/code/function to find out the optimum cut-point values for categorizing the continuous predictor? Something similar in essence to what has been given for these softwares; a) SAS (Finding Optimal Cutpoints for Continuous Covariates with Binary and Time-to-Event Outcomes); b) Choose Cutpoints for Categorizing a Continuous Predictor (I have no idea which software this code is for but in this here, they seem to use the information received from the regression model to find out optimum cut points).
thanks
Comment