PDF4PRO ⚡AMP

Modern search engine that looking for books and documents around the web

Example: marketing

Title stata.com generate — Create or change …

Back to document page

Create or change contents of variableSyntaxMenuDescriptionOptionsRema rks and examplesMethods and formulasReferencesAlso seeSyntaxCreate new variablegenerate[type]newvar[:lblname]=e xp[if][in]Replace contents of existing variablereplaceoldvar=exp[if][in][, nopromote]Specify default storage type assigned to new variablesset type{float|double}[, permanently]wheretypeis one ofbyte|int|long|float|double|str|str1|st r2|...| for an explanation ofstr. For the other types, see[U] 12 allowed withgenerateandreplace; see [D] > Create or change data> Create new variablereplaceData> Create or change data> change contents of variableDescriptiongeneratecreates a new variable . The values of the variable are specified by= notypeis specified, the new variable type is determined by the type of result returned by= (or adouble, according toset type) is created if the result is numeric, and astring variable is created if the result is a string.

Title stata.com generate — Create or change contents of variable SyntaxMenuDescriptionOptions Remarks and examplesMethods and formulasReferencesAlso see Syntax Create new variable generate type newvar

  Change, Content, Variable, Create, Stata, Generate, Generate create or change, Generate create or change contents of variable

Download Title stata.com generate — Create or change …


Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Spam in document Broken preview Other abuse

Related search queries