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
Parameters in assert command must be positiveHello, I am using the assert command in a program that I wrote and I get the error message indicati…
R squared of fixed effects model too highHello everybody, thank you for your time and effort in advance! I really appreciate it! I have some…
Cleaning Data Problemhello, everyone I have this problem: I have a variable x1 string and I have x2 byte...I need to cre…
Missing ValuesHello, everybody. There is a way to apply: drop if missing(var) when you have more than one variabl…
Error r(430) when including lagged DV in XTMIXEDI am trying to run an HLM model in which monthly brand sales is my dependent variable. The model run…
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