profile_llh {cprobit}R Documentation

Inpernal function: profile log-likelihood of lambda

Description

Inpernal function: profile log-likelihood of lambda

Usage

profile_llh(lambda, beta_c, y1, y2, design_mat_diff)

Arguments

lambda

The Box-Cox transformation parameter. Default is NA, indicating no need for a transformation. See Details.

beta_c

Numeric vector of Step 1 estimates.

y1

Numeric vector of the observed outcome at observation time 1.

y2

Numeric vector of the observed outcome at observation time 2.

design_mat_diff

Numeric matrix of the design matrix for difference.

Value

Returns the profile log likelihood (not the negative value).


[Package cprobit version 1.0.2 Index]