Skip to content

truncated normal distribution specification in debinfer_par #35

@motyocska

Description

@motyocska

Hello,

would you have an example on how to specify a truncated normal distribution for a prior in debinfer_par? looked through repository but could not find example... For example, how would I specify debinfer_par for a parameter with normal distribution, mean of 5, sd of 2, lower end of 1 and upper end of 10? Tried the following but error message pops for unused variables:

debinfer_par(name = "par_a", var.type = "de", fixed = FALSE,value = 5, prior = "norm", hypers = list(mean = 5, sd = 2,a = 1, b = 10),prop.var = c(4), samp.type = "rw")

and to confirm, the prop.var variable for my example would be squared 2 = 4, the variance?
much appreciate the help,

Andras

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