+ Reply to Thread
Results 1 to 6 of 6

Thread: Generate multiple reports from stata

  1. #1
    Points: 1,856, Level: 25
    Level completed: 56%, Points required for next Level: 44

    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Generate multiple reports from stata



    Hello,

    I have done a rather big survey with 12 000 respondents. I need to create around 50 reports on sub divisions of the data. I would like to find a way to generate these report automatically in Stata. There will be quite simple statistics with some descriptive statistics and a few graphs. The sub divisions are numbered in a variable and the ideal would be to split on this in some way. Is there an easy way to do this in Stata?

    //Erik

  2. #2
    Points: 1,763, Level: 24
    Level completed: 63%, Points required for next Level: 37

    Posts
    21
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Re: Generate multiple reports from stata

    Well if you mean to do a few simple statistic reports of a few variables within different groups i.e gender;age groups;education groups;etc.
    then yes it should be quite simple to use forv loops.
    You can either loop over a value of a variable or as I often do create consecutive variables i.e var1 var2 etc., each representing a different interest group and loop over the number in the variable name.

    To export these results matrices are simple and are easily transfered to excel.

    If this is what you mean I can write a few simple examples of this.

  3. #3
    Points: 1,856, Level: 25
    Level completed: 56%, Points required for next Level: 44

    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Generate multiple reports from stata

    If I would like to do more advanced reports, where would I start looking? I need to find a way to make the reports graphically ok looking. Measures are some descriptive statistics and correlation.

    //Erik

    Quote Originally Posted by divishoot View Post
    Well if you mean to do a few simple statistic reports of a few variables within different groups i.e gender;age groups;education groups;etc.
    then yes it should be quite simple to use forv loops.
    You can either loop over a value of a variable or as I often do create consecutive variables i.e var1 var2 etc., each representing a different interest group and loop over the number in the variable name.

    To export these results matrices are simple and are easily transfered to excel.

    If this is what you mean I can write a few simple examples of this.

  4. #4
    Points: 1,838, Level: 25
    Level completed: 38%, Points required for next Level: 62

    Location
    UK
    Posts
    163
    Thanks
    0
    Thanked 9 Times in 9 Posts

    Re: Generate multiple reports from stata

    Quote Originally Posted by granen View Post
    If I would like to do more advanced reports, where would I start looking? I need to find a way to make the reports graphically ok looking. Measures are some descriptive statistics and correlation.

    //Erik
    Descriptive statistics and correlation is a pretty wide area. Maybe a few specific things of what you are after would help us be able to give some suggestion code.

  5. #5
    Points: 1,856, Level: 25
    Level completed: 56%, Points required for next Level: 44

    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Generate multiple reports from stata

    Quote Originally Posted by duskstar View Post
    Descriptive statistics and correlation is a pretty wide area. Maybe a few specific things of what you are after would help us be able to give some suggestion code.
    Ok, I will be more specific. Say that you want to do some simple statistics with a mean and number of respondents N on a few questions. The split file could for example be a division variable.

  6. #6
    Points: 1,763, Level: 24
    Level completed: 63%, Points required for next Level: 37

    Posts
    21
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Re: Generate multiple reports from stata


    Quote Originally Posted by granen View Post
    Ok, I will be more specific. Say that you want to do some simple statistics with a mean and number of respondents N on a few questions. The split file could for example be a division variable.
    Im not sure I understan exactly what you need, what do you mean by split file?

+ Reply to Thread

Similar Threads

  1. Moment Generate function
    By thenumber5 in forum Probability
    Replies: 5
    Last Post: 12-06-2010, 03:27 PM
  2. Analyzing statistics reports
    By jenclark242 in forum Statistical Research
    Replies: 0
    Last Post: 10-01-2010, 03:01 PM
  3. Replies: 1
    Last Post: 09-24-2010, 07:06 PM
  4. Replies: 0
    Last Post: 05-12-2009, 10:44 AM
  5. Replies: 2
    Last Post: 07-31-2007, 07:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts








Advertise on Talk Stats