Hello,

I'm using the krls command to predict a binary outcome (whether the patient starts dialysis within 12 months of diagnosis of kidney disease) based on a mix of categorical predictors (age, laboratory values) and indicator variables (presence of comorbidity, positive family history of disease, gender, etc).

I start with the command krls hd12 (the outcome variable) age male gfr (and other labs)
I follow this with the "predict krlshat" command to get the fitted values

My problem is that when I run "tabstat krlshat, stats (min max)" the output says krlshat runs from -2 to 4. I'm trying to figure out what I'm doing wrong since I expected the fitted values to run between 0-1 since those are the values for the outcome, hd12

thank you