Skip to content

negative heritability estimates #13

Description

@humanpaingeneticslab

Dear LCV users,

when using LCV as shown in the tutorial:
LCV = RunLCV(data[,"L2"],data[,"Z.x"],data[,"Z.y"] )
I would often get the error "NaNs produced, probably due to negative heritability estimates."

However, when providing sample sizes, I got LCV to run without errors:
LCV = RunLCV(data[,"L2"],data[,"Z.x"],data[,"Z.y"],
n.1=n.1, n.2=n.2, ldsc.intercept=0 )

Notice that ldsc.intercept is set to 0, not 1 as stated in the header of RunLCV.R

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions