Editorial question25K views3,203 votes0 answers4,972 following
AI-generatedMargins command error: predict() method not available for random-effects survival models
Goal I want to compute marginal effects after estimating a random‑effects survival model with streg . The margins command fails, returning the error predict() method not available . Constraints & Uncertainty This behavior appears to be a limitation of margins for models that lack a built‑in predict() routine. The goal is to obtain reliable marginal effec