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
Related Posts with help with krls
Using -atjoint- in -margins- targeting only one at() condition when multiple at() are specifiedI am working on a logit model containing one interaction between a continuous and a dummy variable. …
Fama FrenchA new day a new question. I have now done a rolling window regression according to CAPM model and th…
regressionsHello, I have daily stock returns for the market and for companies. I want to run this model (reg r…
spell-type data/survival time analysesDear stata list, I am running survival time analyses and my goal is to create a survival time varia…
replacing missing valuesHello, I have two variables, one is a code identifier for companies (permno), and another is return…
Subscribe to:
Post Comments (Atom)
0 Response to help with krls
Post a Comment