This estimates the location-scale model as described in Heagerty and Pepe (1999) using the Newton-Raphson method. The location and scale formulas must have the same outcome, but they may have different predictors.
sp_locscale(formula.location, formula.scale, data, weights, tol = 1e-06,
maxit = 100)
Formula specifying the model for the location
Formula specifying the model for the scale
Data used to estimate the model
Weights applied to the estimating equations
Convergence tolerance
Maximum number of iterations
A list containing the parameter estimates, the convergence indicator, and residuals