fit_var: sigma^2 estimation

Description Usage Arguments Value Examples

View source: R/fit_var.R

Description

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

Usage

1
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

1
fit_var(1,128)

RNAdecay documentation built on Nov. 8, 2020, 5:52 p.m.