在Stata中,“type mismatch”指的是数据类型不匹配的错误。这通常发生在尝试将不兼容的数据类型(如字符串和数值)用于同一操作或命令时。Stata需要确保参与计算或操作的变量具有兼容的数据类型,以避免执行无意义或错误的操作。 列举可能导致“type mismatch”错误的常见情况 赋值不匹配:尝试将字符型数据赋值给数值型变量...
第一种情况,你代码有问题,以下是我自己熵值法的代码块,自取 foreachx of global xlist{egenmin_`x...
type mismatch 顾名思义,数据形式不匹配,转换一下数据形式,即字符型和数值型转换一下试试,用tostring 或者destring
类型不对呀,一个是数值,一个是字符(串)。
stata 运行【e..各位大神,我在运行db eventstudy时,出现这种状况:. db eventstudy. eventstudy using "C:\Users\nami\Desktop\stata学习
equivalent to the one in ADH with the same instrument, but with German data. I've transformed all the missing values of my datasets in zeros, and got rid of all the collinear vectors of the emp_share matrix manually. But when I run the following, I get the error "Type mismatch" : ...
To<statalist@hsphsun2.harvard.edu> Subjectst: Type mismatch in while and somes issues with statalist DateThu, 7 May 2009 16:10:19 -0500 References: st: est package From:moleps islon <moleps2@gmail.com> Re: st: est package From:Ben Jann <ben.jann@gmail.com>...
第一种情况,你代码有问题,以下是我自己熵值法的代码块,自取 foreachx of global xlist{egenmin_`x...
foreach i of var $p{ ... }