Faster random slope models. Currently -mixed- and -meglm- are unacceptably slow, and often do not converge at all, when fitting random slope models to moderately large datasets.
-
Login or Register
- Log in with
V1 | V2 | V3 | alpha , generate() | Normal (IMO) approach |
1 | 1 | 7 | -1.7 | 1 |
3 | 3 | 5 | 0.3 | 3 |
3 | 3 | . | 3 | 3 |
******************************************************************************** * Author: * Date created: * Filename: * Description: * Prerequisite steps: * ******************************************************************************** * Change Log: * * 08/04/2022 Created File * ******************************************************************************** * Initialization ******************************************************************************** discard clear clear mata clear all estimates clear snapshot erase _all ******************************************************************************** * Logs ******************************************************************************** capture cd "\Stata Logs\" local datetime_string : display %tc_CCYYNNDD_HHMMSS clock(c(current_date) + c(current_time), "DMYhms") local datetime_string = subinstr("`datetime_string'", " ", "", .) capture log close log using "__`datetime_string'.txt", replace text ********************************************************************************
set graphics off twoway scatter y x graph export mygraph.ext, replace // .ext could be .pdf, .png, etc
Comment