log_lik: log likelihood

View source: R/log_lik.R

log_likR Documentation

log likelihood

Description

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

Usage

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

log_lik(1,1/128,128)

reedssorenson/RNAdecay documentation built on Oct. 28, 2023, 11:31 a.m.