Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The changes that were included in the code to handle the differences between Staat16 and Stata17 are:
The words
contents
in Stata 16 is now replaced bystatistic
in Satat 17If you want to have more than one aggfunc in Stata 16 you need one contents statement:
contents(mean sd inc_acticity)
If you want to have more than one aggfunc in Stata 17 you need more than one statistic statement:
statistic(mean sd inc_acticity) statistic(sd inc_acticity)
The word
by
used for superrows in Stata 16 does not exist in Satat 17.How the rowspec, colspec and tablespec are handles in Staat 17 differs from Stata 16. In Stata 16 the first parameter is the index and the following parameters are the columns and if you want superorws you use the word
by
. In Satat 17 it can be summarised as follows:We have a string (the variables ,index,columns and tables, as string), and we want to create a list of strings like this [rowstring, colstring, tablestring] according to the following scenarios: