fit_var {RNAdecay}R Documentation

sigma^2 estimation

Description

Calculates the variance (sigma^2) estimate from the sum of the squared errors from the fit model.

Usage

fit_var(sse, n)

Arguments

sse

is the minimum SSE (sum of the squared errors) from the slsqp() fitting

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 the sigma squared estimate

Examples

fit_var(1,128)

[Package RNAdecay version 1.2.1 Index]