Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Mario Ferri
    replied
    Time varying regression
    Drifting coefficient regression
    Time varying stochastic volatility for panel data,

    In short stata should become competitive to Matlab and R packages.
    ​​

    Leave a comment:


  • Marcos Almeida
    replied
    Hamiltonian Monte Carlo directly with - bayes - prefix. Not with a Stan plug-in.

    Leave a comment:


  • Mario Ferri
    replied
    3D graphs

    Leave a comment:


  • Dirk Enzmann
    replied
    Improve the help description of -describe-. To avoid misunderstandings, instead of

    describe stores the following in r():

    Scalars
    r(N) number of observations
    r(k) number of variables
    r(width) width of dataset
    r(changed) flag indicating data have changed since last save
    it should be

    describe stores the following in r():

    Scalars
    r(N) number of observations of dataset
    r(k) number of variables of dataset
    r(width) width of dataset
    r(changed) flag indicating data have changed since last save

    Leave a comment:


  • Laura Grant
    replied
    I would like to see a -dowinmonth()- function within the datetime options. This would find the Nth day of a week in a month.

    Thus, for a long panel or time series, one could generate dummies for holidays, such as Thanksgiving or MLK day, that always fall on the Nth DOW of a month.

    Stata bcal allows to omit these through loading an .stbcal and using the command -omit dowinmonth 4th Th of Nov- (see -help datetime_business_calendars-), as a cumbersome workaround.

    Code (via Nick Cox), with variables mdate ddate for monthly and daily dates, can give an individual holiday
    Code:
    gen month = month(date) 
      bysort mdate (ddate): gen wanted = sum(dow(ddate) == 4) == 4 & month == 11
    I also figured it out using the _n function for each year-month-dow...

    It would be nice to see a simpler solution.

    Leave a comment:


  • John Mullahy
    replied
    Jumping onto #139 and #141, I would request that the scope, flexibility, and applicability for -cformat- be expanded.

    Leave a comment:


  • Yao Zhao
    replied
    frame copy default newframe1 newframe2

    Currently, I can only create one new frame at one time

    Leave a comment:


  • Leonardo Guizzetti
    replied
    Originally posted by Chris Martin View Post
    It would be very helpful to have a single command that outputs a correlation table in the standard publication format, i.e., two decimal places, stars for significance level. Doing this currently is quite complex, and I'm sometimes surprised that it's easier to run a three-level multilevel model with random effects (one line of code) than to get a publishable correlation table.
    What does a "publication quality" correlation table look like exactly? Is it point estimates only? Is it symmetric, upper triangular, lower triangular? Does it use listwise or casewise deletion? Are sample sizes published on a like below, beside, in brackets? There are many questions of substance and style that are open to interpretation, depending on ones own area of research. For this reason, it's hard to imagine a default that pleases everyone.

    What would be a big help would be for Stata's pwcorr and spearman commands to both output the same set of matrix results to help someone should they want to begin this project.

    Leave a comment:


  • Bruce Weaver
    replied
    Originally posted by Bruce Weaver View Post
    Please consider tweaking -nestreg- to make it work with factor variables. This would be a great improvement IMO. Thanks.
    I just notice that the update on 16-Oct-2019 included this item:

    Code:
         4.  nestreg now supports factor-variables notation.  The old behavior (that is, not
             allowing factor-variables notation) is preserved under version control.
    Thanks. This is great news.

    Leave a comment:


  • Chris Martin
    replied
    It would be very helpful to have a single command that outputs a correlation table in the standard publication format, i.e., two decimal places, stars for significance level. Doing this currently is quite complex, and I'm sometimes surprised that it's easier to run a three-level multilevel model with random effects (one line of code) than to get a publishable correlation table.

    Leave a comment:


  • Niels Henrik Bruun
    replied
    At #124 #125 #126. Have you tried -serset clear- just before twoway? Then you can have plenty of lines

    Leave a comment:


  • Clyde Schechter
    replied
    Re #135. Given the number of posts on Statalist with people asking for help in pulling together a large family of spreadsheets into a single Stata file, I do not doubt that this feature would be popular.

    I also do not doubt that it would be problematic. If you look at the posts where people ask for, and receive, help pulling a family of spreadsheets into Stata (which, yes, does involve -save-ing them as Stata files, or at least as tempfiles, along the way) you will also note that many of these threads continue on with requests for further help that results from inconsistencies and incompatibilities among the various spreadsheets. Those inconsistencies are better worked out in Stata than in the original spreadsheet files for two reasons: 1) Stata has better tools for fixing them, and 2) Stata leaves an audit trail of the changes made (assuming you are using a -log-, which, you should always do.) So there is a real advantage to having the Stata files saved along the way.

    Leave a comment:


  • wbuchanan
    replied
    Originally posted by Allan Massie View Post
    A simple UI improvement: I would love to see tabbed filename completion after do, use, using, and ls(and maybe other relevant commands/contexts).

    I know that in other contexts, tab completion is for variable names. But you'll never have a varlist after ls or do, and rarely after use (unless you're re-loading a subset of variables for the dataset already in memory).

    Tab completion of commands would also be pretty cool.

    This may be harder to work with existing syntax, but my dream would be unixlike command line shortcuts e.g. !$ to repeat the last argument from the previous command
    Allan Massie if you use a quotation mark you should be able to use tab completion for file names after it. I think it works that way primarily because files can be created with embedded spaces in the names.

    Leave a comment:


  • wbuchanan
    replied
    Originally posted by Oscar Ozfidan View Post
    One of my wishes is to have the ability to append non dta files like xlsx or csv without having to save it as dta file first. This functionality could be restricted to files that has the same variable list initially later be expanded. I really dont understand why an xlsx file needs to be imported and saved as dta to be able to append it. Perhaps the import command may be modified to bypass that step.
    Oscar Ozfidan I still need to do a bit more testing, but I've actually developed something specifically to address the specific need that you mentioned.

    Leave a comment:


  • Yao Zhao
    replied
    word clouds figure!

    Leave a comment:

Working...
X