Support for pooling proportions in the meta suite (e.g. incorporation of Marc Arbyn's metaprop), please
-
Login or Register
- Log in with
[20] fstar at http://www.ats.ucla.edu/stat/stata/ado/analysis:
server not responding or package is no longer available
. net install fstar, from(https://stats.oarc.ucla.edu/stat/stata/ado/analysis) checking fstar consistency and verifying not already installed... installing into /Users/lisowskiw/Library/Application Support/Stata/ado/plus/... installation complete. .
loc t="This is a long string" mata st_local("sc",invtokens(tokens("`t'"),",")) di "`sc'"
. local t `"This is a "multi word token" within a string"' . macro list _t _t: This is a "multi word token" within a string
This,is,a,"multi word token",within,a,string
local mylist `"" a " " b " "a b" " " `"""""' ",,," "' mata: st_local("name1", ustrregexra(ustrregexrf(invtokens(char(96)+char(34) :+ (tokens(st_local("mylist"))) :+ char(34)+char(39) + ","),",$",""),"', `", "',`")) mac li _name1 tokenize `"`name1'"' , parse(",") forvalues i = 1(2)11 { di "element " %02.0f `i' `" betwen bars |``i''|"' }
mac li _name1 _name1: `" a "',`" b "',`"a b"',`" "',`"""""',`",,,"' . . tokenize `"`name1'"' , parse(",") . . forvalues i = 1(2)11 { 2. . di "element " %02.0f `i' `" betwen bars |``i''|"' 3. } element 01 betwen bars | a | element 03 betwen bars | b | element 05 betwen bars |a b| element 07 betwen bars | | element 09 betwen bars |"""| element 11 betwen bars |,,,|
# of lines in a program 3,500 3,500 # of bytes in a program 135,600 135,600
Comment