Displaying 1 result from an estimated 1 matches for "london_nw_london_pilots_elig".
2003 Jun 03
1
Logistic regression problem: propensity score matching
...entifier) 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(lonoutput)
The Logistic regression seems to work, although...