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
How to make mother education variable for each observation in a large datai have data in the form of Parent key KEY indvidual_number_ in_ roaster completed education mother l…
Mark Highest Recurring ObservationDear All, Hope you are well. I am wanting to generate a variable that marks the highest recurring …
How to use a Cox regression model for time-to-event analysis using different years as controlGood day Background: I am trying to conduct a retrospective epidemiological study looking at the in…
Deciding equation when analyzing by ppmlHello My data is panel data with strongly balanced . As I want to know the effect of lpi on export a…
Non integer weights - problemHi. I'm using weights from the European social Survey which have three different weights: design, po…
Subscribe to:
Post Comments (Atom)
0 Response to help with krls
Post a Comment