Hello, I am attempting to the stteffects ipwra in order to study the effect of drug1 on time to death in a retrospective cohort with 10,000 patients (~5k per group).
stset deaddays_90, fail(dead_90==1)
stteffects ipwra ( i.age_cat preop_hbga1c i.insurance_type_simple i.smoking hx_chf hx_anemia i.hospital i.asacat3 dispo_simple i.proc_type_short healthyuser_pcp_last365_bin)(drug1 c.age##rx_insulin bmi female asa i.insurance_type_simple hx_pe hx_dvt hx_afib hx_copd hx_anemia hx_cad hx_oa hx_htn hx_cancer hx_asthma hx_gerd hx_depression hx_stroke hx_pvd hx_chf rx_betablocker rx_diuretic rx_ccb rx_statin rx_insulin preop_hbga1c rx_asa rx_coumadin rx_antiplt healthyuser_mamo_all healthyuser_pcp_last365_bin healthyuser_colonoscopy i.race) if fullcohort_rosey==1, vce(robust)
However, I believe I am having issues with convergence (I have been up to a thousand iterations w/o the EE criterion changing or getting an output).
Iteration 91: EE criterion = 1.368e-16 (not concave)
Iteration 92: EE criterion = 1.368e-16 (not concave)
Just looking at variables in logit or probit model, only requires 4 iterations. I have also tried taking out nearly all of the variables for bare-bones model testing and ma having the same problem.
stteffects ipwra (age preop_hbga1c )(drug1 age) if fullcohort_rosey ==1, vce(robust)
Any help or guidance would be greatly appreciated!!
Related Posts with iterations - stteffects ipwra
Generate a new variable adding observations of a different columnHello, I have the following dataset: Code: * Example generated by -dataex-. To install: ssc insta…
including a legend with labels in an overlay graphDear all, I would like to add to an overlay plot a legend, that gives for every color used the name…
Using moss to cut extremely long string variables in two (based on character position)Hello all, I am trying to import and clean a number of documents (imported into a dataset as a sing…
Write ado command with function defined on MataI am writing an ado file and I use structures like: program define XX, eclass myfunction() ereturn m…
Calculating Marginal EffectsDear all, I have had some trouble calculating one of the marginal effects of my regression. I am ru…
Subscribe to:
Post Comments (Atom)
I am having the same issue with my stteffects models. I have tried running the same model as just a teffects and there are no identified overlap violators and results were produced immediately. Did you reach a solution to your problem?
ReplyDelete