Property

NumCosmoMathStatsDist:auto-kernel

Declaration

property auto-kernel: gboolean [ read, write, construct ]

Description [src]

Whether the kernel is chosen together with the over-smooth factor, by the same objective. It applies to every NcmStatsDist:CV-type except

NCM_STATS_DIST_CV_NONE, which fits nothing. The kernel must be the

NcmStatsDistKernelST the object was built with; any other kernel aborts at prepare. Its degrees of freedom $\nu$ are fitted in place, jointly with the over-smooth factor, over $\nu \in [\nu_\mathrm{min}, 10^4]$, with $\nu_\mathrm{min} = 2.5$ when NcmStatsDist:center-shrink is set and $1$ otherwise. At $\nu = 10^4$ the log-density differs from the Gaussian kernel’s by about $[(\chi^2 - d)^2 - 2d] / (4\nu)$: over the central 99.8% of $\chi^2$, from $2 \times 10^{-3}$ at $d = 1$ to $6 \times 10^{-2}$ at $d = 100$. Default: FALSE.

Type:gboolean

Default valueFALSE
Getter methodncm_stats_dist_get_auto_kernel()
Setter methodncm_stats_dist_set_auto_kernel()

Flags

Readableyes
Writableyes
Constructyes
Construct onlyno