public class Linear1.Est extends UPFunctionModel.Est
prior(a,b,σ)
by
overriding it in a subclass of Est.Function.Native.WithInverse
Function.Cts2Cts, Function.Cts2Cts2Cts, Function.CtsD2CtsD, Function.HasInverse, Function.Native, Function.Native2, Function.Native3
Value.Atomic, Value.Bool, Value.Char, Value.Chars, Value.Cts, Value.Defer, Value.Discrete, Value.Enum, Value.Inc_Or, Value.Int, Value.Lambda, Value.List, Value.Maybe, Value.Option, Value.Real, Value.Scannable, Value.Structured, Value.Triv, Value.Tuple
Modifier and Type | Field and Description |
---|---|
double |
bMax
Bounds on 'b';
prior , pr(b) is uniform. |
double |
bMin
Bounds on 'b';
prior , pr(b) is uniform. |
protected double |
k3
|
protected double |
R_b
bMax-bMin and log(sigmaMax)-Math.log(sigmaMin) resp.
|
protected double |
R_s
bMax-bMin and log(sigmaMax)-Math.log(sigmaMin) resp.
|
double |
sigmaMax
Bounds on σ;
prior ,
|
double |
sigmaMin
Bounds on σ;
prior ,
|
Constructor and Description |
---|
Est(Value ps)
Parameter ps = 〈bMin, bMax, sigmaMin, sigmaMax〉.
|
Modifier and Type | Method and Description |
---|---|
double |
logF(double N,
double sigma,
double x2bar,
double xbar)
The log of the Fisher information from N, σ,
mean(xi2), and mean(xi).
|
double |
nlPrior(double a,
double b,
double sigma)
The negative log prior on
|
Linear1.M |
ss2Model(Value ss)
|
ds2FunctionModel, ds2Model, ss2FunctionModel
defnParams, sp2Model, stats, stats, toString
apply, asUPModel, ds2Model, ds2ModelSp, ss2ModelSp, stats, stats
public final double bMin
prior
, pr(b) is uniform.public final double bMax
prior
, pr(b) is uniform.public final double sigmaMin
prior
,
public final double sigmaMax
prior
,
protected double R_b
protected double R_s
protected double k3
public Est(Value ps)
public double nlPrior(double a, double b, double sigma)
public double logF(double N, double sigma, double x2bar, double xbar)
public Linear1.M ss2Model(Value ss)
ss2Model
in class UPFunctionModel.Est