Stata gives type mismatch error on if inlist(strvar, "abc" , "abc xyz") like condition in package - ssc install htopen - Especially on if string variable contain space between words.
sysuse auto, clear
htopen using abc.html, replace
htlist make price mpg if inlist(make,"Subaru","Toyota Corolla") , align(center) varname
htclose
. sysuse auto, clear
(1978 Automobile Data)
.
. htopen using abc.html, replace
. htlist make price mpg if inlist(make,"Subaru","Toyota Corolla") , align(center) varname
type mismatch
r(109);
Please suggest in this regard.
Rasool Bux
Related Posts with type mismatch error in htlist command of htopen package.
Stacked Bar Chart or other Chart that can show change of groups/conditions through time in panel dataDear Stata Users, I have a panel data file that follow children every two years for a total of 4 wa…
Check that string variable equals label of encoded variableHi, I am merging several files and I would like to verify that I have done it properly. If I made a…
import excel for few defined rows up to the end of spreadsheet for columnsHi, I am trying to import an excel spreadsheet for few defined rows up to the end of spreadsheet fo…
Test whether the difference between two differences is significantHi, I have a dataset with a continous dependent variable VAR and two binary independent variables. …
Additional variables in second stage of control function approachDear all, I am estimating a reduced form CRE tobit as the first stage model in a control function a…
Subscribe to:
Post Comments (Atom)
0 Response to type mismatch error in htlist command of htopen package.
Post a Comment