在做一个虚拟变量对一堆自变量的回归,一直在报错"unknown weight type"。求高手帮看看,哪有问题,拜谢!
probit stockholding_dummy [age2 couple widow nomarrige college highs nchild hwork hretired d_riskpref4 d_riskpref3 d_riskpref2 hsrhealtha_fairpoor hgtincv hnumeracy hin_50k] [if implicat==1 country==11] [pweigh=weight]
错误提示是
age2 unknown weight type
r(198);
age2的type是double,format是%10.0g,是直接用generate产生的,没有修改
把pweight去掉还是报同样类型的错
把age2删掉就会提示
couple unknown weight type,couple widow nomarriage和divorce都是dummy,我把最后一个divorce扔掉了
求高手帮给看看,感激不尽!!!