log_lik: log likelihood

Description Usage Arguments Value Examples

View source: R/log_lik.R

Description

Calculates the log likelihood value from the sum of the squared errors, sigma2, and the total number of data points.

Usage

1
log_lik(x, y, n)

Arguments

x

is the minimum SSE from the slsqp() fitting

y

is sigma2 cooresponding to the minimum SSE

n

is the total number of observations of a single gene (e.g., 8 time points X 4 replicates X 4 treatments/genotypes = 128)

Value

returns Log Likelihood

Examples

1
log_lik(1,1/128,128)

reedssorenson/RNAdecay documentation built on May 7, 2020, 12:59 p.m.