Announcement

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

  • Placing variables

    I want D.pop~umales to be the second in number in the same horizontal table how can i do it mates I have posted how i wrote the codes and how the output
    Click image for larger version

Name:	DF542D30-925D-4934-A9A1-EBD9DD7A8761.jpeg
Views:	1
Size:	1.37 MB
ID:	1661498

  • #2
    estout is from SSC (FAQ Advice #12). Please present output within CODE delimiters and not as screenshots, see Advice12.3 and 12.4. You want the -order()- option


    Code:
    esttab, order(D.p*females D.p*males)

    Comment


    • #3
      Thanks for posting the code in a way I can copy and paste it.*

      Anyways, are you sure your variable is always second in each regression? I don't know if this is the solution, I'm just speculating.





      *Please give your example data using the dataex command. For us to provide meaningful feedback, you must provide your example data using the dataex command, the real data from an easily importable source (i.e., Github), or the equivalent of a toy example using a prepackaged Stata dataset.
      Otherwise, anything we say is simply a waste of time. Note, that I'm not trying to be mean in saying this, I'm saying this because if we can't clearly see your dataset and code as you do with a minimal worked example, anything we suggest is just guesswork.

      So please, provide us with your example data that encapsulates the problem and the code (in the code delimiters, not just pasted into the text box), and we can try and solve this. EDIT: Nevermind, Andrew Musau solved this.

      Comment


      • #4
        Okay Thank you I am new here so I dont know the rules but anyways thank you for that information let me do that

        Comment


        • #5
          Andrew Musau Thank you, I think I've to do What Jared said because my problem isnot solved yet

          Comment


          • #6
            Estimate one regression model, and then show us what the output is (in code delimiters).

            Then try Andrew's solution, and show us the exact output stata gives (again in code delimiters). In fact let's simplify this. What does
            Code:
            sysuse auto, clear
            
            eststo: reg price weight mpg
            
            esttab, order(mpg weight)
            give you? Note that I'm on my cellphone so I can't test this.

            Comment


            • #7
              You can learn more about how to maximize the benefit you get from your fellow members on Statalist by taking a few moments to review the Statalist FAQ linked to from the top of the page, as well as from the Advice on Posting link on the page you used to create your post. Note especially sections 9-12 on how to best pose your question. It is particularly helpful to copy commands and output from your Stata Results window and paste them into your Statalist post using code delimiters [CODE] and [/CODE], and to use the dataex command to provide sample data, as described in section 12 of the FAQ.

              The more you help others understand your problem, the more likely others are to be able to help you solve your problem.

              Comment

              Working...
              X