Displaying 1 result from an estimated 1 matches for "londonpsm".
Did you mean:
londonphd
2003 Jun 03
1
Logistic regression problem: propensity score matching
...dly, how do I get rownames (my unique identifier) into the
output from predict() - my input may be faulty somehow and the wrong
rownames being picked up - as I need to export back to database to sort
and match in names, addresses and phone numbers for my selected samples.
My code is as follows:
londonpsm <- sqlFetch(channel, "London_NW_london_pilots_elig",
rownames=ORCID)
attach(londonpsm)
mod.multinom <- multinom(sample ~ AGE + DISABLED + GENDER + ETHCODE +
NDYPTOT + NDLTUTOT + LOPTYPE)
lonoutput <- predict(mod.multinom, sample, type='probs')
london2 <- data.frame(l...