cond_hnorm: 'cond_hnorm' helper function

View source: R/P_hnorm.R

cond_hnormR Documentation

cond_hnorm helper function

Description

'cond_hnorm' computes the inner integral in () wrt the observed coordinate r for a given the latent coordinate l. This is a helper function for P_hnorm and should not be used independently.

Usage

cond_hnorm(l, r_breaks, sd)

Arguments

l

the given value of the latent variable

r_breaks

a (n+1) vector defining a partition of the interval R into n sets

sd

the standard deviation of the half-normal distribution

Value

an n vector whose i^th entry is P_ij as defined above.


PeteyCoco/ppdeconv documentation built on March 21, 2022, 5:35 a.m.