fit_var: sigma^2 estimation

View source: R/fit_var.R

fit_varR 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)

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