Cauchy_ID: Cauchy Prior Distribution Identifier

Description Usage Arguments Details Value Author(s) Examples

Description

Uses the subject matter researchers knowledge to generate a corresponding Cauchy prior distribution.

Usage

1
Cauchy_ID(Low, High, Cover = NULL)

Arguments

Low

researcher's LOWEST plausible value for the parameter.

High

researcher's HIGHEST plausible value for the parameter.

Cover

researcher's suggested coverage for the Low and High values provided.

Details

Uses optimization techniques to provide graphical and textual information about an appropriate Cauchy prior distribution.

Value

Provides graphical as well as full textual description of a suitable Cauchy distribution for researcers based on their knowledge about how High or Low the parameter has been found in the literature. Also, helps researcher to revise their prior by issuing various messages.

Author(s)

Reza Norouzian <rnorouzian@gmail.com>

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
# Suppose a researcher needs a Cauchy prior for a Cohen d effect size that in
# his/her view can't be less than -6 and more than +6. The researcher believes
# these two limit values cover 90% of all possible values that this parameter
# can take:


 Cauchy_ID (Low = -6, High = 6, Cover = '90%')



# User can also use any value that is between 0 and 1 for the argument
# cover without using percentage sign:



Cauchy_ID (Low = -6, High = 6, Cover = 90)

rnorouzian/BayesianforL2 documentation built on May 29, 2019, 8:37 a.m.