可能定义了一个之前已经定义的scalar变量
发生这种情况的原因是因为Stata不允许在某些命令中使用optionse选项。解决方法:1. 尝试使用不同的命令,如果可以使用optionse选项,则可以解决问题。2. 尝试使用不同的参数,如果可以使用optionse选项,则可以解决问题。3. 尝试使用不同的数据集,如果可以使用optionse选项,则可以解决问题。4. 尝试使用不同...
scalar 函数是Stata的内部操作函数,它可以把计算结果做为标量保存(scalars)。它比直接使用存储在Stata变量中的数据灵活,也比Stata的标量变量更有用。 它让用户可以在两个或更多变量之间建立一个标量,然后在任意计算中使用它。它们也可以用于保存操作结果,以便在其他地方使用。由于 scalar 函数可以将我们的操作保存起来,...
Stata 日志文件操作指南说明书
Scalars r(p) r(F) r(df1) r(df2) r(chi2) r(df) p-value associated with the test statistic F statistic, if e(df r) was stored by estimation command numerator degrees of freedom for F statistic denominator degrees of freedom for F statistic χ2 statistic, if e(df r) was not store...
509. matrix operators that return matrices not allowed in this context Expressions returning nonmatrices, such as those in generate and replace, may use matrix functions returning scalars, such as trace(A), but may not include subexpressions evaluating to matrices, such as trace(A+B), which ...
Scalars -value associated with the test statistic statistic, if was stored by estimation command numerator degrees of freedom for statistic denominator degrees of freedom for statistic statistic, if was not stored by estimation command degrees of freedom for statistic stores the following in : Matrices...
Warning:drop and keep are not reversible.Once you have eliminated observations,you cannot read them back in again.You would need to go back to the original dataset and read it in again.Instead of applying drop or keep for a subset analysis,consider using if or in to select subsets ...
Scalars are lowercased and nonbolded; for instance, $r_2 + c_1 - c_2$. Sentence punctuation should not be used in formulas set off from the text. Formulas in line with the text should use the solidus (/) instead of a horizontal line for fractional terms. Nesting of grouping is squa...
If no expressions are given, exp list assumes a default of if command stores results in and of all the scalars if command stores results in and not in . Otherwise, not specifying an expression in exp list is an error. Options Main # defines the window size used each time command is...