You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the quick reply! Using the notation in model 2 / equation 2 (Hao et al. 2016) where L = AH I mean fixing some of the rows of H to known values while still estimating the other rows as well as A? What do you mean by adjustment variables?
Adjustment variables in this case are just additional information about individuals, like how you might control for things in a regression. As a concrete example, perhaps something like self-reported ancestry? I think this is the same as what you're suggesting. This is definitely doable, but the change has to enter the algorithm at multiple points. If you're not in a rush, I can work on and test this in a branch and get back to you.
I think the devel branch should do what you want. The lfa function now has a adjustments argument which takes a matrix. The number of factors d needs to include the number of adjustment variables.
I'm not merging into master yet since I reorganized a bunch of stuff and want to make sure it all works.
Let me know if anything behaves weirdly or if this doesn't work the way you expect!
Activity
whao89 commentedon Feb 15, 2017
Hi Joe, do you mean that you want to include adjustment variables when computing logistic factors?
jhmarcus commentedon Feb 15, 2017
Thanks for the quick reply! Using the notation in model 2 / equation 2 (Hao et al. 2016) where L = AH I mean fixing some of the rows of H to known values while still estimating the other rows as well as A? What do you mean by adjustment variables?
whao89 commentedon Feb 16, 2017
Adjustment variables in this case are just additional information about individuals, like how you might control for things in a regression. As a concrete example, perhaps something like self-reported ancestry? I think this is the same as what you're suggesting. This is definitely doable, but the change has to enter the algorithm at multiple points. If you're not in a rush, I can work on and test this in a branch and get back to you.
jhmarcus commentedon Feb 16, 2017
Yep that is what I mean. That would be great! Thank you for the help.
whao89 commentedon Feb 24, 2017
I think the
develbranch should do what you want. Thelfafunction now has aadjustmentsargument which takes a matrix. The number of factorsdneeds to include the number of adjustment variables.I'm not merging into
masteryet since I reorganized a bunch of stuff and want to make sure it all works.Let me know if anything behaves weirdly or if this doesn't work the way you expect!