Hello there
I'm trying to make a nice table for my logistic regression results using putexcel command but I couldn't find the scalars I need. The framework would be Odds ratio, 95% Confidence intervals and p-value.
Now I ran the command:
logit top i.gest_c, base level(95)
and then ereturn list:
scalars:
e(rank) = 2
e(N) = 1474
e(ic) = 4
e(k) = 3
e(k_eq) = 1
e(k_dv) = 1
e(converged) = 1
e(rc) = 0
e(ll) = -889.8136445574683
e(k_eq_model) = 1
e(ll_0) = -922.7348412688314
e(df_m) = 1
e(chi2) = 65.84239342272622
e(p) = 4.88461896337e-16
e(N_cdf) = 0
e(N_cds) = 0
e(r2_p) = .0356778515766175
macros:
e(cmdline) : "logit top i.gest_c, base level(95)"
e(cmd) : "logit"
e(estat_cmd) : "logit_estat"
e(predict) : "logit_p"
e(marginsok) : "default Pr"
e(marginsnotok) : "stdp DBeta DEviance DX2 DDeviance Hat Number Residuals RStandard SCore"
e(title) : "Logistic regression"
e(chi2type) : "LR"
e(opt) : "moptimize"
e(vce) : "oim"
e(user) : "mopt__logit_d2()"
e(ml_method) : "d2"
e(technique) : "nr"
e(which) : "max"
e(depvar) : "top"
e(properties) : "b V"
matrices:
e(b) : 1 x 3
e(V) : 3 x 3
e(Cns) : 1 x 4
e(mns) : 1 x 3
e(rules) : 1 x 4
e(ilog) : 1 x 20
e(gradient) : 1 x 3
I couldn't fine what I need to export the results
thanks
Related Posts with Putexcel command for logistic regression
Identify weekdays for the high and low points in time series analysisDear all, I have a question about how to identify the weekday of the high and low points in time se…
Model Selection for Categorical dataHi, I have a trouble fitting a model for a categorical data. My dependent variable recorded by a t …
xline and text on top of twoway area plotI use Code: twoway (area y1 y2 year) to create a plot and want to include a dashed vertical line on…
How to generate i*j by forvalues?If year=1,2,3,4; and prov=1,2,3,4,5,6,7. So how to calculate i*j, thanks a lot! I run this,but it is…
Recode date into consecutive days from first dateHi there, I am trying to generate a new variable (called daynumber) that recodes a date (currently …
Subscribe to:
Post Comments (Atom)
0 Response to Putexcel command for logistic regression
Post a Comment