Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Tinofa Mutevedzi <tinofamutevedzi@gmail.com> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: Calculating trendline in stata |
Date | Tue, 22 Apr 2014 23:29:07 +0200 |
Dear Richard, thank you. But your explanation only works for proportions. What if I want a trendline for means? On 7 March 2014 16:54, Richard Goldstein <richgold@ix.netcom.com> wrote: > it is not at all clear what your question is; this is a very simple, and > limited, command taking 3 arguments and no options: the first argument > is a variable with the number of positives (e.g., events) and the second > is the number of negatives (so their sum is the total number of tries) > and third is the x variable for the regression > > if this setup does not match your data then you probably want a > different command (e.g., -logistic- or -glogit- or -blogit-) > > Rich > > On 3/7/14, 9:42 AM, Tinofa Mutevedzi wrote: >> >> Could someone please help me with the command for ptrend from a module >> by Patrick Royston. >> >> regards, >> >> Tinofa Mutevedzi > * > * For searches and help try: > * http://www.stata.com/help.cgi?search > * http://www.stata.com/support/faqs/resources/statalist-faq/ > * http://www.ats.ucla.edu/stat/stata/ * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/faqs/resources/statalist-faq/ * http://www.ats.ucla.edu/stat/stata/