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.
Multilevel modelling within Time Series Analysis of Cross-Sectional dataHi, I'm trying to model person within household within a Time Series of Cross-sectional Panel data.…
Interpreting the intercept in the random-effects modelConsider the model yit = a + bXit + ci + eit Using a fixed effect model, the constant term a canno…
Testing coefficient equality across different regressions (bootstrap)Dear All, Suppose that I estimate the following two regressions (please ssc install ivreghdfe. In ad…
Can I take log and lag on my independent variables in a regression?Hello, Please can someone answer me if it is possible to take log and lag (both at the same time) on…
Plotting a histogramHi I am working with village wise consumption data and I need to generate histograms for the consum…
Subscribe to:
Post Comments (Atom)
0 Response to type mismatch error in htlist command of htopen package.
Post a Comment