Im a creating a modelo capable of predicting an outcome.
What I have done so far:
1. Randomly divided my sample into two groups.
2. Ran logistic regression for my outcome and predictive variables in group 1.
What I need to do now, crossvalidation:
1. I haven't been able to assign coefficients for group 2: Using the logistic coefficients found in group 1, assigning logistic coefficients to each patient in group 2 based on how variables interplay in each.
2. Predicting the outcome in group 2: Using logistic coefficients to predict the outcome in group 2 (Cross validation).
My final results should have a predicted vs observed outcome in group 2.
Any guidance would be of help.
What I have done so far:
1. Randomly divided my sample into two groups.
2. Ran logistic regression for my outcome and predictive variables in group 1.
What I need to do now, crossvalidation:
1. I haven't been able to assign coefficients for group 2: Using the logistic coefficients found in group 1, assigning logistic coefficients to each patient in group 2 based on how variables interplay in each.
2. Predicting the outcome in group 2: Using logistic coefficients to predict the outcome in group 2 (Cross validation).
My final results should have a predicted vs observed outcome in group 2.
Any guidance would be of help.
Comment