Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is the simplest way to recode values of a variable (e.g., split a continuous variable into categories)?

0
Posted

What is the simplest way to recode values of a variable (e.g., split a continuous variable into categories)?

0

Recoding functions of practically unlimited complexity can be custom-defined in STATISTICA BASIC and used repeatedly in your data transformation programs. However, a quick on-line recoding facility can also be accessed directly from the spreadsheet at any point (see Recode option, accessible from the spreadsheet Vars toolbar button). The scrollable Recode Values dialog which will be displayed allows you to define new values of the current variable depending on the specific conditions, which you define. When specifying the conditions, follow the standard syntax conventions which are common in STATISTICA to all those procedures which involve any operation of “selecting cases” based on their values. For example, the recoding conditions specified above would “translate” the negative values of the current variable (Measur1) into -1 and positive values into 1. Note that the 0’s (the only value which is not included in the two recoding conditions) would be left unchanged, as set using the rad

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.