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.
Extracting model fit for a pre-specified logistic model.Hi all, I want to establish a (logistic regression) model with regards to disease relapse within th…
Collapse dataHi, Having monthly panel data, I want to convert from monthly to quarterly. Used these following op…
How can I handle "id: maxvar too small" in Bayesian binary item response theory model using bayesmhPlease house I need help on this, I have gone through manual, blog stata and past statalist post. Th…
Store regression results of a loop in a new datasetHello everybody, I am new in this forum and I hope that I will get some advice from you. I would l…
Equation not found after gsem + ImputationDear all, using Stata 15.1, I want to run a gsem model after Multiple Imputation. First I impute usi…
Subscribe to:
Post Comments (Atom)
0 Response to type mismatch error in htlist command of htopen package.
Post a Comment