How to make summary statistics table in Stata

Поделиться
HTML-код
  • Опубликовано: 2 май 2022
  • Stata script for making summary statistics table. Other topics included: importing data from Excel, forval and foreach loops, word count, return list, creating matrices and outputting to Excel.
  • ХоббиХобби

Комментарии • 4

  • @rokeebatolamide1253
    @rokeebatolamide1253 Год назад

    Thank you so much for this video

  • @angelinaanders2665
    @angelinaanders2665 Год назад

    Hi, thank you for the helpful video. How would you add a column for the differences in variables between group 1 and 2? And show whether these differences are significant?

  • @amitaryal543
    @amitaryal543 8 месяцев назад

    Goood video but you have not explained how the rown macro is used to write row names.
    You used --> local rown = "`rown' + `var''" without defining what value rown holds the first time it is encoutered in the code.

    • @nb6779
      @nb6779 4 месяца назад

      For the first time it is empty and then subsequently will add each `var' as it iterates through meaning in the end it is a list of all the variables. It may have been easier to use the original local `myvar' instead of doing this.