Announcement

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

  • Export table from fre to Word, Excel, LaTeX, HTML with asdocx

    For asdocx users and others who might be interested in fre and asdocx.

    asdocx with fre

    fre is a community-contributed package written by Ben Jann. It generates univariate frequency tables for specified variables, including counts, overall percent, percent based on non-missing observations, and cumulative percent. In response to requests from users of the asdocx, support for fre has been added to asdocx. A slightly modified version of fre is available on the asdocx website, which is automatically downloaded when a user first uses fre with asdocx. The modification is done to extract only the output matrix from fre and send it to asdocx, no other changes are made. Using fre with asdocx is simple; simply add ‘asdocx’ as a prefix to the fre command. Here is an example of using fre with asdocx.

    Code:
    * Load auto dataset
     sysuse auto , clear
     asdocx fre foreign
    Click image for larger version

Name:	Capture.PNG
Views:	1
Size:	16.3 KB
ID:	1698327




    You may like to visit this page for more details and examples.
    Last edited by Attaullah Shah; 23 Jan 2023, 09:13.
    Regards
    --------------------------------------------------
    Attaullah Shah, PhD.
    Professor of Finance, Institute of Management Sciences Peshawar, Pakistan
    FinTechProfessor.com
    https://asdocx.com
    Check out my asdoc program, which sends outputs to MS Word.
    For more flexibility, consider using asdocx which can send Stata outputs to MS Word, Excel, LaTeX, or HTML.

  • #2
    A slightly modified version of fre is available on the asdocx website, which is automatically downloaded when a user first uses fre with asdocx.
    I couldn't find that download on https://fintechprofessor.com/asdocx/ so I will ask the following question. Is the modified version of fre also named fre.ado, replacing any copy of the original version from Ben Jann ?

    Comment


    • #3
      The modified version is called asdocx_fre.ado. As shown above, the syntax remains the same, but asdocx uses a different version. Users can keep the original version of fre.ado and choose to run it without asdocx or with asdocx. Ben Jann suggested adding an option to fre so that the asdocx mode is only activated when an asdocx user wishes to use it. I am awaiting further action in this regard. If you want to see the asdocx_fre.ado, you can get it by running the command
      Code:
      net install asdocx_fre, from(https://fintechprofessor.com)
      Regards
      --------------------------------------------------
      Attaullah Shah, PhD.
      Professor of Finance, Institute of Management Sciences Peshawar, Pakistan
      FinTechProfessor.com
      https://asdocx.com
      Check out my asdoc program, which sends outputs to MS Word.
      For more flexibility, consider using asdocx which can send Stata outputs to MS Word, Excel, LaTeX, or HTML.

      Comment

      Working...
      X