I am attempting to perform a logistic regression and
for some reason the @formula macro, is not reading.
using GLM
using Lathe: preprocess
fm = @formula(Outcome ~ Sesh1 + Shes2 + Sesh3)
logit = glm(fm, train, Binomial(), ProbitLink())
I attempted to prefix @formula and there are
no package conflict warnings. One thing, I have
been getting some deprecation warnings during
my Lathe install. But for other sessions I have
been able to use Lathe package and modules.
Okay first of all it’d be good if you had a look at Please read: make it easier to help you to get some tips on how to most effectively ask for help on here - your example isn’t exactly minimal I suppose if your error is related to @formula. Also, what is the actual error you’re seeing?
It sounds like you could use a tutorial. or read through the Julia docs. It’s just checking for equality with the string "Y", which returns a Bool, as it does in all other languages.
Please read the documentation so you have a better idea what’s going on!