gloewing / photometry_FLMM

Code for Functional Mixed Models for Fiber Photometry
7 stars 0 forks source link

Feature request: models without random effects #4

Closed oguienko closed 3 weeks ago

oguienko commented 1 month ago

Hi! As far as I understand, there are no models without random effects implemented in the software yet. Is it possible/legitimate to add them?

I do experiments where it is only possible to get one measurement from one mouse, and I need to compare control and treatment groups. The experiment involves abusive substance injection with a long-term effect (several hours), so it's not possible to do multiple trials per session, and we think that the sensitivity to the drug changes over time. Thus, one measurement per mouse. I get an error when trying to add mouse ID as a random effect since the number of observations equals the number of a grouping factor.

Any help/advice would be greatly appreciated!

gloewing commented 1 month ago

Hey I just responded to your other message and I think my response to it should cover this question, but let me know if you have any other questions.

Best, Gabe

On Wed, Oct 2, 2024 at 5:25 AM oguienko @.***> wrote:

Hi! As far as I understand, there are no models without random effects implemented in the software yet. Is it possible/legitimate to add them?

I do experiments where it is only possible to get one measurement from one mouse, and I need to compare control and treatment groups. The experiment involves abusive substance injection with a long-term effect (several hours), so it's not possible to do multiple trials per session, and we think that the sensitivity to the drug changes over time. Thus, one measurement per mouse. I get an error when trying to add mouse ID as a random effect since the number of observations equals the number of a grouping factor.

Any help/advice would be greatly appreciated!

— Reply to this email directly, view it on GitHub https://github.com/gloewing/photometry_FLMM/issues/4, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJVLMQILPSFMOCY363Y6EFTZZO3ZJAVCNFSM6AAAAABPHIZKA2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGU3DCMBWGQ3DMMQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>