simu_data_sparse: The simulation function for validating CSMR algorithm.

simu_data_sparseR Documentation

The simulation function for validating CSMR algorithm.

Description

The simulation function for validating CSMR algorithm.

Usage

simu_data_sparse(n, bet, pr, sigma)

Arguments

n

Objective number.

bet

Coefficient matrix.

pr

Probability for the objective mixtured in all samples.

sigma

The noise level.

Value

A list object consist of simulated data with ground truth.


zcslab/CSMR documentation built on Jan. 12, 2023, 7:39 a.m.