commands

  1. N

    'mixlogit' and 'gmnl' commands not working with binary dataset

    Hello, My thesis is about Hybrid choice and multinomial logit. I´m using both commands 'mixlogit' and 'gmnl' in Stata for a dataset that: - Includes 12 choice tasks per person (a total of 81 respondents). - 3 different choices for each choice task - Just one answer must be selected (each...
  2. E

    What is the stata command for two way repeated measures ANOVA??!!

    Hi :wave: I was hoping if anyone can clear up this minor confusion with regards to stata (im a beginner) and it would be great if someone can clarify it for me. I know the stata command that runs a two-way ANOVA is: anova DependentVariable FirstIndependentVariable##SecondIndependentVariable...
  3. K

    Exporting results of the -table- command to Excel?

    Hi, is there any easy way to automate exporting a table command (with the content() option) to excel? I know about the various 'mouse' methods of "Copy Table", "Copy Table as HTML", with the "Table Copy Options", but I'm looking for the table equivalent as outreg2 is for regress. tabout...
  4. U

    [Select cases] - command that shows me only cases that have ">= X missing values"

    Dear community, That is my first post and I try my best to make it a smart one. I have used multiple sources for help already, however my problem is still unsolved, that is why I am writing the post. Currently I am working on a missing value analysis with the goal to use a multiple...
  5. E

    Closing all tables

    Hey everyone, being a sloppy and unqualified SAS-user I sometimes open tables I created (VIEWTABLE) and then forget closing them before running my program again, which causes an error of course. Is there a command I could put at the beginning of my programs that closes all tables that are open...
  6. C

    data manipulation stata

    data dropping stata 2 Hi all, I have the following panel of firms: A balanced panel of firms: FirmID Year Respondvariable 1 0 30 1 1 40 1 2 30 1 3 30 1 4 30 2 0 40 2 1 463 2 2 . 2 3 . 2 4 . 3 0 30 3 1 463 3 2 . 3 3 . 3 4 40 In year 0 all firms...
  7. C

    dropping firms in paneldataset

    Hi all, I have the following panel of firms: A balanced panel of firms: FirmID Year Respondvariable 1 0 30 1 1 40 1 2 30 1 3 30 1 4 30 2 0 40 2 1 263 2 2 . 2 3 . 2 4 . In year 0 all firms either have 40 or 30 on the respond variable. Now I want to...
  8. M

    SAS to MATLAB

    Hi, I have a large SAS code which I need to translate to MATLAB code. So I have two questions. Is there any easy way of porting SAS code to MATLAB? As the chances of the prior question is slim; What is the easiest way of getting an overview of the syntax and commands of SAS. Is there...