Skip to content

Getting voxelwise maps for logL (and other attributes of LikelihoodModelResults) #2417

@jdkent

Description

@jdkent

To get residual maps nilearn/nistats#410, we added a method called _get_voxelwise_model_attribute, which has broader use than returning residuals, such as "potentially" returning log-likelihood and other attributes of RegressionResult and LikelihoodModelResults.

However, there was some difficulty getting a voxelwise map of the logL results, with discussion/investigation outlined here and potential solution outlined here

Let me know if the solution looks reasonable, and I can open a pull request.
(and perhaps outline which attributes we would want to make explicit methods for in addition to residuals, predicted, and r_square in the FirstLevelModel class. For example, including:

  • logL
  • SSE
  • MSE
  • ???

Metadata

Metadata

Assignees

No one assigned

    Labels

    Effort: mediumThe issue is likely to require a decent amount of work (in between a few hours and a couple days).GLMIssues/PRs related to the nilearn.glm module.Impact: mediumSolving this issue will have a decent impact on the project.Priority: lowThe task is not urgent and can be delayed.

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions