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.
Foreach and string variablesI have a panel data set with country, years, and the following three (relevant) variables: C (float…
Problem with hausman testIm using stata 12 and I have a result like this Code: . hausman fe re ---- Coef…
xtabond2 Hansen testHello I'm using system GMM to estimate TFP growth (gtfp_100) at regional level . I've a problem with…
Static (not dynamic) panel data using xtabond2.Dear All, This is a question more about econometric concept rather than Stata code. While (ssc insta…
Help in dealing with messy longitudinal line graphGreetings, I'm running Stata 15.1 on OSX. Using data from the general social survey, I'm attempting…
Subscribe to:
Post Comments (Atom)
0 Response to type mismatch error in htlist command of htopen package.
Post a Comment