log_npi: A function used to calculate the log-likelihood of sample...

Description Usage Arguments Details Value

View source: R/ci_comp.R

Description

A function used to calculate the log-likelihood of sample mean

Usage

1
log_npi(x, mu)

Arguments

x

samples

mu

theoretical mean

Details

When n is large, np[i] where S(mu)=frac(1,n) sum((y[i]-mu)^2,i==1,n)

Value

the value of sum(log(np[i](mu)),i==1,n)


XixuHu/SC19090 documentation built on Jan. 2, 2020, 8:40 p.m.