get_intercept: Estimate intercept

Description Usage Arguments Value

View source: R/data_generation_utils.R

Description

Estimate intercept

Usage

1
2
3
4
5
6
7
8
9
get_intercept(
  n_iter,
  sample_size,
  n_covariates,
  n_normal,
  cov_mat,
  alpha,
  target_mean
)

Arguments

n_iter

number of iterations

sample_size

sample size

n_covariates

number of covariates

n_normal

number of normal covariates

cov_mat

correlation matrix

alpha

coefficient vector

target_mean

intended population mean

Value

estimate for intercept


annloh/austin2011 documentation built on Aug. 22, 2020, 12:13 a.m.