log_lik {RNAdecay}R 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)

[Package RNAdecay version 1.0.2 Index]