Thank you Sven,
What does the $yhat mean actually?
PG
*Periklis Gogas
<
http://www.econ.duth.gr/personel/dep/gkogkas/index.en.shtml>*
Associate Professor
of Economic Analysis and International Economics
Department of Economics, Democritus University of Thrace
Associate Editor - Journal of Economic Asymmetries
<
https://www.journals.elsevier.com/the-journal-of-economic-asymmetries/>
Euro Area Business Cycle Network - Fellow
<
http://www.eabcn.org/person/periklis-gogas>
The Rimini Centre for Economic Analysis - Fellow
<
http://www.rcfea.org/component/option,com_frontpage/Itemid,1/>
The Society for Economic Measurement - Member
<
http://sem.society.cmu.edu/home.html>
Institute for Nonlinear Dynamical Inference (INDI) - Charter Fellow
<
http://icemr.ru/institute-for-nonlinear-dynamical-inference/>
On Sun, Apr 7, 2019 at 8:14 PM Sven Schreiber <svetosch(a)gmx.net> wrote:
Am 07.04.2019 um 17:17 schrieb Periklis Gogas:
> Thanks a lot! I will try that!
> On Sun, Apr 7, 2019 at 4:19 PM Allin Cottrell <cottrell(a)wfu.edu
> <mailto:cottrell@wfu.edu>> wrote:
>
> On Sun, 7 Apr 2019, Periklis Gogas wrote:
>
> > Hello all!
> >
> > Can we set the threshold to alternative values than 0.50 in Logit
> models?
> > If not, it would have been a nice addition if it is easy.
> > One step (or many more complex) would be to produce results for
> i.e. 10
> > alternative levels and also the corresponding ROC curve.
>
> Try Peter Summers' "roc" function package. If you're
unfamiliar with
> such packages see /Help/Packages.
Maybe this is redundant, but let me just add that the $yhat accessor
after logit contains the predicted probability, not a binary 0-1
outcome. So a user may map these probabilities to 0-1 with any threshold
she chooses.
(For example like: series y01 = ($yhat > 0.3))
cheers
sven
_______________________________________________
Gretl-users mailing list
Gretl-users(a)lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users