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: Features for Stata 14
From
Phil Clayton <[email protected]>
To
[email protected]
Subject
Re: st: Features for Stata 14
Date
Wed, 4 Sep 2013 16:50:02 +1000
Basic example similar to the graph you mentioned:
sysuse auto, clear
collapse (mean) length displacement, by(rep78)
twoway bar length rep78 || bar displacement rep78, yaxis(2) barwidth(0.2)
Phil
On 04/09/2013, at 4:33 PM, Yuval Arbel <[email protected]> wrote:
> I would also like to have a possibility to make a graph of two
> variables at the same time, where the left and right vertical axes
> have different scale. This is possible in advanced versions of excel -
> but not in Stata (at least to the best of my knowledge).
>
> One example of such a graph is given on page 36 after you download the
> working paper from the following link:
>
> http://papers.ssrn.com/sol3/papers.cfm?abstract_id=1973326
>
> Actually, I would even like the possibility to improve this graph - so
> that the bars will appear one adjacent to the other
>
> On Tue, Sep 3, 2013 at 4:33 PM, Phil Clayton
> <[email protected]> wrote:
>> You can do those things with the user-written -mmerge- (SSC), but I agree it would be nice if the official -merge- supported those features (and in any case -mmerge- implements them using tempfiles and preserve/restore, so it's not very fast for large datasets).
>>
>> Phil
>>
>> On 04/09/2013, at 7:10 AM, László Sándor <[email protected]> wrote:
>>
>>> More on the renaming-without-opening issue: maybe it is even more
>>> prudent if the merge allows us to specify how the identifiers are
>>> called in the master and the using data separately.
>>>
>>> That would even let us do some neat things like merging in parental
>>> info to the kids' records easily. (i.e. where the id is the "parentID"
>>> variable in master but "ownID" variable in using). For such cases it
>>> could even be useful if Stata allowed the quick renaming of variables
>>> merged in, e.g. adding a parent_ prefix to the stubs.
>>>
>>> On Tue, Sep 3, 2013 at 3:44 PM, Jeph Herrin <[email protected]> wrote:
>>>> I have four PCs running Stata, and this has been true for versions
>>>> 10,11,12,13 at least on all of them.
>>>>
>>>> To be clear, if I select from the results window and right click/copy, it
>>>> works to paste that without any problem. The issue is that if I select,
>>>> copy, then (say) open a Word document and maybe use the clipboard, then go
>>>> back to Stata, the selection can no longer be copied to the clipboard,
>>>> regardless of whether I right click, select Edit/Copy or use the hot button
>>>> my mouse. I have to kill the selection, reselect, then copy.
>>>>
>>>> I do a lot of sharing of results via Word and Excel files, so I hit this
>>>> several times a day.
>>>>
>>>> J
>>>>
>>>>
>>>>
>>>> On 9/3/2013 2:26 PM, James Fiedler wrote:
>>>>>
>>>>> Hmm, that's strange. Right click and copy works for me. I tried it
>>>>> just now with both Stata 12.1 and Stata 13, on Windows 7. This might
>>>>> be a problem with your installation.
>>>>>
>>>>> James
>>>>>
>>>>>
>>>>> On Tue, Sep 3, 2013 at 12:55 PM, Jeph Herrin <[email protected]> wrote:
>>>>>>
>>>>>> James,
>>>>>>
>>>>>> Thanks for the suggestions but a) it's not a focus issue - even
>>>>>> right-click/copy will not work
>>>>>> - and b) I have workarounds, what I want is the expected behaviour to
>>>>>> obtain.
>>>>>>
>>>>>> cheers,
>>>>>> Jeph
>>>>>>
>>>>>>
>>>>>>
>>>>>> On 9/3/2013 1:27 PM, James Fiedler wrote:
>>>>>>>
>>>>>>>
>>>>>>> Jeph,
>>>>>>>
>>>>>>> I think the problem in #1 is all about where the focus goes when you
>>>>>>> return to Stata, and by default, the Command window gets the focus. If
>>>>>>> you re-focus on Stata by clicking on the Stata title bar, then try to
>>>>>>> copy with Ctrl-C, the Ctrl-C is interpreted as an attempt to copy from
>>>>>>> the Command window.
>>>>>>>
>>>>>>> I'm assuming you're trying to copy from the Results window. Here are a
>>>>>>> couple workarounds:
>>>>>>> a) You can right click on the selection, and choose copy.
>>>>>>> b) When you come back to Stata, click on the scroll bar next to the
>>>>>>> Results window. This will put focus on the Results window without
>>>>>>> removing the selection, and Ctrl-C will copy from there.
>>>>>>> c) You can use Ctrl-Tab to move the focus within Stata.
>>>>>>>
>>>>>>> Maybe there is a simple solution that could be put into the software,
>>>>>>> but I would bet not.
>>>>>>>
>>>>>>>
>>>>>>> James
>>>>>>>
>>>>>>> On Tue, Sep 3, 2013 at 11:06 AM, Jeph Herrin <[email protected]> wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>> These are interface nusiances I encounter almost everyday:
>>>>>>>>
>>>>>>>> 1. The Copy functionality on the results window is not very robust,
>>>>>>>> at least in Windows. I find that if I make a selection and then
>>>>>>>> go do something else, I can't come back to the window and
>>>>>>>> successfully
>>>>>>>> copy that selection to the clipboard. I have to reselect it, then
>>>>>>>> copy it. This has been true for as many versions as I can recall.
>>>>>>>>
>>>>>>>> 2. The many inbuilt functions of Stata do not use the same column tabs
>>>>>>>> for
>>>>>>>> output. For instance,
>>>>>>>>
>>>>>>>> tab x y
>>>>>>>> tab z y
>>>>>>>>
>>>>>>>> may give two tables that have different alignments, so that if I
>>>>>>>> want
>>>>>>>> to
>>>>>>>> copy/paste/convert to table, I have to do each separately. And
>>>>>>>> ideally
>>>>>>>> there would be some default or option for regression output,
>>>>>>>> tabulations,
>>>>>>>> etc that would produce a common set of tabs.
>>>>>>>>
>>>>>>>> Jeph
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On 9/2/2013 11:00 AM, William Buchanan wrote:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Since it is still fairly early in the development cycle for the next
>>>>>>>>> release of Stata, I thought it might be good to start a thread about
>>>>>>>>> things
>>>>>>>>> that people would like to see added to the next release.
>>>>>>>>>
>>>>>>>>> I would definitely be interested in seeing some updates/expansions to
>>>>>>>>> the
>>>>>>>>> graphics capabilities of Stata. Alpha level blending is something
>>>>>>>>> that
>>>>>>>>> has
>>>>>>>>> come up several times and adding interactive graphics would be a great
>>>>>>>>> addition to the existing commands (e.g., functionality that is common
>>>>>>>>> in
>>>>>>>>> Tableau and several packages in R).
>>>>>>>>>
>>>>>>>>> Documentation of the lower level graphics commands to make it easier
>>>>>>>>> for
>>>>>>>>> users to extend the graphics capabilities.
>>>>>>>>>
>>>>>>>>> Latent Class Analysis and Latent Transition Analysis with support for
>>>>>>>>> all
>>>>>>>>> types of manifest variables.
>>>>>>>>>
>>>>>>>>> Multivariate mixed-effects models
>>>>>>>>>
>>>>>>>>> Exploratory Factor Analysis with nominal/ordinal/non-normal variables
>>>>>>>>>
>>>>>>>>> Improved debugging tools (e.g., stepwise evaluator for programs, more
>>>>>>>>> informative error messages, etc...)
>>>>>>>>>
>>>>>>>>> New ways to generate samples of data with specified correlation
>>>>>>>>> structures/distributions
>>>>>>>>>
>>>>>>>>> I'm curious to see what other people have to say on this topic as
>>>>>>>>> well.
>>>>>>>>>
>>>>>>>>> Billy
>>>>>>>>>
>>>>>>>>> Sent from my iPhone
>>>>>>>>> *
>>>>>>>>> * 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/
>>>>>>>
>>>>>>>
>>>>>>> *
>>>>>>> * 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/
>>>>>
>>>>> *
>>>>> * 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/
>>> *
>>> * 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/
>
>
>
> --
> Dr. Yuval Arbel
> School of Business
> Carmel Academic Center
> 4 Shaar Palmer Street,
> Haifa 33031, Israel
> e-mail1: [email protected]
> e-mail2: [email protected]
> You can access my latest paper on SSRN at: http://ssrn.com/abstract=2263398
> You can access previous papers on SSRN at: http://ssrn.com/author=1313670
>
> *
> * 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/