cprobit_step1 {cprobit} | R Documentation |
Implements the Step 1 of the proposed workflow, where a cprobit model is applied to analyse whether there is an increase in the outcome within each subject.
cprobit_step1(y_name, x_names, dat_diff, var_names = NULL)
y_name |
Name of outcome variable for Step 1. |
x_names |
Names of covariates for Step 1. |
dat_diff |
A |
var_names |
Variable names for the estimates. |
Returns a data.frame
summarising the Step 1 estimates
(coef
) and the covariance matrix for the Step 1 estimates (vcov
).