Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Multiplying an observation by the label

    Hello I have a variable that looks like this

    I want a new variable that multiplies the labels with the frequency, so for example the first row would be 1*70,105=70,105, and 2 would be 2*36,377=72754 and so on. I want my new variable to look like:

    apple|Freq
    1 |70,105
    2 |72,754
    3 |26,520
    4 |3845

    How can I do this?
    Attached Files
    Last edited by Melat Kassa; 27 May 2022, 11:11.
Working...
X