-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdesign.plantuml
47 lines (47 loc) · 1.38 KB
/
design.plantuml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
@startuml
interface Rn1_statistic {
+ {abstract} double calc_statistic(Rn1)
}
Rn1_statistic <|-- Rn1_KS
Rn1_statistic <|-- Rn1_CvM
interface GOF_model_simulator {
+ {abstract} resample_y(model)
}
GOF_model_simulator <|-- GOF_lm_sim_param
GOF_model_simulator <|-- GOF_sim_wild_rademacher
GOF_model_simulator <|-- GOF_glm_sim_param
interface GOF_model_trainer {
+ {abstract} refit(model, data)
}
GOF_model_trainer <|-- GOF_lm_trainer
GOF_model_trainer <|-- GOF_glm_trainer
interface GOF_model_info_extractor {
+ {abstract} double[] yhat(model)
+ {abstract} double[] y_minus_yhat(model)
+ {abstract} double[] beta_x_covariates(model)
}
GOF_model_info_extractor <|-- GOF_lm_info_extractor
GOF_model_info_extractor <|-- GOF_glm_info_extractor
GOF_model_info_extractor *-- GOF_sim_wild_rademacher
abstract class GOF_model_resample {
- GOF_model_simulator
- GOF_model_trainer
+ resample()
}
GOF_model_resample *-- GOF_model_simulator
GOF_model_resample *-- GOF_model_trainer
class GOF_model_test {
- GOF_model_info_exctractor
- GOF_model_resample_skeleton RSS
- Rn1_statistic Rn1_stat
- double[] Rn1_org
- double[] Rn1_boot
- double[] Rn1(y_minus_yhat, order_beta_x_covariates)
+ get_Rn1_org()
+ get_Rn1_boot()
+ get_pvalue()
}
GOF_model_test *-- GOF_model_info_extractor
GOF_model_test *-- GOF_model_resample
GOF_model_test *-- Rn1_statistic
@enduml