Package gov.nih.mipav.model.algorithms
Class WeibullDistribution.Analysis
- java.lang.Object
-
- gov.nih.mipav.model.algorithms.WeibullDistribution.Analysis
-
- Enclosing class:
- WeibullDistribution
class WeibullDistribution.Analysis extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description double[]
adj_ranks
java.lang.String
bcm
double
beta
double
beta_c4
double[]
beta_f_range
double
beta_hrbu
double
beta_init
double[]
beta_lrb
double
beta_np_bs
double
beta_p_bs
double[]
beta_range_init
java.lang.String
bounds
double[]
bounds_lower
java.lang.String
bounds_type
double[]
bounds_upper
int
bs_size
java.lang.String
censoring
double
cl
double
cl_lrb
double[]
df
double[]
ds
java.lang.String
est_type
double
eta
double
eta_c4
double[]
eta_f_range
double
eta_hrbu
double[]
eta_lrb
double
eta_np_bs
double
eta_p_bs
double[]
eta_range_init
double[][]
f_inv
double
k_a_bound
(package private) java.lang.String
path
(package private) java.lang.String
plot_title
(package private) double
pvalue
(package private) double
rvalue
boolean
save
double
se_beta
double
se_eta
boolean
show
double
sol_b
double
sol_eta
float
tmax_plot
float
tmin_plot
double[]
unrel
java.lang.String
x_label
java.lang.String
y_label
double[][]
z
-
Constructor Summary
Constructors Constructor Description Analysis(double[] df, double[] ds, java.lang.String bounds, java.lang.String bounds_type, java.lang.String bcm, int bs_size, java.lang.String est_type, double cl, boolean show, boolean save, java.lang.String x_label, java.lang.String y_label, java.lang.String plot_title, java.lang.String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
bb_bounds()
double[]
bernard(double[] adj_r, int n, double cl)
double
beta_init(double[] df, double[] ds)
WeibullDistribution.Pair<java.lang.Double,java.lang.Integer>[]
cen_index(double[] df, double[] ds)
void
fisher_bounds()
double[]
inverse_weibull(double[] perc, double beta, double eta)
double[][]
ll_full(double[][] beta_, double[][] eta, double[] df, double[] ds)
double
ll_full(double beta_, double eta, double[] df, double[] ds)
double[][]
ll_full_no_cens(double[][] beta_, double[][] eta, double[] df)
double
ll_full_no_cens(double beta_, double eta, double[] df)
void
lrb()
void
mcp_bounds()
double[]
median_rank(double cl)
double[]
median_rank_cens(double cl)
void
mle()
void
mrr()
private void
np_bootstrap(double[] beta_return, double[] eta_return, double[] sample, int bs_size, java.lang.String est_type)
void
npbb_bounds(java.lang.String method_call)
private void
p_bootstrap(double[] beta_return, double[] eta_return, double[] sample, int bs_size, java.lang.String est_type)
void
pb_bounds(java.lang.String method_call)
void
plot()
void
plot_mrr()
void
t_bounds_from_pars(double[] beta_, double[] eta, double[] unreliability)
double[]
unrel_func(double[] x_est, double beta_, double eta)
double[]
weibull_prob_paper(double[] x)
void
zerofinder(java.util.Vector<java.lang.Double> beta_pairs_lrb, java.util.Vector<java.lang.Double> eta_pairs_lrb, double[] b_init, double[] eta_init, double[][] z)
-
-
-
Field Detail
-
df
public double[] df
-
ds
public double[] ds
-
bounds
public java.lang.String bounds
-
bounds_type
public java.lang.String bounds_type
-
bcm
public java.lang.String bcm
-
bs_size
public int bs_size
-
est_type
public java.lang.String est_type
-
cl
public double cl
-
show
public boolean show
-
save
public boolean save
-
x_label
public java.lang.String x_label
-
y_label
public java.lang.String y_label
-
plot_title
java.lang.String plot_title
-
path
java.lang.String path
-
cl_lrb
public double cl_lrb
-
beta
public double beta
-
eta
public double eta
-
beta_c4
public double beta_c4
-
eta_c4
public double eta_c4
-
beta_hrbu
public double beta_hrbu
-
eta_hrbu
public double eta_hrbu
-
beta_np_bs
public double beta_np_bs
-
eta_np_bs
public double eta_np_bs
-
beta_p_bs
public double beta_p_bs
-
eta_p_bs
public double eta_p_bs
-
beta_init
public double beta_init
-
censoring
public java.lang.String censoring
-
k_a_bound
public double k_a_bound
-
f_inv
public double[][] f_inv
-
se_beta
public double se_beta
-
se_eta
public double se_eta
-
unrel
public double[] unrel
-
bounds_lower
public double[] bounds_lower
-
bounds_upper
public double[] bounds_upper
-
sol_b
public double sol_b
-
sol_eta
public double sol_eta
-
beta_f_range
public double[] beta_f_range
-
eta_f_range
public double[] eta_f_range
-
beta_range_init
public double[] beta_range_init
-
eta_range_init
public double[] eta_range_init
-
z
public double[][] z
-
beta_lrb
public double[] beta_lrb
-
eta_lrb
public double[] eta_lrb
-
tmin_plot
public float tmin_plot
-
tmax_plot
public float tmax_plot
-
adj_ranks
public double[] adj_ranks
-
rvalue
double rvalue
-
pvalue
double pvalue
-
-
Constructor Detail
-
Analysis
public Analysis(double[] df, double[] ds, java.lang.String bounds, java.lang.String bounds_type, java.lang.String bcm, int bs_size, java.lang.String est_type, double cl, boolean show, boolean save, java.lang.String x_label, java.lang.String y_label, java.lang.String plot_title, java.lang.String path)
-
-
Method Detail
-
mle
public void mle()
-
beta_init
public double beta_init(double[] df, double[] ds)
-
np_bootstrap
private void np_bootstrap(double[] beta_return, double[] eta_return, double[] sample, int bs_size, java.lang.String est_type)
-
p_bootstrap
private void p_bootstrap(double[] beta_return, double[] eta_return, double[] sample, int bs_size, java.lang.String est_type)
-
fisher_bounds
public void fisher_bounds()
-
lrb
public void lrb()
-
ll_full_no_cens
public double ll_full_no_cens(double beta_, double eta, double[] df)
-
ll_full_no_cens
public double[][] ll_full_no_cens(double[][] beta_, double[][] eta, double[] df)
-
ll_full
public double ll_full(double beta_, double eta, double[] df, double[] ds)
-
ll_full
public double[][] ll_full(double[][] beta_, double[][] eta, double[] df, double[] ds)
-
zerofinder
public void zerofinder(java.util.Vector<java.lang.Double> beta_pairs_lrb, java.util.Vector<java.lang.Double> eta_pairs_lrb, double[] b_init, double[] eta_init, double[][] z)
-
t_bounds_from_pars
public void t_bounds_from_pars(double[] beta_, double[] eta, double[] unreliability)
-
cen_index
public WeibullDistribution.Pair<java.lang.Double,java.lang.Integer>[] cen_index(double[] df, double[] ds)
-
npbb_bounds
public void npbb_bounds(java.lang.String method_call)
-
pb_bounds
public void pb_bounds(java.lang.String method_call)
-
weibull_prob_paper
public double[] weibull_prob_paper(double[] x)
-
unrel_func
public double[] unrel_func(double[] x_est, double beta_, double eta)
-
inverse_weibull
public double[] inverse_weibull(double[] perc, double beta, double eta)
-
plot
public void plot()
-
median_rank
public double[] median_rank(double cl)
-
bernard
public double[] bernard(double[] adj_r, int n, double cl)
-
median_rank_cens
public double[] median_rank_cens(double cl)
-
mrr
public void mrr()
-
bb_bounds
public void bb_bounds()
-
mcp_bounds
public void mcp_bounds()
-
plot_mrr
public void plot_mrr()
-
-