Description Usage Arguments Details Value Examples
Computes the starting values for proportion, mean, and variance for optimization. The proportions pi are transformed to relative sizes.
1 |
data |
data frame containing cols y (positive outcome with zeros) and z (treatment). |
rand |
boolean controlling whether random adjusted starting mean values are produced. |
For the input data frame, column z is the dummy variable for treatment. If z = 1, then the observation has received treatment.
If z = 0, then the observation has not received treatment.
By allowing rand=TRUE, the optim() in mle_ls() can be started in multiple places, providing
random adj values while remaining within reasonable bounds.
starting values used for maximum-likelihood optimization.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.