dstats v1.0.4 (2018-01-22T19:49:16Z)
Home
Dub
Repo
Residuals
dstats
regress
Forward Range for holding the residuals from a regression analysis.
struct
Residuals (
F
U
T
...
) {
alias
R
=
T
[
0
]
;
alias
XType
=
typeof
(
array
(
R
.
init
))
;
static if
(
T.length == 1 && isForwardRange!(ElementType!(T[0]))
)
enum
bool
needDup
;
alias
R
=
T
;
alias
XType
=
staticMap
!(
Unqual
,
R
)
;
static if
(!(
T.length == 1 && isForwardRange!(ElementType!(T[0]))
))
enum
bool
needDup
;
Unqual
!
U
Y
;
XType
X
;
F
[]
betas
;
double
residual
;
bool
_empty
;
void
nextResidual
();
this
(F[] betas, U Y, R X);
double
front
[@property getter];
void
popFront
();
bool
empty
[@property getter];
typeof
(
this
)
save
[@property getter];
}
Constructors
this
this
(F[] betas, U Y, R X)
Undocumented in source.
Members
Aliases
R
alias
R
=
T
[
0
]
Undocumented in source.
R
alias
R
=
T
Undocumented in source.
XType
alias
XType
=
typeof
(
array
(
R
.
init
))
Undocumented in source.
XType
alias
XType
=
staticMap
!(
Unqual
,
R
)
Undocumented in source.
Functions
nextResidual
void
nextResidual
()
Undocumented in source. Be warned that the author may not have intended to support it.
popFront
void
popFront
()
Undocumented in source. Be warned that the author may not have intended to support it.
Properties
empty
bool
empty
[@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
front
double
front
[@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
save
typeof
(
this
)
save
[@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
X
XType
X
;
Undocumented in source.
Y
Unqual
!
U
Y
;
Undocumented in source.
_empty
bool
_empty
;
Undocumented in source.
betas
F
[]
betas
;
Undocumented in source.
needDup
enum
bool
needDup
;
Undocumented in source.
needDup
enum
bool
needDup
;
Undocumented in source.
residual
double
residual
;
Undocumented in source.
Meta
Source
See Implementation
dstats
regress
aliases
repeat
classes
Loess1D
functions
linearRegress
linearRegressBeta
linearRegressBetaBuf
linearRegressPenalized
loess1D
logistic
logisticRegress
logisticRegressBeta
logisticRegressPenalized
polyFit
polyFitBeta
polyFitBetaBuf
powMap
residuals
manifest constants
haveSvd
structs
LogisticRes
PolyFitRes
PowMap
RegressRes
Residuals
Forward Range for holding the residuals from a regression analysis.