update_estimate {cprobit}  R Documentation 
Inpernal function: update Step 1 estimates to obtain linear exposure effect on (transformed) outcome
update_estimate(
y1_name,
y2_name,
var_names = NULL,
dat_diff,
res_step1,
transform = FALSE
)
y1_name 
Name of observed outcome at observation time 1. 
y2_name 
Name of observed outcome at observation time 2. 
var_names 
Variable names for the estimates. 
dat_diff 
A 
res_step1 
Results from Step 1 of the workflow. 
transform 
Whether the outcome should be transformed. Default is

Returns a list
: a data.frame
summarising the estimated
linear exposure effect, the estimated standard deviation of the error terms
from the difference model, the covariance matrix of the estimated exposure
effects, a data.frame
summarising the estimated transforamtion
parameter, and the residuals.