Announcement

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

  • How to copy output from Stata into a new topic

    Dear all,

    As I want to explain a previous question of mine more clear to Nick, I want to paste some output information in the text. I read the FAQ, and tried to use the icon 'table' after clicking on the A with the onderscore. Then I can create a new table, so I did, and I copied my five variables and their output in it. But once I save my post, this table is not stored properly and all data is getting messy. Can you guide me to an easy way how to display a few lines from my Stata output file into a post here in the Statalist forum?

    Thanks a lot!

  • #2
    First off, this is generic software for bulletins and some of the possible tools are not much use for our purposes.

    I would not use the Table tools at all.

    My advice is encapsulated under FAQ Advice Section 12 and boils down to copying and pasting from Stata to between CODE markers (I can't put what I would type because it would get decoded). That's what I use in the majority of my posts.

    Comment


    • #3
      how do ı post a code in here and how to post tables in here ıf ı want to show someone my results

      Comment


      • #4
        I am not sure whether I understand your problem. If am correct in guessing that you think you should use different methods to show Stata commands and to show results of a Stata command: In both instances you should use code tags around the things (commands or results) you want to show.

        If you wrap any text between code tags such as "example code" here

        [ CODE]example code[ /CODE] (without the empty space after "[" -- you can achieve this either by selecting the example code and click on the "#"-symbol after toggling to the Advanced Editor, or by first clicking on the "#"-symbol and then pasting the example code (or results) between the the start tag and the end tag) it will be shown as
        Code:
        example code
        in your post.

        For example, to show command to use the example dataset "auto" to produce a frequency table of the variable "foreign" on the one hand, and to show the result (the frequency table of the variable "foreign") on the other hand, you can use
        Code:
        sysuse auto
        tab1 foreign
        with the resulting frequency table
        Code:
        -> tabulation of foreign  
        
         Car origin |      Freq.     Percent        Cum.
        ------------+-----------------------------------
           Domestic |         52       70.27       70.27
            Foreign |         22       29.73      100.00
        ------------+-----------------------------------
              Total |         74      100.00
        Does this answer your question?

        Comment


        • #5
          yes that's waht ı was asking @ Dirk Enzmann Thank you

          Comment

          Working...
          X