MGWR has no argument 'family'
PratyushTripathy opened this issue · comments
I am trying to fit a mgwr model for binary Y variable. As mentioned in the paper (section 3.4), I specify family=Binomial() in the Sel_BW and the MGWR object. The MGWR object throws an error that says unexpected argument 'family' (screenshot attached). The paper mentions this for GWR object though, I am assuming that MGWR too supports fitting on binary Y variable. Does MGWR not support binomial model or is there some other way to pass this?
MGWR does not yet support anything but Gaussian, that extension from GWR is
still a WIP.
…On Sun, Jun 6, 2021 at 1:30 PM Pratyush Tripathy ***@***.***> wrote:
I am trying to fit a mgwr model for binary Y variable. As mentioned in the
paper (section 3.4), I specify family=Binomial() in the Sel_BW and the MGWR
object. The MGWR object throws an error that says unexpected argument
'family' (screenshot attached). The paper mentions this for GWR object
though, I am assuming that MGWR too supports fitting on binary Y variable.
Does MGWR not support binomial model or is there some other way to pass
this?
[image: mgwr_family_error]
<https://user-images.githubusercontent.com/29382796/120934112-a4a0a280-c71a-11eb-8f9b-619606de362a.PNG>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#99>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB553TNNTAR55O5D2XHSSZTTROWDZANCNFSM46GFWZMQ>
.
Thanks for the prompt response! Will look forward. Closing.