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.
st_store() and stata() when using moptimize(): IV qregHi, I have a Mata function that creates a column vector (called yd below), passes it to Stata as a t…
Marginal effect in an Ordered probit model with discrete variablesDear Statalist Team, I have an ordered probit regression, where the outcome variable contains 4 pos…
Stata syntaxes on Early Childhood Development Index measures*(dofile/commandos)Hi everyone Can you help me a student out with some commandos? I need help coverting those SPSS sy…
Local Vs. GlobalHi everyone! I'm a grad student with a few years of experience with Stata. In all my courses that us…
_= invalid name r(198)Hi, I'm just getting back into Stata after a long illness, so I could use some help. I'm trying to r…
Subscribe to:
Post Comments (Atom)
0 Response to type mismatch error in htlist command of htopen package.
Post a Comment