Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: Calculating trendline in stata
From
Richard Goldstein <[email protected]>
To
[email protected]
Subject
Re: st: Calculating trendline in stata
Date
Wed, 23 Apr 2014 08:19:37 -0400
your question remains unclear; e.g., why not just use -regress-?
Rich
On 4/22/14, 5:29 PM, Tinofa Mutevedzi wrote:
> 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 <[email protected]> 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/