-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrandom-testing-ag.do
More file actions
executable file
·41 lines (30 loc) · 1.44 KB
/
random-testing-ag.do
File metadata and controls
executable file
·41 lines (30 loc) · 1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
clear all
cd "~/Stata-dev/stdmest"
//
clear all
webuse jobhistory
gen tt = tend - tstart
stset tt, fail(failure)
//
mestreg education njobs prestige female || birthyear: || id:, distribution(exponential) startgrid intpoints(15)
estimates store m_exp_ph
mestreg education njobs prestige female || birthyear: || id:, distribution(exponential) time startgrid intpoints(15)
estimates store m_exp_aft
mestreg education njobs prestige female || birthyear: || id:, distribution(weibull) startgrid intpoints(15)
estimates store m_wei_ph
mestreg education njobs prestige female || birthyear: || id:, distribution(weibull) time startgrid intpoints(15)
estimates store m_wei_aft
mestreg education njobs prestige female || birthyear: || id:, distribution(loglogistic) startgrid intpoints(15)
estimates store m_ll_aft
mestreg education njobs prestige female || birthyear: || id:, distribution(lognormal) startgrid intpoints(15)
estimates store m_ln_aft
stmixed education njobs prestige female || birthyear: || id:, distribution(exponential) intpoints(15)
estimates store s_exp_ph
stmixed education njobs prestige female || birthyear: || id:, distribution(weibull) intpoints(15)
estimates store s_wei_ph
stmixed education njobs prestige female || birthyear: || id:, distribution(rp) df(3) intpoints(15)
estimates store s_rp3_ph
stmixed education njobs prestige female || birthyear: || id:, distribution(rp) df(5) intpoints(15)
estimates store s_rp5_ph
//
estimates stats m_* s_*