Skip to content

PhosKinTime-Vis TypeScript API


PhosKinTime-Vis TypeScript API / transforms/residuals / qq

Function: qq()

qq(x): object

Defined in: src/lib/transforms/residuals.ts:98

Normal Q-Q as statsmodels' qqplot(x, line='s') (KinOpt's plot_qqplot_residuals): sorted sample against normal quantiles at plotting positions i / (n + 1) (ProbPlot's default a = 0), and the standardized line y = mean + std(ddof 1) · theoretical.

Parameters

x

number[]

Returns

object

line

line: object

line.intercept

intercept: number

line.slope

slope: number

points

points: object[]