Skip to main content
10 events
when toggle format what by license comment
Oct 2, 2015 at 18:54 comment added gung - Reinstate Monica @DankMasterDan, it's been >10 years since I've used MATLAB. I don't have access to it now & I'm not savvy enough to spot any potential problems w/ your code. If this is just a MATLAB coding question, it should go on Stack Overflow or to MATLAB's tech support.
Oct 2, 2015 at 18:51 comment added DankMasterDan Ok, so could this be an issue with Matlab? I just tried the same code on an older version of Matlab and got the same thing... If anyone has Matlab could they try it to see if they get the same thing?
Oct 2, 2015 at 1:04 comment added Matthew Drury No, it's not worth the trouble. glm.fit is just called on the constructed model matrix from glm after the formula is applied.
Oct 1, 2015 at 23:35 comment added gung - Reinstate Monica @MatthewDrury, no problem. I can delete this, if you want to post your own code.
Oct 1, 2015 at 23:34 history edited gung - Reinstate Monica CC BY-SA 3.0
added 268 characters in body
Oct 1, 2015 at 23:27 history edited gung - Reinstate Monica CC BY-SA 3.0
added 49 characters in body
Oct 1, 2015 at 23:22 comment added gung - Reinstate Monica Hmmm, interesting. I've never really used glm.fit, @MatthewDrury.
Oct 1, 2015 at 23:21 history edited gung - Reinstate Monica CC BY-SA 3.0
added 49 characters in body
Oct 1, 2015 at 23:20 comment added Matthew Drury The only difference in what I did what to use glm.fit on the matrix directly. I had essentially exactly the same results. Sorry I didn't get to posting my code before going to work this morning.
Oct 1, 2015 at 23:19 history answered gung - Reinstate Monica CC BY-SA 3.0