Man pages for genscore
Generalized Score Matching Estimators

AUCCalculates the AUC of an ROC curve.
avgrocsTakes the vertical average of ROC curves.
beautify_ruleReplaces consecutive "&"s and "|"s in a string to a single &...
binarySearch_binFinds the index of the bin a number belongs to using binary...
calc_critCalculates penalized or unpenalized loss in K and eta given...
check_endpointsChecks if two equally sized numeric vectors satisfy the...
compare_two_resultsCompares two lists returned from estimate().
compare_two_sub_resultsCompares two lists returned from get_results().
cov_consRandom generator of inverse covariance matrices.
crbound_muThe Cram\'er-Rao lower bound (times 'n') for estimating the...
crbound_sigmaThe Cram\'er-Rao lower bound (times 'n') for estimating the...
diff_listsComputes the sum of absolute differences between two lists.
diff_vecsComputes the sum of absolute differences in the finite...
domain_for_CReturns a list to be passed to C that represents the domain.
eBICeBIC score with or without refitting.
estimateThe main function for the generalized score-matching...
find_max_indFinds the max index in a vector that does not exceed a target...
frac_powEvaluate x^(a/b) and |x|^(a/b) with integer a and b with...
gcdFinds the greatest (positive) common divisor of two integers.
genRandom data generator from general 'a'-'b' distributions with...
get_crit_nopenaltyMinimized loss for unpenalized restricted asymmetric models.
get_distFinds the distance of each element in a matrix x to the its...
get_eltsThe function wrapper to get the elements necessary for...
get_elts_abThe R implementation to get the elements necessary for...
get_elts_expThe R implementation to get the elements necessary for...
get_elts_gammaThe R implementation to get the elements necessary for...
get_elts_gaussThe R implementation to get the elements necessary for...
get_elts_loglogThe R implementation to get the elements necessary for...
get_elts_loglog_simplexThe R implementation to get the elements necessary for...
get_elts_trun_gaussThe R implementation to get the elements necessary for...
get_g0Calculates the l2 distance to the boundary of the domain and...
get_g0_adaAdaptively truncates the l2 distance to the boundary of the...
get_h_hpGenerator of h and hp (derivative of h) functions.
get_h_hp_adaptiveGenerator of adaptive h and hp (derivative of h) functions.
get_h_hp_vectorGenerator of h and hp (derivative of h) functions.
get_postfix_ruleChanges a logical expression in infix notation to postfix...
get_resultsEstimate K and eta using elts from 'get_elts()' given one...
get_safe_log_h_hpAsymptotic log of 'h' and 'hp' functions for large 'x' for...
get_trunThe truncation point for 'h' for 'h' that is truncated...
h_of_distFinds the distance of each element in a matrix x to the its...
in_boundReturns whether a vector or each row of a matrix falls inside...
interval_intersectionFinds the intersection between two unions of intervals.
interval_unionFinds the union between two unions of intervals.
lambda_maxAnalytic solution for the minimum lambda_K that gives the...
makecoprimeMakes two integers coprime.
make_domainCreates a list of elements that defines the domain for a...
make_foldsHelper function for making fold IDs for cross validation.
mu_sigmasqhatEstimates the mu and sigma squared parameters from a...
naiveSearch_binFinds the index of the bin a number belongs to using naive...
parse_abParses an ab setting into rational numbers a and b.
parse_ineqParses an ineq expression into a list of elements that...
random_init_polynomialRandomly generate an initial point in the domain defined by a...
random_init_simplexGenerates a random point in the (p-1)-simplex.
random_init_uniformGenerates random numbers from a finite union of intervals.
ran_matRandom generator of matrices with given eigenvalues.
read_exponentParses the exponent part into power_numer and power_denom.
read_exponentialParses the integer coefficient in an exponential term.
read_one_termParses the first term of a non-uniform expression.
read_uniform_termAttempts to parse a single term in x into power_numer and...
refitLoss for a refitted (restricted) unpenalized model
rexp_truncatedGenerates translated and truncated exponential variables.
rlaplace_truncatedGenerates laplace variables truncated to a finite union of...
rlaplace_truncated_centeredGenerates centered laplace variables with scale 1.
s_atReturns the character at a position of a string.
search_binFinds the index of the bin a number belongs to.
s_outputHelper function for outputting if verbose.
test_lambda_boundsSearches for a tight bound for lambda_K that gives the empty...
test_lambda_bounds2Searches for a tight bound for lambda_K that gives the empty...
tp_fpCalculates the true and false positive rates given the...
update_finite_infinity_for_uniformMaximum between finite_infinity and 10 times the max abs...
varhatAsymptotic variance (times 'n') of the estimator for 'mu' or...
genscore documentation built on May 29, 2024, 9 a.m.