List available parameters
Usage
list_parameters(model, ...)
# S3 method for class 'BinRW'
list_parameters(model, main = TRUE, ...)
# S3 method for class 'BinMC'
list_parameters(model, main = TRUE, ...)Value
Named list of parameters names, grouped into broad categories:
Population: population parameters (i.e. patient- and time-independent)Patient: patient-dependent parametersPatientTime: patient- and time-dependent parameters (e.g. latent scores)Test: parameters related to the test setMisc: other parameters
Details
See MC, BinRW, BinMC, OrderedRW, RW, Smoothing, AR1 and MixedAR1 for details about the model-specific parameters. Other parameters are available across models:
y_repcorrespond to posterior replications. To get the corresponding index, useget_index().y_predis a subset of y_rep corresponding to test samples (sizeN_testequal to the number of observations in the test set).lpdis the log predictive density of test samples (of sizeN_test).cum_erris the cumulative error distribution, only available for discrete outcomes (matrix with dimensionsN_test * (max_score + 1)).
Examples
list_parameters("RW")
#> $Population
#> [1] "sigma"
#>
#> $PatientTime
#> [1] "y_rep"
#>
#> $Test
#> [1] "y_pred" "lpd"
#>
#> $Misc
#> [1] "y_mis"
#>
list_parameters(EczemaModel("RW", max_score = 100))
#> $Population
#> [1] "sigma"
#>
#> $PatientTime
#> [1] "y_rep"
#>
#> $Test
#> [1] "y_pred" "lpd"
#>
#> $Misc
#> [1] "y_mis"
#>
list_parameters(EczemaModel("BinRW", max_score = 100))
#> $Population
#> [1] "sigma" "mu_logit_y0" "sigma_logit_y0"
#>
#> $Patient
#> [1] "logit_y0"
#>
#> $PatientTime
#> [1] "y_lat" "y_rep"
#>
#> $Observation
#> [1] "log_lik"
#>
#> $Test
#> [1] "y_pred" "lpd" "cum_err"
#>
list_parameters(EczemaModel("BinMC", max_score = 100))
#> $Population
#> [1] "mu_logit_p10" "sigma_logit_p10" "sigma"
#>
#> $Patient
#> [1] "p10"
#>
#> $PatientTime
#> [1] "p01" "lambda" "ss1" "y_lat" "y_rep"
#>
#> $Test
#> [1] "y_pred" "lpd" "cum_err"
#>