Announcement

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

  • Outreg2 and tex option

    I would wish outreg2 command to give me the output on Lyx, a subsidiary of latex that am using. However it gives me the output on tex which am unable to transfer to my document in lyx.

    Please help.

  • #2
    It is unlike you all to go silent on me. Something is seriously wrong with my asking I guess. Here is the paraphrase:

    The outreg2 command helps us get the regression output in nice tables like those in published works. It does so in latex, word and excel files. Latex is a command interface that is very nice in preparing documents with powerful editorial features. Lyx is one of the Latex-like packages. Now an example of the outreg2 command is as

    outreg2 using regoutput, replace tex excel ct(logit)

    Wondering if there is anyone who has used this before and with Lyx and how they pasted the tables in Lyx.



    Comment


    • #3
      George, the silence means here that no one has the expertise or say on what you have asked for. Though not related to outreg2, but it might give you an alternative way to think about your problem, see this post http://www.statalist.org/forums/foru...ailable-on-ssc
      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


      • #4
        Thank you Prof. Shah. Even though it dint solve my problem, it opened my eyes to pretty more interesting stuff. I however on other platforms got help on this problem. Most glad.

        Comment


        • #5
          Can you share your solution for future reference or for someone who might be interested.
          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


          • #6
            Sure yes! So Lyx as I said in an easy interface of LaTex which resembles an MS word interface. Documents prepared fro Lyx can be viewed just exactly as they are on published papers. So yes, lyx saves you editorial hustles after writing your manuscript. To make matters easier, the
            Code:
            outreg2
            command allows you to have regression table outputs just as they are on published papers. Just a simple outreg2 command after a regress command is executed,

            Code:
            outreg2 using example, replace tex ct(PROBIT)
            Assuming we know how to use this command in Stata and ensuring we specify output to be in tex, we can put this table outputs directly to the lyx document by:
            1) inserting a float table where we want the table to appear. Using the forward arrow on the keyboard, move out of the table editing box
            2) Then from the file option, we choose import -> latex plain and then import the tex file holding our table
            3) The table is pasted on your document.

            There is another way using the esttab procedure after running regressions which I currently not good with working with. For those interested, there is a good explanation from this thread:

            http://tex.stackexchange.com/questio...fferent-widths

            Comment

            Working...
            X