get_cat_mu: Categorical marginal estimation

View source: R/func_mean_est.R

get_cat_muR Documentation

Categorical marginal estimation

Description

Fit the mean of Gaussian-Max distribution for given frequency

Usage

get_cat_mu(
  freq_list,
  beta = 1000,
  n_MC = 5000,
  seed = 101,
  eps = 1e-04,
  verbose = FALSE,
  old = FALSE
)

Arguments

freq_list

A list of category frequency

beta

Constant in softmax computation

n_MC

Number of samples used to approximate the expectation of softmax

seed

random seed

eps

The largest accepted marginal estimation error

verbose

Whether to print progress information

old

Use previous formulation?


udellgroup/mixedgcImp documentation built on Jan. 25, 2023, 7:55 p.m.